No slash command · from agent-flow
Enforces mandatory quality checkpoints (lint, type-check, test, build) before code is committed. Useful for maintaining code quality and preventing broken code from being merged.
Ships in agent-flow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Verification gates are mandatory quality checkpoints that must pass before any implementation work is considered complete. These gates prevent broken code from being committed, ensure type safety, maintain code style consistency, and validate that all tests pass.
Owner Agent: Alphonse (Verifier Agent)
Loid (Executor) Alphonse (Verifier)
| |
Quick sanity tests Full verification gate
during implementation before completion
| |
+----------> Handoff >----+
| Check | Example Command | Timeout |
|---|---|---|
| Lint | npm run lint / ruff check | 30s |
| Format | npm run format:check / black --check | 15s |
| Quick Tests | Changed file tests only | 60s |
| Check | Example Command | Timeout |
|---|---|---|
| Full Test Suite | npm test / pytest | 300s |
| Type Checking | npx tsc --noEmit / mypy . | 120s |
| Linting | Full codebase lint | 60s |
| Build | npm run build / python -m build | 180s |
Triggered by changes to sensitive files or security-critical code:
| Check | Trigger | Action |
|---|---|---|
| Credential Scan | *.env, *secret*, *.key | Block + Alert |
| Permission Check | Auth/ACL code | Require review |
| Dependency Audit | Package files | npm audit / pip-audit |
| Action | Node.js | Python | Go | Rust |
|---|---|---|---|---|
| Test | npm test | pytest | go test ./... | cargo test |
| Types | npx tsc --noEmit | mypy . | go build | cargo check |
| Lint | npm run lint | ruff check . | golangci-lint run | cargo clippy |
| Build | npm run build | python -m build | go build | cargo build |
For complete command reference, see references/verification-commands.md.
## Verification Results
### Tests
- Status: [PASS | FAIL]
- Output: [Summary of test execution]
### Type Check
- Status: [PASS | FAIL | SKIPPED (<why>) | COVERED (Lawliet)]
- Errors: [List of type errors if any]
### Lint
- Status: [PASS | FAIL | SKIPPED (<why>) | COVERED (Lawliet)]
- Warnings: [Count and summary]
### Build
- Status: [PASS | FAIL | SKIPPED (<why>)]
- Issues: [Build errors if any]
### Overall: [VERIFIED | FAILED | ENVIRONMENT_BLOCKED]
COVERED (Lawliet): in the parallel /orchestrate Phase 4+5 flow, Lawliet runs type check and lint concurrently, so Alphonse reports them as covered instead of re-running them.
| Type | Severity | Action |
|---|---|---|
| Test Failure | BLOCKING | Fix and re-run |
| Type Error | BLOCKING | Resolve types |
| Lint Error | BLOCKING | Auto-fix or manual |
| Build Failure | BLOCKING | Fix compilation |
| Security Alert | CRITICAL | Immediate remediation |
| Timeout | WARNING | Retry up to 2x (30s apart), then report FAILED |
| Flaky Test | WARNING | Retry 3x, then fix |
These are gate-failure labels for Alphonse's verification. They are separate from the ERROR/WARNING/INFO review-finding scale. The machine-read verdict is Alphonse's ### Overall: VERIFIED | FAILED | ENVIRONMENT_BLOCKED.
Alphonse's ### Overall verdict decides the route:
At the round cap, open failures go to the Phase 6 report, and the orchestrator pauses only when one is unsafe to ship.
For detailed failure protocols, see references/failure-handling.md.
any--no-verify flag| Scenario | Gate Type | Checks Run |
|---|---|---|
| Small code fix | Pre-Commit | Lint, format, affected tests |
| New feature complete | Pre-Complete | Full suite, types, lint, build |
| Security-related change | Security | Credential scan, audit, permissions |
| Cross-service change | Integration | E2E, contracts, compatibility |
Verification gates can ONLY be skipped when:
Override Documentation Required:
## Verification Override
Reason: [Explicit reason for skipping]
Requested by: [User or escalation source]
Risk Assessment: [Low/Medium/High]
Compensating Controls: [What will catch issues later]
Review panel (default for standard/thorough): Lawliet plus the lenses in state review_panel
review in parallel; every cited ERROR/WARNING is cross-examined by the reviewers who did not raise it
and goes to Loid only on a majority of their votes (a tie keeps an ERROR, drops a WARNING). Rejected
findings and any reviewer that failed to run go in the report. See
references/review-panel.md.
Codex (off by default; --codex / AGENT_FLOW_CODEX=1): with a panel, its findings are put to
the vote. Without a panel, the truth table and Divergence Cap in
references/codex-co-review.md apply: any cited Lawliet
ERROR/WARNING blocks (even under APPROVED); Codex flips the verdict only with a file:line-cited
ERROR/WARNING — INFO is advisory.
/orchestrate Phase 4 review panel: lenses, cross-examination, majority adoption/orchestrate Phase 4 Codex co-review, truth table, Divergence Cap/orchestrate Phase 6 Intent Ledger template| File | Purpose |
|---|---|
scripts/load-project-context.sh | Project type detection |
hooks/scripts/verify-completion.sh | Pre-complete gate implementation |
hooks/scripts/validate-changes.sh | Security validation |
agents/Alphonse.md | Verifier agent definition |
examples/verification-scenarios.md (opens in a new tab)references/codex-co-review.md (opens in a new tab)references/failure-handling.md (opens in a new tab)references/intent-ledger.md (opens in a new tab)references/project-detection.md (opens in a new tab)references/review-panel.md (opens in a new tab)references/verification-commands.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
TypeScript, Python, Go, Rust, JavaScript
quality-gates, pre-commit, linting, testing, build-verification
npx claudepluginhub josix/agent-flow --plugin agent-flow11 skills in this plugin
/agent-behavior-constraintsThis skill should be used when handling agent model selection, tool access permissions, behavioral guardrails, MCP tool preferences, or any question about what agents can/cannot do./agentsview-usageSearch prior session history to recall how similar work was handled before. Use when you want to leverage a past approach, check prior experience on a topic, answer "how was this handled before", or cross-verify current handling against precedent from earlier sessions./evidence-driven-workGround work in what the system actually did, then tell people about it so they get it at a glance. Use when investigating why something is slow, failing, or ignoring a setting; choosing what to measure, which tool or view can show it, or what access to ask the user for; a hypothesis or estimate was just disproven; judging whether a change is worth making or weighing a proposed approach; verifying a change after it runs in the target environment; citing numbers, logs, or screenshots as evidence; writing a report, PR or ticket description, announcement, or completion summary. Covers observation surfaces across domains, evidence standards, argument structure, narrative reports (background, change, purpose, impact), explaining terms, and clarity over decoration.Other plugins' skills for the same job