ln-643-api-contract-auditor

Audit API contracts and method signatures within service boundaries using detection patterns and a 4-score model.

Updated Mar 9, 2026
One-click install
npx skills add https://github.com/cbbkrd-tech/jl-finishes --skill ln-643-api-contract-auditor-cbbkrd-tech
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ln-643-api-contract-auditor
Source: https://github.com/cbbkrd-tech/jl-finishes/tree/main/.claude/skills/ln-643-api-contract-auditor
Command: npx skills add https://github.com/cbbkrd-tech/jl-finishes --skill ln-643-api-contract-auditor-cbbkrd-tech

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the auditing of API contracts to identify architectural flaws like layer leakage, missing DTOs, and inconsistent error handling, ensuring higher code quality and maintainability.

Core Features & Use Cases

  • API Contract Auditing: Analyzes method signatures and DTO usage at service boundaries.
  • Rule Enforcement: Checks for layer leakage, missing DTOs, entity leakage, inconsistent error contracts, and redundant overloads.
  • Scoring: Provides a 4-score assessment (compliance, completeness, quality, implementation) for API contracts.
  • Use Case: Ensure that your microservices adhere to defined architectural principles by automatically scanning their API contracts for common anti-patterns.

Quick Start

Run the ln-643-api-contract-auditor skill to audit the API contracts in the 'src/services' directory.

Frequently Asked Questions about ln-643-api-contract-auditor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is API contract auditing and why is it needed for microservices?

API contract auditing analyzes method signatures and DTO usage at service boundaries to identify architectural flaws like layer leakage and inconsistent error handling, ensuring higher code quality and maintainability for microservices.

How do I audit method signatures for layer leakage and entity exposure?

You can audit method signatures for layer leakage and entity exposure by running an automated architectural audit that utilizes specific detection patterns to identify and score these issues within service boundaries.

How do I check my API contracts for missing DTOs and inconsistent error handling?

To check API contracts for missing DTOs and inconsistent error handling, run an automated audit that enforces architectural rules and scores compliance, completeness, and quality based on detected anti-patterns.

Can I score API contract quality for service boundaries without external dependencies?

Yes, you can score API contract quality without external dependencies by applying a 4-score model that assesses compliance, completeness, quality, and implementation based on internal detection patterns.

What is the best way to detect redundant method overloads in an API?

The best way to detect redundant method overloads in an API is to use an automated auditing tool that applies specific detection patterns to analyze method signatures and identify architectural redundancy.

When should I run an automated API contract audit in my development workflow?

You should run an automated API contract audit when you need to ensure microservices adhere to defined architectural principles by scanning for common anti-patterns like entity leakage and missing DTOs.