ds-plan-loop — скилл для Claude Code: планирование и установка
Скилл ds-plan-loop для Claude Code составляет план с проверкой каждого шага, пересматривает его и выполняет задачу поэтапно. Запускается для работы с несколькими файлами, неясным объёмом или после пропущенных шагов.
MIT 569 установок ★ 320 обновлён 2026-10-28
npx skills add aicodeking/deepseek-stack --skill ds-plan-loop -a claude-codeЧто делает ds-plan-loop
Скилл помогает агенту спланировать задачу до правок и проверить план отдельным проходом. Сначала он изучает цель и затрагиваемые файлы, затем записывает нумерованные шаги с проверкой для каждого в PLAN.md или PROGRESS.md.
После критики плана агент исправляет непроверенные предположения и выполняет по одному шагу, фиксируя результат проверки. Если шаг не проходит проверку дважды подряд, скилл предписывает переключиться на ds-unstick; при неудачной проверке можно использовать ds-verify-loop. Для установки через npm нужен Node.js, так как команда использует npx.
Какие задачи решает
- разбить работу в нескольких файлах на проверяемые шаги
- найти пропущенный шаг до начала правок
- пересмотреть план после проверки предположений
- зафиксировать результаты проверок по мере выполнения
Примеры запросов агенту
- Разбей задачу с изменениями в нескольких файлах на план и выполняй по одному шагу:
/ds-plan-loop. - Составь проверяемый план для задачи с неясным объёмом и проверь его отдельным проходом:
/ds-plan-loop. - После прошлой неудачи из-за пропущенных шагов сначала пересмотри план, затем приступай к коду:
/ds-plan-loop.
Как установить ds-plan-loop
1Через Skills CLI (Vercel)
npx skills add aicodeking/deepseek-stack --skill ds-plan-loop -a claude-code2Вручную: положить файлы
~/.claude/skills/ds-plan-loop/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/ds-plan-loop/
1Через Skills CLI (Vercel)
npx skills add aicodeking/deepseek-stack --skill ds-plan-loop -a codex2Вручную: положить файлы
.agents/skills/ds-plan-loop/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add aicodeking/deepseek-stack --skill ds-plan-loop -a cursor2Вручную: положить файлы
.cursor/skills/ds-plan-loop/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install aicodeking/deepseek-stack skills/ds-plan-loop2Вручную: положить файлы
.github/skills/ds-plan-loop/SKILL.md1Через Skills CLI (Vercel)
npx skills add aicodeking/deepseek-stack --skill ds-plan-loop -a gemini-cli2Командой платформы
gemini skills install https://github.com/aicodeking/deepseek-stack --path skills/ds-plan-loopВручную: положить файлы
.devin/skills/ds-plan-loop/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add aicodeking/deepseek-stack --skill ds-plan-loop -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о ds-plan-loop
Как установить ds-plan-loop в Claude Code?
Выполни npx skills add aicodeking/deepseek-stack --skill ds-plan-loop -a claude-code. Файл скилла находится по пути ~/.claude/skills/ds-plan-loop/SKILL.md.
Что делает ds-plan-loop?
Он помогает составить план с проверкой для каждого шага, пересмотреть его и выполнять задачу поэтапно. Результаты проверок записываются в файл плана.
Когда ds-plan-loop останавливает выполнение?
Скилл предписывает остановиться, если проверка одного шага не проходит два раза подряд, и переключиться на ds-unstick. Если план оказался неверным, оставшиеся шаги нужно пересмотреть до продолжения.
Исходный текст
SKILL.md · MIT
--- name: ds-plan-loop description: "Write a numbered plan with an acceptance check for each step, critique it once in a fresh pass, revise it, then execute one step at a time. Use when a task touches more than one file, has unclear scope, or failed before because steps were missed. Invoke as /ds-plan-loop." --- # ds-plan-loop Plan before coding, check the plan once, then build the task one verified step at a time. ## Steps 1. Restate the goal in one sentence. List the files and commands you expect to touch. Read those files before you plan. Do not plan from memory. 2. Write a numbered plan. Each step gets one action and one acceptance check that a command or a direct observation can confirm, for example "`npm test -- auth` passes" or "`GET /health` returns 200". Keep each step small enough to verify in a single diff. 3. Write the plan to a file (PLAN.md, or the PROGRESS.md from ds-context-reset) so later steps and fresh sessions can read it. 4. Critique the plan in a fresh pass. Reread only the goal and the plan, as a reviewer who did not write it. If you can, run the critique in a subagent or new session. Answer three questions: - Which step is missing (setup, migration, config, tests, cleanup)? - Which assumption has not been checked against the code or docs? - Is there a simpler path that reaches the same goal with fewer steps? 5. Revise the plan. Check each risky assumption now by reading code or running a command. Do not carry it forward as a guess. 6. Execute step 1 only. Run its acceptance check and read the real output. Use ds-verify-loop when the check fails. 7. Mark the step done in the plan file, along with the evidence (command and result). Then move to the next step. 8. If a step shows that the plan is wrong, stop and revise the remaining steps before continuing. Do not improvise around it. ## Stop when - Every step is marked done and its check passed, and the original goal holds when you check it end to end. - You have done 2 critique rounds. A third round almost never finds anything new, so execute. - A step fails its check twice in a row. Switch to ds-unstick. ## Rules - No step without a check. "Looks right" is not a check. - Do one step per diff. Do not batch steps to save time. - Do not add steps that the goal does not need. - Keep the plan short: about 3-10 steps. Split bigger work into separate plans.
© aicodeking · MIT · aicodeking/deepseek-stack