verification-loop
БесплатноБез исполняемых скриптовНе проверенComprehensive 6-check verification framework for validating implementation quality across build, types, lint, tests, security, and diff review. This skill…
от mhylle★ 20 звёзд на GitHubОб этом скилле
Verification Loop
Contents
- Design philosophy
- When to use
- Project type detection
- Check 1 — Build verification
- Check 2 — Type verification
- Check 3 — Lint verification
- Check 4 — Test verification
- Check 5 — Security scan
- Check 6 — Diff review
- Integration with implement-phase
- Standalone invocation
- Configuration
- Best practices
- Troubleshooting
- Appendix: quick reference
- Related skills
Reference files (open one when a step points to it):
references/go.md: Verification commands — Goreferences/nodejs-typescript.md: Verification commands — Node.js / TypeScriptreferences/python.md: Verification commands — Pythonreferences/rust.md: Verification commands — Rust
A systematic 6-check verification framework that validates implementation quality across multiple dimensions: build, types, lint, tests, security, and diff review. Catches issues early, ensures code compiles, type-checks, passes linting, runs tests, has no security issues, and contains no unintended changes.
Terminology: this skill uses "Checks" (Check 1–6). Don't confuse with "Phases" (plan phases) or "Steps" (implement-phase steps).
Design philosophy
Defense in depth — each check catches a different category of issue:
| Check | Catches | Why it matters |
|---|---|---|
| Build | Syntax errors, missing deps, bundling issues | Code must compile to run |
| Types | Type mismatches, null safety, interface violations | Type safety prevents runtime errors |
| Lint | Style violations, code smells, potential bugs | Consistent, maintainable code |
| Tests | Logic errors, regressions, broken contracts | Functional correctness |
| Security | Secrets, debug code, vulnerable patterns | Production safety |
| Diff | Unintended changes, scope creep, leftover code | Change discipline |
Fail fast — checks are ordered by detection speed. Build errors appear in seconds; security scans take longer. Fast checks first provide rapid feedback on common issues.
Project-agnostic — detect project type automatically, apply the matching tooling. Node.js, Python, Go, Rust, and mixed-language projects all work.
Idempotent — running the loop multiple times produces the same result. Each check passes or fails deterministically based on codebase state.
When to use
Automatically invoked by implement-phase as Step 2 (Exit Condition Verification), before integration testing, after implementation subagents complete.
Manually invoked for:
- Validating changes before committing
- Checking code quality after refactoring
- Pre-merge verification
- Reproducing CI/CD failures locally
Don't use for:
- Reading or analyzing code (no changes made)
- Running exploratory tests (use the test runner directly)
- Checking a single file (use individual tools)
Project type detection
Detect project type first, load the matching reference file, then run the 6 checks with those commands.
| Type | Primary indicator | Reference file |
|---|---|---|
| Node.js / TypeScript | package.json exists (with tsconfig.json → TypeScript) |
references/nodejs-typescript.md |
| Python | pyproject.toml or setup.py |
references/python.md |
| Go | go.mod exists |
references/go.md |
| Rust | Cargo.toml exists |
references/rust.md |
| Mixed / monorepo | Multiple indicators | Load each relevant reference |
Detection logic:
detect_project_type() {
if [ -f "package.json" ]; then
if [ -f "tsconfig.json" ]; then echo "typescript"; else echo "nodejs"; fi
elif [ -f "pyproject.toml" ] || [ -f "setup.py" ]; then echo "python"
elif [ -f "go.mod" ]; then echo "go"
elif [ -f "Cargo.toml" ]; then echo "rust"
else echo "unknown"; fi
}
After detection, only load the matching reference file — don't load all four, that's wasted context.
Check 1 — Build verification
Purpose: ensure the codebase compiles, bundles, and produces valid artifacts.
PASS: build command exits 0, no compilation errors, all artifacts generated, no missing-dependency errors.
FAIL: non-zero exit code, compilation/bundling errors, missing or incomplete artifacts, unresolved deps.
Commands → look up the matching language reference file (references/<lang>.md).
Failure handling: parse the error output → identify root cause (missing import? syntax error? type mismatch?) → spawn fix subagent with error context → re-run build. Max 3 retries.
**Out
Установить verification-loop в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadGlobBashВложенные файлы
FAQ
Что делает скилл verification-loop?
Comprehensive 6-check verification framework for validating implementation quality across build, types, lint, tests, security, and diff review. This skill ensures code meets all quality gates before phase completion. Triggers on "verify implementation", "run verification", "/verification-loop", or automatically as part of implement-phase Step 2.
Как установить скилл verification-loop?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл verification-loop запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic