Strict API

Use when the user says 'no hallucinations', 'verify APIs', 'reality check', or 'don't invent functions'.

Development / Engineeringdevelopmentengineering
by AgentVoltv1.0.0Published 1y ago1 install
Free to sign up · every skill included with AgentVolt Pro

Before & after

Same prompt, same agent — the only difference is the skill.

PromptCheck my code for API calls that don't actually exist in our libraries
Beforegeneric AI agent
I can review your code for potential issues with API calls. You should test your code to make sure all the functions you're using are actually available. I'd recommend using TypeScript for type checking, or running your code to see if you get runtime errors. You might also want to check the documentation for the libraries you're using. Would you like to share some code so I can take a look?
Afterwith Strict API
STRICT API AUDIT

INVENTED / MISSING CALLS (Errors will occur)
• Line 47: data.formatDate('MM-DD-YYYY') → formatDate does not exist on Date prototype; use dateFormatter.format() instead
• Line 89: axios.getJSON() → getJSON is not exported from axios 1.3.4; use axios.get() then .data
• Line 156: localStorage.setExpiry(key, 7200) → setExpiry not in Web Storage API; manually track expiration

AVAILABLE ALTERNATIVES (Verified in node_modules)
✓ moment.js still loaded (24.5KB) - use it for formatting
✓ lodash.debounce exported correctly
✓ React.useCallback available in 18.2

RISK: TypeError at runtime on prod; recommend adding lint rule 'no-undef' with strict mode

About this skill


name: strict-api description: Use when Use when the user says 'no hallucinations', 'verify APIs', 'reality check', or 'don't invent functions'.

Strict Api

Use when the user says 'no hallucinations', 'verify APIs', 'reality check', or 'don't invent functions'. Prevents the agent from calling methods, imports, or variables that do not provably exist in the user's installed version.

What you get

  • Public GitHub repo (alirezarezvani/claude-skills)
  • the strict-api skill folder with SKILL.md. Part of a 337-skill / 30-agent / 70-command install.

Customize your output

  • Fork the repo and adapt the skill's instructions and references to your workflow.

Example output

Activates automatically when your request matches Strict Api; chains with the other skills, agents, and commands in the collection.

Best for

Creators, builders, and teams using Claude Code.

SKILL.md preview

SKILL.md
---
name: strict-api
description: Use this skill when the user asks for no hallucinations, wants APIs verified, or explicitly says not to invent functions, imports, or variables.
version: 1.0.0
category: Development / Engineering
author: AgentVolt
license: proprietary
tags:
  - development
  - engineering
---

# Strict Api

Prevents an agent from calling methods, imports, or variables that don't provably exist in the user's actual installed version, instead of relying on training-data assumptions about an API's shape.

## When to use
- The user says "no hallucinations," "verify APIs," "reality check," or "don't invent functions"

… (sign up to view the full skill)
Sign up to view, copy, and install the full skill

More development skills

View all Development skills →