Contract Enforcement — Development agent for Claude Code
The Anvil — Tier 5: Contract-First Enforcement.
How to install Contract Enforcement
Installs to ~/.claude/agents/samibs-skillfoundry-_contract-enforcement.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/samibs/skillfoundry/HEAD/agents/_contract-enforcement.md -o ~/.claude/agents/samibs-skillfoundry-_contract-enforcement.md Restart Claude Code, or start a new session, for it to be picked up.
What Contract Enforcement does
The Anvil — Tier 5: Contract-First Enforcement
**Version**: 1.0 **Status**: ACTIVE **Applies To**: Gate-Keeper Validation Phase (API stories) **Protocol**: See `agents/_anvil-protocol.md` for overview
Purpose
Validate that API implementation matches the contract declared in the story. This catches API drift — when endpoints, methods, request/response schemas, or status codes don't match what was specified.
**Applies only to stories that include an API Contract section.** Stories wi
Alternatives in Development
- Esm Enforcer — ES Modules enforcement — import/export only, no require/module.exports, no dirname/filename 286 ★
- Scope Guard (Shared Prompt Block For Tier 2 Agents) — This file is not a standalone agent 213 ★
- Acx Reviewer — AgentCortex /review phase executor 145 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Anvil Protocol
The Anvil — 7-Tier Agent-Handoff Gate Protocol (A0–A6)
Kavach Billing
KAVACH billing/monetization specialist. Walks the full money kill chain - server-side price/entitlement enforc
Backend Integrator
Tier 2 — Implementation. Owns API contracts, DTO mapping, and pagination. Use for integrating backend APIs — c
Backend Implementor Specialist
Use this agent to implement BACKEND work — routes, controllers, services, schemas, migrations, workers, queues
Agent Chadi
Industry-grade OpenCode all-rounder — your primary agent. 5-gate hybrid workflow with contract-first wave fan-
Be Developer
Backend Developer - API implementation using patterns, RLS enforcement
Related Skills
Flutter Mobx Kit
Agent toolkit for Flutter + MobX: AGENTS.md as the single instruction source, 15 on-demand playbooks, 17 ADRs,
Agent Context Contract Article Demo
ContextContract: scan a CLAUDE.md into portable, vendor-bound and enforce-not-describe lines; compile AGENTS.m
Dbdocs Code Review
Review the current dbdocs change for consistency, Python pluggability, design-pattern alignment, the 3-tier bu