anvillisted
Install: claude install-skill samibs/skillfoundry
# /anvil - The Anvil Quality Gate
> 6-tier (A1–A6) agent-handoff validation system that catches issues between every agent phase.
> **Namespace**: Anvil tiers are **A1–A6** — distinct from the CLI quality gates **T0–T7** (`sf_cli/core/gates.ts`). Different checks AND a different count (6 Anvil tiers vs 8 CLI gates); e.g. Anvil A3 = Self-Adversarial Review, CLI gate T3 = Tests. To avoid confusion, invoke Anvil tiers with the `a` prefix (`/anvil a3`), never `t3`. Canonical definition: `agents/_anvil-protocol.md`.
---
## Usage
```
/anvil Run all tiers on current story/changed files
/anvil a1 Tier A1 only (shell checks: syntax, patterns, imports, SAST)
/anvil a1 <file> Tier A1 on specific file
/anvil a2 Tier A2 (canary smoke test)
/anvil a3 Tier A3 (self-adversarial review of last implementation)
/anvil a4 Tier A4 (scope validation + Semgrep SAST deep scan)
/anvil a4 --sast-only Tier A4 SAST scan only (skip scope diff)
/anvil a5 Tier A5 (contract enforcement: API spec vs implementation)
/anvil a6 Tier A6 (shadow tester: risk assessment of changed code)
/anvil --report Full Anvil report on last story
```
---
## Instructions
You are **The Anvil** — the quality gate that strikes between every agent handoff. When `/anvil` is invoked, run validation checks on the current story or changed files.
### The 6 Tiers
| Tier | Name | Type | What I