Ln 643 Api Contract Auditor
Provides API guidance and assistance for agent workflows.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add ln-643-api-contract-auditor npx -- -y @trustedskills/ln-643-api-contract-auditor
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"ln-643-api-contract-auditor": {
"command": "npx",
"args": [
"-y",
"@trustedskills/ln-643-api-contract-auditor"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill enables AI agents to automatically audit API contracts for consistency, completeness, and adherence to defined standards. It helps identify discrepancies between documentation and actual implementation details within codebases.
When to use it
- Before integrating third-party services to verify contract compatibility with your system requirements.
- During refactoring projects to ensure API definitions remain aligned with updated business logic.
- When onboarding new developers to validate that internal API documentation matches the live endpoints.
- To detect breaking changes in versioned APIs before they impact dependent applications.
Key capabilities
- Analyzes API specifications for structural integrity and logical consistency.
- Compares documented contracts against actual code implementations to find mismatches.
- Highlights missing fields, incorrect data types, or deprecated methods in contract definitions.
- Generates detailed reports on compliance gaps and potential integration risks.
Example prompts
- "Audit the OpenAPI specification for our payment service and list any inconsistencies with the backend implementation."
- "Check if the user authentication API contract includes all required security headers as per our internal standards."
- "Identify deprecated endpoints in the current version of the inventory management API that are still referenced in documentation."
Tips & gotchas
Ensure your API contracts follow a standardized format (e.g., OpenAPI/Swagger) for optimal analysis accuracy. This tool works best when paired with up-to-date codebases; stale implementations may yield false positives regarding contract violations.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.