verification-strategy — скилл для Claude Code: обзор и установка
Скилл verification-strategy задаёт для Claude Code протокол проверки выполненной работы: сверку путей, кодов возврата, форматов вывода и граничных случаев перед отчётом о готовности.
MIT ★ 1 125 обновлён 2026-10-27
npx skills add vstorm-co/pydantic-deepagents --skill verification-strategy -a claude-codeЧто делает verification-strategy
Скилл заставляет агента перепроверить задачу по чек-листу, прежде чем объявить её решённой. Вместо поверхностного ответа Claude Code начинает с исходных требований: сверяет флаги компилятора, точные имена файлов и кодировки.
Проверка опирается на базовые утилиты командной строки: wc -c для размера в байтах, file для типа файла и echo $? для кода завершения. Агент исследует тестовые скрипты, если они доступны в проекте, чтобы заранее выявить скрытые требования к точности чисел, пробелам или заголовкам CSV.
Без доступа к терминалу и тестовым файлам стратегия теряет смысл: агент должен иметь возможность реально скомпилировать код и посмотреть вывод в stdout и stderr.
Какие задачи решает
- проверить код возврата и вывод программы перед завершением задачи
- убедиться в наличии созданных файлов по точным путям и нужного размера
- сверить формат JSON или CSV с требованиями автоматических тестов
- найти скрытые ограничения в тестовых скриптах репозитория
Примеры запросов агенту
- Проверь решение по чек-листу verification-strategy перед тем, как сдавать задачу
- Убедись через verification-strategy, что созданные файлы и код возврата соответствуют требованиям
- Изучи тестовый скрипт и протестируй граничные случаи перед завершением работы
Как установить verification-strategy
1Через Skills CLI (Vercel)
npx skills add vstorm-co/pydantic-deepagents --skill verification-strategy -a claude-code2Вручную: положить файлы
~/.claude/skills/verification-strategy/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/verification-strategy/
1Через Skills CLI (Vercel)
npx skills add vstorm-co/pydantic-deepagents --skill verification-strategy -a codex2Вручную: положить файлы
.agents/skills/verification-strategy/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add vstorm-co/pydantic-deepagents --skill verification-strategy -a cursor2Вручную: положить файлы
.cursor/skills/verification-strategy/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install vstorm-co/pydantic-deepagents apps/cli/skills/verification-strategy2Вручную: положить файлы
.github/skills/verification-strategy/SKILL.md1Через Skills CLI (Vercel)
npx skills add vstorm-co/pydantic-deepagents --skill verification-strategy -a gemini-cli2Командой платформы
gemini skills install https://github.com/vstorm-co/pydantic-deepagents --path apps/cli/skills/verification-strategyВручную: положить файлы
.devin/skills/verification-strategy/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о verification-strategy
Как установить verification-strategy в Claude Code?
Выполните команду npx skills add vstorm-co/pydantic-deepagents --skill verification-strategy -a claude-code в терминале или сохраните файл в ~/.claude/skills/verification-strategy/SKILL.md.
Что делает скилл verification-strategy?
Он пошагово проверяет результат: перечитывает формулировку задачи, инспектирует сгенерированные файлы, компилирует код с нужными флагами и тестирует крайние случаи.
Какие частые ошибки выявляет эта проверка?
Скилл отслеживает расхождения между выводом в терминал и записью в файл, неверную точность чисел, пробелы в строках и лишний отладочный вывод.
Исходный текст
SKILL.md · MIT
---
name: verification-strategy
description: "Thorough verification of completed work before declaring done"
tags: [testing, verification, benchmark]
version: "1.0.0"
---
# Verification Strategy
How to verify your work is correct before declaring a task complete.
## The Verification Checklist
After implementing a solution, go through ALL of these:
### 1. Re-read the original task
- Re-read the EXACT wording of the task instruction
- Check every requirement — file paths, names, formats, constraints
- Are there implicit requirements? ("compile with gcc -O3 -lm" means exact flags)
### 2. Check file outputs
- Do all required files exist at the exact paths specified?
- Are file sizes within any stated limits?
- Is the file format correct? (binary vs text, encoding, line endings)
```bash
ls -la /path/to/expected/output
wc -c /path/to/output # byte count
file /path/to/output # format detection
head -5 /path/to/output # content preview
```
### 3. Compile and run
- Compile with the EXACT flags specified in the task
- Run with the EXACT command and arguments specified
- Check exit code: `echo $?` (should be 0 for success)
- Check both stdout AND stderr
### 4. Validate output
- Compare output against expected format
- Check exact field names, delimiters, number formatting
- If the task specifies output format, match it exactly:
- JSON: valid JSON? correct schema?
- CSV: correct headers? correct delimiter?
- Plain text: correct line endings? trailing newline?
### 5. Test edge cases
- Empty input (if applicable)
- The specific test inputs mentioned in the task
- Large inputs (if the task involves performance)
### 6. Check constraints
- Size limits (file size, code length)
- Time limits (does it finish in reasonable time?)
- Memory limits (does it stay within bounds?)
- No external dependencies that aren't available
## Reading Test Scripts
If you can find the test script, READ IT:
- What exact assertions does it make?
- What inputs does it use?
- What output format does it expect?
- What timeouts are set?
Tests often check things you didn't expect:
- Exact string matching (whitespace matters!)
- Specific numeric precision
- File permissions
- Process exit codes
## Common Verification Failures
| What you think is right | What the test actually checks |
|------------------------|-------------------------------|
| Output on stdout | Output in a specific file |
| Human-readable numbers | Exact decimal precision |
| Relative file paths | Absolute file paths |
| "Close enough" answer | Exact match |
| Code that runs | Code under a specific size limit |
## Final Check
Before declaring done, ask yourself:
1. Did I create/modify ALL the files the task asks for?
2. Did I use the EXACT paths, names, and formats specified?
3. Does my code compile/run WITHOUT errors?
4. Does my output match what automated tests would expect?
5. Have I cleaned up any debug output or temporary files?
© vstorm-co · MIT · vstorm-co/pydantic-deepagents