api-contract-auditor
Skill0 starsChanged 18 days agoMITView on GitHub
Compare API producers, consumers, schemas, types, status codes, and error shapes to detect contract drift. Use for client/server changes or API versioning.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- mrenigmatic19/claude_skillstheir own version, first seen Oct 8, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- mrenigmatic19/claude_skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository42 other files it gives its agents.
- AGENTS.mdAGENTS.md
- completion-claims-auditorSkill
- existing-work-preservationSkill
- mcp-reliability-auditorSkill
- multi-agent-integration-reviewerSkill
- project-context-recoverySkill
- requirement-traceability-auditorSkill
- scope-drift-guardSkill
- architecture-complexity-auditorSkill
- dependency-cycle-auditorSkill
- database-schema-reviewerSkill
- data-consistency-auditorSkill
- migration-safety-reviewerSkill
- loop-breakerSkill
- reproduction-builderSkill
- root-cause-debuggerSkill
- dependency-grounding-auditorSkill
- ci-failure-investigatorSkill
- cross-platform-readiness-auditorSkill
- environment-config-auditorSkill
- environment-parity-auditorSkill
- production-readiness-auditorSkill
- documentation-accuracy-auditorSkill
- token-efficient-workflowSkill
- accessibility-auditorSkill
- dead-feature-detectorSkill
- responsive-design-auditorSkill
- ux-state-completeness-auditorSkill
- release-verification-agentSkill
- agent-tool-trust-auditorSkill
- authentication-security-auditorSkill
- authorization-boundary-auditorSkill
- dependency-vulnerability-auditorSkill
- injection-risk-auditorSkill
- input-validation-auditorSkill
- secret-leakage-detectorSkill
- security-misconfiguration-auditorSkill
- integration-reality-checkerSkill
- missing-test-detectorSkill
- regression-detectorSkill
- test-quality-auditorSkill
- ui-flow-verifierSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 9 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Keep independently changed API layers compatible.
- Distinctive: line 20
Read applicable repository instructions before edits.
- Distinctive: line 35
Check serialization details such as casing, nullability, dates, enums, pagination, and unknown fields.
- Distinctive: line 36
Check backward compatibility for existing clients unless the change is explicitly breaking/versioned.
- Distinctive: line 37
Add/repair contract tests at the serialization boundary.
- Distinctive: line 38
Run server and client type/build tests plus the narrow contract suite.
- Distinctive: line 39
Update docs/generated clients only from the confirmed contract source.
- Distinctive: line 47
Do not silently make all fields optional to suppress compatibility failures.
- Distinctive: line 64
If the authoritative schema is unclear, identify the source-of-truth conflict before editing multiple layers.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Purpose
Keep independently changed API layers compatible.
When to activate
An API endpoint/schema/client/type changes or integration errors suggest drift.
When not to activate
Internal function refactor with no serialized/public boundary.
Preconditions
- Read applicable repository instructions before edits.
- Preserve unrelated working-tree changes and establish a baseline when the workflow can modify code.
- Identify which tools and environments are actually available; do not claim unavailable checks ran.
Required inputs
- Server routes/schema
- Client calls/types
- OpenAPI/GraphQL/protobuf or docs
- Relevant tests
Workflow
- Identify changed request/response fields, types, requiredness, status codes, headers, and error envelopes.
- Compare authoritative schema to server implementation and every in-repo consumer.
- Check serialization details such as casing, nullability, dates, enums, pagination, and unknown fields.
- Check backward compatibility for existing clients unless the change is explicitly breaking/versioned.
- Add/repair contract tests at the serialization boundary.
- Run server and client type/build tests plus the narrow contract suite.
- Update docs/generated clients only from the confirmed contract source.
Relevant tools
Schema tooling, type checker, API tests, generated-client tooling.
Safety restrictions
Do not silently make all fields optional to suppress compatibility failures.
Validation
- Producer and in-repo consumers agree on the serialized contract.
- Intentional breaking changes are explicit/versioned.
- Contract tests exercise both success and representative error behavior.
Expected output
- Contract diff
- Producer/consumer mismatches
- Compatibility decision
- Test evidence
Failure handling
If the authoritative schema is unclear, identify the source-of-truth conflict before editing multiple layers.
Completion criteria
The skill is complete only when every applicable validation item above has observed evidence or is explicitly marked not executed with the concrete blocker. Do not replace missing evidence with confidence language.
Research mapping
This skill was selected from research problems: P025, P003. See research/vibe-coding-problems.md and research/problem-evidence.csv in the Vibe Coding Skills repository.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

