API Contract Auditor
Audits API contracts and service boundaries to prevent layer leakage, entity exposure, and inconsistent error patterns.
The ln-643-api-contract-auditor is a specialized L3 worker designed to enforce architectural integrity at the service boundary. It automatically scans your codebase for common anti-patterns like ORM entities leaking into API responses, HTTP-specific types cluttering domain logic, and inconsistent error handling contracts. By providing a structured analysis with scores for compliance, completeness, quality, and implementation, it helps developers maintain a clean separation of concerns and production-ready API designs using specialized MCP tools for deep code symbol analysis.
Características Principales
01Detects layer leakage where HTTP-specific types enter service or domain logic
02Audits method signatures for missing DTOs and redundant overloads
03Generates comprehensive markdown reports with detailed scoring and severity-graded findings
04Identifies entity leakage to prevent exposing database models directly through API responses
05Enforces architectural honesty by finding hidden side-effects in read-named functions
06489 GitHub stars
Casos de Uso
01Performing automated architectural reviews during the pre-release phase to ensure boundary integrity
02Standardizing error handling contracts and response shapes across microservices
03Refactoring legacy services into clean, layered architectures with strictly defined DTOs