ds-verify-loop — скилл для Claude Code: проверка изменений
Скилл ds-verify-loop для Claude Code запускает проверку после правок и помогает исправлять причины ошибок по её выводу. Цикл заканчивается, когда проверка проходит или достигнут лимит попыток.
MIT 589 установок ★ 320 обновлён 2026-10-28
npx skills add aicodeking/deepseek-stack --skill ds-verify-loop -a claude-codeЧто делает ds-verify-loop
ds-verify-loop выбирает проверку до правок: например, один тест, проверку типов, сборку или запуск приложения. Сначала можно выполнить команду до изменения, чтобы увидеть исходное состояние. Затем скилл запускает её снова, разбирает полный вывод и предлагает исправить причину ошибки, а не обходить её.
За одну итерацию меняется одна вещь; после успешной узкой проверки запускается более широкая. Итоговую команду и последние строки вывода нужно приложить к ответу или записать в PROGRESS.md. На пятой неудачной итерации цикл останавливается и переключается на ds-unstick; повтор одной ошибки после двух разных правок останавливает его раньше. Тесты, проверки и правила линтера ослаблять нельзя.
Какие задачи решает
- проверить изменение конкретным тестом или сборкой
- найти причину ошибки по полному выводу команды
- повторно проверить исправление той же командой
- заметить поломки за пределами узкой проверки
- подтвердить результат выводом успешной команды
Примеры запросов агенту
- Проверь мои изменения командой теста и исправляй ошибки через
/ds-verify-loop. - Запусти проверку типов для этой правки через
/ds-verify-loopи приложи итоговый вывод. - Проверь сборку после изменений, не ослабляя тесты:
/ds-verify-loop.
Как установить ds-verify-loop
1Через Skills CLI (Vercel)
npx skills add aicodeking/deepseek-stack --skill ds-verify-loop -a claude-code2Вручную: положить файлы
~/.claude/skills/ds-verify-loop/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/ds-verify-loop/
1Через Skills CLI (Vercel)
npx skills add aicodeking/deepseek-stack --skill ds-verify-loop -a codex2Вручную: положить файлы
.agents/skills/ds-verify-loop/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add aicodeking/deepseek-stack --skill ds-verify-loop -a cursor2Вручную: положить файлы
.cursor/skills/ds-verify-loop/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install aicodeking/deepseek-stack skills/ds-verify-loop2Вручную: положить файлы
.github/skills/ds-verify-loop/SKILL.md1Через Skills CLI (Vercel)
npx skills add aicodeking/deepseek-stack --skill ds-verify-loop -a gemini-cli2Командой платформы
gemini skills install https://github.com/aicodeking/deepseek-stack --path skills/ds-verify-loopВручную: положить файлы
.devin/skills/ds-verify-loop/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add aicodeking/deepseek-stack --skill ds-verify-loop -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о ds-verify-loop
Как установить ds-verify-loop в Claude Code?
Выполни npx skills add aicodeking/deepseek-stack --skill ds-verify-loop -a claude-code. Файл скилла находится по пути ~/.claude/skills/ds-verify-loop/SKILL.md.
Что делает ds-verify-loop?
Скилл запускает реальную проверку кода, разбирает её ошибки и повторяет цикл после исправлений. После узкой проверки запускает более широкую и просит приложить итоговый вывод.
Когда ds-verify-loop прекращает цикл проверок?
Он останавливается после пяти неудачных итераций и переключается на ds-unstick. Если одна ошибка повторилась после двух разных исправлений, скилл прекращает цикл раньше.
Исходный текст
SKILL.md · MIT
--- name: ds-verify-loop description: "Run edit, real check, read the actual error, fix the root cause, rerun, until the check passes or the cap is hit. Use when you change code that has tests, a type checker, a build, or a runnable app, or before you claim any fix works. Invoke as /ds-verify-loop." --- # ds-verify-loop Prove a change works by running the real check and fixing what it reports, not what you expect it to report. ## Steps 1. Pick the check before you edit: the narrowest real command that proves the change, such as one test file, a typecheck, a build, or a run of the app with one request. Write the command down. 2. Run it once before the edit if you can, so you know the baseline (already failing, already passing, or broken for another reason). 3. Make the smallest edit that should satisfy the check. 4. Run the exact command. Read the full error output, including the first error, the file and line, and the stack frame in your code. Do not skim to the last line. 5. State the root cause in one sentence, based on the output. If you cannot, add one print or log line, or read the failing code, and rerun. Do not guess. 6. Fix the cause, not the symptom. Do not add a special case for the one input that the test uses. 7. Rerun the same command. Count this as one iteration. 8. When the narrow check passes, run the wider one once (the full test suite, the build, or a lint) to catch breakage elsewhere. 9. Paste the final passing output (the command and its last lines) in your reply or in PROGRESS.md. ## Stop when - The check passes and you have pasted the output. A claim without output does not count. - You reach 5 iterations without passing. Stop editing, report the last error, and switch to ds-unstick. - The same error appears twice after two different fixes. Switch to ds-unstick now. Do not wait for iteration 5. ## Rules - Never weaken, skip, delete or loosen a test, assertion, type or lint rule to make the check pass. If the test is wrong, say why and ask first. - Never mock away the thing under test. - Run the real command every time. Do not reason about what it would print. - Change one thing per iteration so that you know what fixed it. - If no check exists, write the smallest one that fails without your change, then use the loop.
© aicodeking · MIT · aicodeking/deepseek-stack