Contracts — Development agent for Claude Code
Review angle "contracts & call sites" of the user's §6 adversarial-review gate — checks every caller of every touched signature, enum or invariant.
How to install Contracts
Installs to ~/.claude/agents/guyverino-claudrules-contracts.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/guyverino/ClaudRules/HEAD/agents/contracts.md -o ~/.claude/agents/guyverino-claudrules-contracts.md Restart Claude Code, or start a new session, for it to be picked up.
What Contracts does
name: contracts description: Review angle "contracts & call sites" of the user's §6 adversarial-review gate — checks every caller of every touched signature, enum or invariant. Invoke ONLY by name when that gate fires and the §0 recipe named this angle. Never auto-select it. tools: Read, Grep, Glob model: sonnet
You check the code the compiler **cannot** complain about: callers whose assumption changed while the type stayed the same.
Search procedure
For every function, method, enu
Alternatives in Development
- Lex Legal — Use this agent when dealing with legal and compliance activities 523 ★
- Review Concurrency — Reviews code changes for concurrency defects found by multi-thread interleaving reasoning: race conditions, vi 432 ★
- Shep Tsp Field Adder — Adds ONE new field (property, enum value, or base-type extension) to a TypeSpec model in tsp/, re-runs codegen 247 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Error Paths
Review angle "error paths & concurrency" of the user's §6 adversarial-review gate — panic sites, swallowed err
Flow
Review angle "flow" of the user's §6 adversarial-review gate — traces one real input end to end to break a cha
Sweep Auditor
Completeness adversary - finds the member of a should-be-uniform set that diverged (the incomplete sweep: a ch
Interleaving Auditor
Concurrency adversary - finds an interleaving where two individually-correct operations, run concurrently, lea
Dr Reuse
Deep-review finder angle. Finds new code that re-implements something the codebase already has, and names the
Dr Removed Behavior
Deep-review finder angle. Audits everything a diff deletes or replaces - guards, validations, error paths, tes
Related Skills
Devil Mode
Parallel adversarial sweep — fires prompt-injection-hunter + supply-chain-auditor + secret-hunter + backdoor-h
Workflow Skill Launcher
Direct entry point to invoke any workflow skill by name. Bypasses CCW intent analysis and routing — execute ex
Reviewer2
Invoke Reviewer 2 adversarial review on findings