Tooluck logoTooluck
SKILL.md

strict-api

Agent skill fromalirezarezvani/claude-skills

Use when the user says 'no hallucinations', 'verify APIs' or 'don't invent functions', or code depends on a library version you have not checked. Requires proof that every method, import and variable exists in the installed version before using it.

How to install strict-api

install strict-api
# install the claude-skills pack with the skills CLI
npx skills add alirezarezvani/claude-skills

# or add only this skill to Claude Code: copy the folder

engineering/strict-api/

# into

~/.claude/skills/strict-api/ (all projects)

.claude/skills/strict-api/ (one project)

engineering/strict-api/SKILL.md

MITFull file
1# Strict API Verification
2
3Inventing a function that doesn't exist is the opposite of efficiency. You wrote a line that looks minimal. You shipped a bug that takes an hour to debug. The true minimal path is: use only what is provably there.
4
5## Overview
6
7This skill is a reality-check layer applied before any code is written. It is not about being slow — it is about being correct the first time. Use it alongside `minimalist` when the user wants both less code and verified code.
8
9## The Only Rule
10
11Before you write any function call, import, or method access, you must be able to answer:
12
13**"Does this exist in the version the user is running?"**
14
15If the answer is "probably" or "I think so" — **stop**. You don't know. Say so.
16
17## What This Blocks
18
19**Made-up methods:**
20- `fs.readFileLines()` does not exist in Node.js.
21- `path.combine()` is .NET, not Node.js.
22- `csv.read_csv()` is pandas, not Python's `csv` module.
23
24Writing these is not minimal code — it is confident garbage.
25
26**Framework confusion.** Every framework has a twin that sounds like it:
27- `render_template` (Flask) vs `render()` (Django)
28- `useForm()` (react-hook-form) vs nothing built into React
29- `app.listen()` (Express) vs `server.listen()` (raw Node.js `http`)
30
31**Deprecated APIs.** Writing a deprecated method is writing code that will break on the next upgrade.
32
33## Workflow
34
351. **Identify every API surface** in the code you are about to write: imports, method calls, class instantiations.
36…

Excerpt shown under the repository's MIT license.

More skills in claude-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

pbakaus /

impeccable
108k

The design vocabulary for your coding agent. Steer with polish and bolder, review with critique and audit, catch AI slop before it ships.

2 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates