audit
Full quality gate — architecture, tests, docs, and build verification
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Full quality gate — architecture, tests, docs, and build verification
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Scaffold a REST API endpoint with hexagonal layers and integration tests
Scaffold a React component with Vitest tests (TDD-first)
Scaffold a new Shell extension with hexagonal layers and TDD
Add a sub-feature within an existing Shell extension
Scaffold a SQL migration with RLS policy, rollback plan, and test seed data
Scaffold a Tauri IPC command with full round-trip (Rust handler, TS types, React hook, tests)
| name | audit |
| description | Full quality gate — architecture, tests, docs, and build verification |
| user_invocable | true |
Comprehensive 5-pass quality gate for Alder Grove. Runs all sub-audits and reports overall PASS/FAIL.
$ARGUMENTS controls which sub-audits to run:
/audit — run all 5 passes/audit architecture — run only Architecture pass/audit docs tokens — run only Documentation and Design Tokens passes/audit build security — run only Build & Test and Security passesValid names: architecture, build, docs, tokens, security
If $ARGUMENTS is empty or not provided, run all 5 passes.
Run the /check-architecture skill (reads .claude/skills/check-architecture/SKILL.md).
This dispatches the frontend and backend architecture specialists and aggregates results.
Run these commands sequentially — all must pass:
# Frontend
pnpm check # TypeScript type checking + ESLint
pnpm test # Vitest unit tests
# Rust
cargo build --workspace # Build all crates
cargo test --workspace # Run all Rust tests
cargo clippy --workspace -- -D warnings # Lint Rust code (warnings = errors)
Any failure in this pass = overall FAIL.
Run the /audit-docs skill (reads .claude/skills/audit-docs/SKILL.md).
If the skill file does not exist, report as SKIP with WARNING.
Run the /audit-tokens skill (reads .claude/skills/audit-tokens/SKILL.md).
If the skill file does not exist, report as SKIP with WARNING.
Run the /audit-security skill (reads .claude/skills/audit-security/SKILL.md).
If the skill file does not exist, report as SKIP with WARNING.
Passes 3, 4, and 5 are independent of each other. When running all passes, dispatch them via the Agent tool in parallel where possible. Passes 1 and 2 may also run in parallel with each other but their results must be collected before the final summary.
=== ALDER GROVE AUDIT ===
| # | Section | Status | Findings | Top Issue |
|----|----------------------|--------|----------|----------------------------------|
| 1 | Architecture | PASS | 0 | — |
| 2 | Build & Test | PASS | 0 | — |
| 3 | Documentation | PASS | 1 | /audit-tokens missing from table |
| 4 | Design Tokens | FAIL | 3 | Hardcoded #ff0000 in Panel.tsx |
| 5 | Security | SKIP | — | Skill not found (WARNING) |
=== OVERALL: FAIL — 3/4 PASS (1 SKIP) — 4 total findings ===
$ARGUMENTS limits scope, only count the requested passes