Strict API Verification

Strict API Verification is a reality-check layer that prevents the agent from calling methods, imports, or variables that do not provably exist in the user's installed version. It forces verification of every API surface before writing code, flagging uncertainties and avoiding hallucinated or deprecated APIs.

✨ What it does

  • Blocks made-up methods (e.g., fs.readFileLines, path.combine).
  • Prevents framework confusion (e.g., Flask vs Django, Express vs raw Node).
  • Flags deprecated APIs and suggests current alternatives.
  • Requires verification of each API surface against the user's stated version.
  • Encourages inline comments for uncertain APIs.
  • Prompts the user for version when not specified.

🎯 When to use it

  • When the user says 'no hallucinations', 'verify APIs', 'reality check', or 'don't invent functions'.
  • When writing code that relies on specific library or framework APIs and you need to ensure correctness.
  • When you are unsure whether a method or import exists in the user's environment.
  • When you want to avoid debugging time caused by invented or incorrect API calls.

🚀 How to use

Trigger the skill by saying 'no hallucinations', 'verify APIs', 'reality check', or 'don't invent functions'. The skill applies automatically before writing code. It expects the user to provide the version of the language/framework if not already known. Example prompts:

Verify APIs before writing code: I'm using Node.js 18.
No hallucinations: check that every function I use exists in Python 3.10.

📄 Output: The skill produces verified code with inline comments for uncertain APIs, or a request for version information when needed.

📦 Add this skill to Claude Code

# 1. Get the skills repo
git clone --depth 1 https://github.com/alirezarezvani/claude-skills /tmp/claude-skills

# 2. Copy this skill into your project (or ~/.claude/skills for all projects)
mkdir -p .claude/skills
cp -r /tmp/claude-skills/engineering/strict-api .claude/skills/strict-api

Skill source: engineering/strict-api/SKILL.md

❓ FAQ

What happens if I don't know the user's version?

The skill will ask the user for their version once before writing code.

Can I use a method I think exists but am not sure?

No, you must verify it exists; if uncertain, add an inline comment or ask the user.

Does this skill work with any programming language?

Yes, it applies to any language or framework, focusing on verifying API existence.

🤖 Overview, features, install steps and FAQ were generated from the project's SKILL.md on Sep 4, 2026. Always check the original source before running commands.