verification-before-completion · bobmatnyc — скилл для Claude Code: что делает
Скилл запрещает агенту объявлять задачу завершённой без свежего прогона тестов и проверочных команд. Пригодится перед коммитами, созданием PR и закрытием тикетов.
npx skills add bobmatnyc/claude-mpm-skills --skill verification-before-completion -a claude-codeЧто делает verification-before-completion
Скилл внедряет пятишаговый фильтр для любых утверждений о готовности кода. Ассистент не может написать «Всё готово» или «Тесты должны пройти», пока не запустит команду проверки и не разберёт её вывод. Каждое заявление обязано подкрепляться доказательствами: кодом возврата и логом терминала.
Правило пресекает фразы вроде «выглядит правильно» или веру в прошлые прогоны. По данным автора, 40% непроверенных отчётов о завершении требуют переделок, а устранение последствий занимает свыше 120 минут против двух минут на запуск тестов. Это делает любую спешку бессмысленной.
Файл рассчитан на автоматический контроль и занимает лимит в 800 токенов контекста. Без выполнения полной проверочной команды прямо в текущей сессии агент лишён права рапортовать об успехе.
Какие задачи решает
- Заблокировать преждевременные отчёты агента об успешном исправлении багов
- Заставить ИИ запускать полный набор тестов перед созданием коммита
- Проверить код возврата терминала и логи до закрытия задачи
- Исключить догадки вроде «теперь код должен работать» при сдаче правок
Примеры запросов агенту
- Исправь ошибку импорта в auth-модуле и подготовь коммит с подтверждением тестов
- Отрефактори обработку ошибок в API и покажи вывод тестового раннера перед сдачей
- Проверь сборку проекта после обновления зависимостей и приложи результаты линтера
Как установить verification-before-completion
1Через Skills CLI (Vercel)
npx skills add bobmatnyc/claude-mpm-skills --skill verification-before-completion -a claude-code2Вручную: положить файлы
~/.claude/skills/verification-before-completion/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/verification-before-completion/
1Через Skills CLI (Vercel)
npx skills add bobmatnyc/claude-mpm-skills --skill verification-before-completion -a codex2Вручную: положить файлы
.agents/skills/verification-before-completion/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add bobmatnyc/claude-mpm-skills --skill verification-before-completion -a cursor2Вручную: положить файлы
.cursor/skills/verification-before-completion/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install bobmatnyc/claude-mpm-skills verification-before-completion2Вручную: положить файлы
.github/skills/verification-before-completion/SKILL.md1Через Skills CLI (Vercel)
npx skills add bobmatnyc/claude-mpm-skills --skill verification-before-completion -a gemini-cli2Командой платформы
gemini skills install https://github.com/bobmatnyc/claude-mpm-skills --path universal/debugging/verification-before-completionВручную: положить файлы
.devin/skills/verification-before-completion/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add bobmatnyc/claude-mpm-skills --skill verification-before-completion -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о verification-before-completion
Как установить verification-before-completion в Claude Code?
Выполните команду npx skills add bobmatnyc/claude-mpm-skills --skill verification-before-completion -a claude-code.
Что делает скилл verification-before-completion?
Он запрещает агенту объявлять задачу готовой без подтверждения свежим логом терминала. ИИ обязан выполнить команду проверки, проанализировать код возврата и только после этого сообщать о результате.
Из каких шагов состоит встроенный алгоритм проверки?
Алгоритм включает пять шагов: выбор проверочной команды, её полный запуск, чтение вывода и кода ошибки, сопоставление результатов с задачей и публикацию отчёта только при наличии доказательств.
Исходный текст
SKILL.md · MIT
---
name: verification-before-completion
description: Run verification commands and confirm output before claiming success
user-invocable: false
disable-model-invocation: true
version: 2.0.0
category: debugging
author: Jesse Vincent
license: MIT
source: https://github.com/obra/superpowers-skills/tree/main/skills/debugging/verification-before-completion
progressive_disclosure:
entry_point:
summary: "Evidence before claims: mandatory verification before ANY completion claim"
when_to_use: "When about to claim work is complete, fixed, passing, or ready. ESPECIALLY before commits, PRs, or task completion."
quick_start: "1. Identify verification command 2. Run FULL command 3. Read complete output 4. Verify results 5. THEN claim with evidence"
references:
- gate-function.md
- verification-patterns.md
- red-flags-and-failures.md
- integration-and-workflows.md
context_limit: 800
tags:
- verification
- quality-assurance
- honesty
- evidence
requires_tools: []
---
# Verification Before Completion
## Overview
Claiming work is complete without verification is dishonesty, not efficiency.
**Core principle:** Evidence before claims, always.
**Violating the letter of this rule is violating the spirit of this rule.**
This skill enforces mandatory verification before ANY completion claim, preventing false positives, broken builds, and trust violations.
## When to Use This Skill
Activate ALWAYS before claiming:
- Success, completion, or satisfaction ("Done!", "Fixed!", "Great!")
- Tests pass, linter clean, build succeeds
- Committing, pushing, creating PRs
- Marking tasks complete or delegating to agents
**Use this ESPECIALLY when:**
- Under time pressure or tired
- "Quick fix" seems obvious or confidence is high
- Agent reports success or tests "should" pass
## The Iron Law
```
NO COMPLETION CLAIMS WITHOUT FRESH VERIFICATION EVIDENCE
```
Without running the verification command in this message, claiming success is not allowed.
## Core Principles
1. **Evidence Required**: Every claim needs supporting evidence
2. **Fresh Verification**: Must verify now, not rely on previous runs
3. **Complete Verification**: Full command, not partial checks
4. **Honest Reporting**: Report actual state, not hoped-for state
## Quick Start
The five-step gate function:
1. **IDENTIFY**: What command proves this claim?
2. **RUN**: Execute the FULL command (fresh, complete)
3. **READ**: Full output, check exit code, count failures
4. **VERIFY**: Does output confirm the claim?
- If NO: State actual status with evidence
- If YES: State claim WITH evidence
5. **ONLY THEN**: Make the claim
Skip any step = lying, not verifying.
## Key Patterns
**Correct Pattern:**
```
✅ [Run pytest] [Output: 34/34 passed] "All tests pass"
```
**Incorrect Patterns:**
```
❌ "Should pass now"
❌ "Looks correct"
❌ "Tests were passing"
❌ "I'm confident it works"
```
## Red Flags - STOP Immediately
STOP when:
- Using "should", "probably", "seems to"
- Expressing satisfaction before verification
- About to commit/push/PR without verification
- Trusting agent success reports
- Relying on partial verification
**ALL of these mean: STOP. Run verification first.**
## Why This Matters
**Statistics from real-world failures:**
- Verification cost: 2 minutes
- Recovery cost: 120+ minutes (60x more expensive)
- 40% of unverified "complete" claims required rework
**Core violation:** "Lying leads to replacement"
## Navigation
For detailed information:
- **[Gate Function](references/gate-function.md)**: Complete five-step verification process with decision trees
- **[Verification Patterns](references/verification-patterns.md)**: Correct verification patterns for tests, builds, deployments, and more
- **[Red Flags and Failures](references/red-flags-and-failures.md)**: Common failure modes, red flags, and real-world examples with time/cost data
- **[Integration and Workflows](references/integration-and-workflows.md)**: Integration with other skills, CI/CD patterns, and agent delegation workflows
## The Bottom Line
**No shortcuts for verification.**
Run the command. Read the output. THEN claim the result.
This is non-negotiable.
© Jesse Vincent · MIT · bobmatnyc/claude-mpm-skills
Похожие скиллы
Все скиллы по теме «Тесты и QA» →Сначала — verification-before-completion от других авторов.