Syntic

Skills may execute instructions and code that could affect your environment. Marketplace scans reduce risk but do not guarantee safety. Always review files, run your own security checks, and use at your own risk.

EngineeringFree Safe

strict-api

Security Scan Summary

Status: Safe

Source: Syntic Skills registry

Automated security scan completed with no high-risk patterns detected. Manual review is still required.

About This Skill

Use when the user says 'no hallucinations', 'verify APIs', 'reality check', or 'don't invent functions'; prevents calling non-existent methods, imports, or variables.

Downloadable SKILL.md

Download SKILL.md and place it in your Syntic skills folder. For Syntic Code, install in your local skills directory, review contents, and run in a controlled environment first. Acknowledge the risk notice above to enable the download.

SKILL.md
---
name: strict-api
description: Use when the user says 'no hallucinations', 'verify APIs', 'reality check', or 'don't invent functions'; prevents calling non-existent methods, imports, or variables.
category: Engineering
version: 1.0.0
tools: []
---

# Strict API Verification

Reality-check layer applied before any code is written: use only what provably exists in the user's installed version.

## The Only Rule

Before you call a function, import, or access a method, you must answer: **Does this exist in the version the user is running?**

If the answer is "probably" or "I think so" β€” **stop**. You don't know. Say so.

## What This Blocks

**Made-up methods:**
- `fs.readFileLines()` does not exist in Node.js
- `path.combine()` is .NET, not Node.js
- `csv.read_csv()` is pandas, not Python's `csv` module

**Framework confusion:**
- `render_template` (Flask) vs `render()` (Django)
- `useForm()` (react-hook-form) vs nothing built into React
- `app.listen()` (Express) vs `server.listen()` (Node.js `http`)

**Deprecated APIs** break on upgrade.

## Workflow

1. Identify every API surface in the code you're about to write: imports, method calls, class instantiations
2. Verify each one against the user's stated version; ask for version if not stated
3. Flag anything uncertain with an inline comment rather than silently guess
4. Prefer verbose-but-correct over terse-but-wrong

When uncertain, annotate:
```
// verify fs.openAsBlob exists in your Node.js version (>= 20.0)
```

One comment costs nothing. A silent wrong call costs an hour of the user's time.

If uncertainty is too high, ask for the version explicitly.

## Anti-Patterns

| Anti-Pattern | What to do instead |
|---|---|
| Write a method call you vaguely remember | Stop and verify the exact signature |
| Silently use a deprecated API | Use the current API and note the deprecation |
| Assume API parity across frameworks | Explicitly name the framework and version |
| Guess import paths | Check the package's actual export structure |
| Use an API from a different language's stdlib | Verify it exists in this language |
| Write "it should work" without checking | Ask what version the user is on |

Bundle Download

Includes SKILL.md and bundled support files where provided. Risk acknowledgement is required.

Install Targets

Syntic App

  1. 1. Create a dedicated folder for this skill in your local skills library.
  2. 2. Place SKILL.md into that folder.
  3. 3. Restart Syntic and invoke this skill on matching tasks.

Syntic Code (CLI)

  1. 1. Save SKILL.md in your local Syntic Code skills directory.
  2. 2. Keep related files in the same skill folder.
  3. 3. Run in a safe environment and validate outputs.

Source

https://github.com/alirezarezvani/claude-skills/blob/main/engineering/strict-api/SKILL.md

Open Source Link
Engineering

Related Skills