audit-contracts
CommunityDetect API-frontend drift across stacks.
Authorleocosta
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Detect API-vs-frontend contract drift in multi-stack monorepos (.NET/Node API + React/Vue/Astro). Given a branch/PR, flags endpoint additions without consumers, removals/renames that break callers, DTO/enum drift, status-code changes, auth-rule changes, and param changes. Severity-tiered report with confidence labels.
Core Features & Use Cases
- Stack discovery across manifest overrides and autodetection to identify api, app, and lp stacks.
- Extracts contract changes (endpoints, DTOs, enums, auth rules, and parameters) and correlates them with frontend usage to surface drift.
- Produces a structured report suitable for PR comments and review, with configurable checks.
Quick Start
Invoke the audit-contracts skill with a branch or PR reference to generate a drift report comparing API and frontend contracts.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: audit-contracts Download link: https://github.com/leocosta/octopus/archive/main.zip#audit-contracts Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.