ds-review-loop — скилл для Claude Code: что делает и как установить
Скилл ds-review-loop для Claude Code запускает автора и ревьюера в цикле для проверки кода до согласия сторон или исчерпания лимитов.
MIT 548 установок ★ 320 обновлён 2026-10-28
npx skills add aicodeking/deepseek-stack --skill ds-review-loop -a claude-codeЧто делает ds-review-loop
Скилл организует цикл проверки изменений между автором и независимым рецензентом с отдельным контекстом. Процесс идёт до четырех раундов, пока участники не одобрят код или не зафиксируют спорные места для пользователя.
Шаги включают сбор статуса через git status --short, оценку находок по трем уровням severity и ведение журнала решений. При обновлении пулл-реквеста добавляется строка с отчетом о раундах и вердикте.
Какие задачи решает
- проверить изменения с независимым рецензентом
- провести несколько раундов ревью кода
- ограничить число итераций проверки
- записать результаты ревью в пулл-реквест
Примеры запросов агенту
- Запусти review loop для текущих изменений
- Get it reviewed перед отправкой пулл-реквеста
- /ds-review-loop
Как установить ds-review-loop
1Через Skills CLI (Vercel)
npx skills add aicodeking/deepseek-stack --skill ds-review-loop -a claude-code2Вручную: положить файлы
~/.claude/skills/ds-review-loop/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/ds-review-loop/
1Через Skills CLI (Vercel)
npx skills add aicodeking/deepseek-stack --skill ds-review-loop -a codex2Вручную: положить файлы
.agents/skills/ds-review-loop/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add aicodeking/deepseek-stack --skill ds-review-loop -a cursor2Вручную: положить файлы
.cursor/skills/ds-review-loop/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install aicodeking/deepseek-stack skills/ds-review-loop2Вручную: положить файлы
.github/skills/ds-review-loop/SKILL.md1Через Skills CLI (Vercel)
npx skills add aicodeking/deepseek-stack --skill ds-review-loop -a gemini-cli2Командой платформы
gemini skills install https://github.com/aicodeking/deepseek-stack --path skills/ds-review-loopВручную: положить файлы
.devin/skills/ds-review-loop/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add aicodeking/deepseek-stack --skill ds-review-loop -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о ds-review-loop
Как установить ds-review-loop в Claude Code?
Выполните в терминале команду npx skills add aicodeking/deepseek-stack --skill ds-review-loop -a claude-code, а затем обратитесь к файлу ~/.claude/skills/ds-review-loop/SKILL.md.
Что делает ds-review-loop?
Скилл автоматизирует итеративную проверку кода автором и рецензентом с изолированным контекстом в несколько раундов.
Сколько раундов длится проверка?
Цикл длится максимум четыре раунда или останавливается раньше при согласии сторон либо наличии неразрешенных споров.
Исходный текст
SKILL.md · MIT
--- name: ds-review-loop description: "Runs an author and a fresh-context reviewer in a loop on the current change until both agree it is correct, for at most four rounds. Use before or after filing a PR, when the user says review loop, get it reviewed, or /ds-review-loop." --- Make a change more correct by letting one fresh reviewer push back until you both agree. ## Steps 1. Scope the change. Run `git status --short`. Do not stash, discard or include unrelated files. Find the base: `git fetch origin`, then `git merge-base HEAD origin/<base branch>`. Use one diff command for every round. 2. Write the goal and out-of-scope list in two sentences. Run the covering checks. Do not send code that fails them. 3. Pick the reviewer: a stronger model if the harness can reach one (subagent with a model setting, team worker, second CLI), or else a fresh DeepSeek context with no history. Record which one. 4. Send this brief: ``` Review only. Do not edit, commit, push, comment or start subagents. Repo: <path> Base: <sha> Diff: git diff <sha> [-- <paths>] Goal: <goal> Out of scope: <list> Checks: <results> Read the code around the diff. Find bugs, broken callers and gaps against the goal. Flag code the goal does not need. Ignore style unless it hides a bug. blocker = goal case is wrong. should = real bug users will hit. nit = anything else. Reply: VERDICT: APPROVE or CHANGES, then one line per finding: R1 [blocker|should|nit] file:line claim. Fix: suggestion ``` 5. Wait for the reply. Do not edit the scoped files while the review runs. A timeout or error is not approval. 6. Judge each finding yourself. Agree: make the smallest fix, preferring to delete or narrow code. Disagree: reply with evidence (file:line, test output). Nit or out of scope: decline in one line. 7. Keep a ledger: id, severity, outcome, evidence. Re-run checks and `git diff --shortstat`. If the diff grew, cut it back. 8. For the next round send the brief, the ledger and the changes since the last round. Ask the reviewer to check only open ids and changed code. ## Stop when - The reviewer returns APPROVE on the current diff, no blocker or should is open, and you have no concern left. - A round returns only nits. - Four rounds are done, or one item stays disputed after two exchanges. Report both sides in two or three lines each and let the user decide. This is not approval. ## Rules - One reviewer at a time. Never agree just to end the loop. - Do not push during the loop. Push afterward only if the user asked to push or ship. - If you update a PR, add: `Reviewed with ds-review-loop: <N> rounds, <reviewer>, verdict <verdict>.` - Report rounds, reviewer, fixed and declined findings with reasons, and diff size before and after.
© aicodeking · MIT · aicodeking/deepseek-stack