API Contract Audit — Security skill for Claude Code
Inventory every API endpoint that surfaces a field to clients BEFORE dropping, renaming, or semantically changing it.
How to install API Contract Audit
Installs to ~/.claude/skills/rustidi-ml-portfolio-api-contract-audit/SKILL.md
mkdir -p ~/.claude/skills/rustidi-ml-portfolio-api-contract-audit && curl -fsSL https://raw.githubusercontent.com/rustidi/ml-portfolio/HEAD/skills/api-contract-audit.md -o ~/.claude/skills/rustidi-ml-portfolio-api-contract-audit/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What API Contract Audit does
name: api-contract-audit description: Inventory every API endpoint that surfaces a field to clients BEFORE dropping, renaming, or semantically changing it. Runs in the planning phase whenever a schema change touches a field the frontend reads, or drops/renames any field. Without it, a field quietly stays in the shape of only some endpoints and the client breaks on one page you forgot to check. triggers: ["drop column", "rename field", "schema change", "migration", "contract audit"] applies_t
Alternatives in Security
- Pal — Multi-model AI integration — chat, debugging, code review, planning, security audit 11.3k ★
- Migration Agent — Plans a token migration (format, tool, naming or tier): chains token-audit and naming-audit, builds the transf 194 ★
- CodexQB — CodexQB is a Codex plugin for evidence-backed repo comprehension, planning, QA audit, and gated implementation 186 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Aegis AI Agent Security
Enterprise AI-coding-agent security: a lightweight endpoint agent governs Cursor, Claude Code, Codex, Windsurf
Client Signer
Claude Code skill: sign agency clients without sales calls (Find → Message → Follow-up). SQLite tracker, Googl
Privacy
Audit what data the extension touches and write a privacy policy
J Config Audit
Security audit of Claude, Codex, Gemini, and shared agent configuration for secrets, over-broad permissions, a
Conductor Doctor
Audit the local Conductor harness without changing it.
Audit Software
Audit software inventory across devices using ZDX data for compliance and vulnerability assessment.
Related Agents
Vcf Validator
Use whenever a change touches VCF emission — adding, removing, renaming, or changing the semantics of a FORMAT
Surface Sweeper
Traces a field, column or metric from its origin to ALL the screens, reports and exports that consume it, and
Goal Contract Auditor
Audits the trust contract against the code. Invoke after changing anything the engine prints, adding a record