ds-blueprint — скилл для Claude Code: что делает и как установить
Скилл для Claude Code формирует типы, сигнатуры и структуру модулей до написания кода. Агент запускает его по команде /ds-blueprint или при запросе сначала продумать архитектуру.
MIT 546 установок ★ 320 обновлён 2026-10-28
npx skills add aicodeking/deepseek-stack --skill ds-blueprint -a claude-codeЧто делает ds-blueprint
Скилл заставляет помощника зафиксировать интерфейсы до написания логики. Сначала агент изучает затронутые файлы и готовит минимум два разных наброска со стабами функций, типами и заглушками not implemented. Выбирается вариант с меньшей публичной поверхностью модулей.
Выбранный каркас проверяется компилятором или тайпчекером прямо на стадии заглушек. Затем модель показывает структуру человеку и ждёт подтверждения. Тела функций наполняются строго по одному за раз, с прогоном тестов после каждого шага. Менять сигнатуры скрытно запрещено.
Если реализация потребовала трёх переделок каркаса на ходу, скилл останавливает работу и требует нового согласования. После завершения агент удаляет временные файлы и ищет оставшиеся заглушки через grep.
Какие задачи решает
- спроектировать интерфейсы и типы данных до написания логики
- сравнить два варианта модульной структуры через компилятор
- предотвратить скрытые изменения сигнатур функций во время кодинга
- найти оставшиеся заглушки
not implementedперед сдачей задачи
Примеры запросов агенту
- /ds-blueprint спроектируй модуль авторизации
- Сначала спроектируй типы и сигнатуры для сервиса платежей
- /ds-blueprint architect this caching layer
Как установить ds-blueprint
1Через Skills CLI (Vercel)
npx skills add aicodeking/deepseek-stack --skill ds-blueprint -a claude-code2Вручную: положить файлы
~/.claude/skills/ds-blueprint/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/ds-blueprint/
1Через Skills CLI (Vercel)
npx skills add aicodeking/deepseek-stack --skill ds-blueprint -a codex2Вручную: положить файлы
.agents/skills/ds-blueprint/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add aicodeking/deepseek-stack --skill ds-blueprint -a cursor2Вручную: положить файлы
.cursor/skills/ds-blueprint/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install aicodeking/deepseek-stack skills/ds-blueprint2Вручную: положить файлы
.github/skills/ds-blueprint/SKILL.md1Через Skills CLI (Vercel)
npx skills add aicodeking/deepseek-stack --skill ds-blueprint -a gemini-cli2Командой платформы
gemini skills install https://github.com/aicodeking/deepseek-stack --path skills/ds-blueprintВручную: положить файлы
.devin/skills/ds-blueprint/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add aicodeking/deepseek-stack --skill ds-blueprint -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о ds-blueprint
Как установить ds-blueprint в Claude Code?
Выполните команду npx skills add aicodeking/deepseek-stack --skill ds-blueprint -a claude-code. Также файл можно разместить вручную по пути ~/.claude/skills/ds-blueprint/SKILL.md.
Что делает скилл ds-blueprint?
Он разбивает задачу на этап проектирования каркаса и этап реализации. Помощник создаёт компилируемые наброски с типами и заглушками, согласует схему и затем пишет тела функций по одному за шаг.
Что произойдёт, если каркас окажется неудачным?
Если в процессе написания логики каркас пришлось переделывать три раза, скилл прерывает выполнение и требует согласовать архитектуру заново.
Исходный текст
SKILL.md · MIT
--- name: ds-blueprint description: "Design the types, function signatures and module layout first, agree on that shape, then implement against it. Use when work is non-trivial and coding straight away would lock in the wrong structure, or for /ds-blueprint, 'design this first', 'architect this'." --- # ds-blueprint Fix the shape of the code before writing the bodies, so the model fills in a plan instead of inventing one as it goes. ## Steps 1. Ground yourself. Read every module the new code will touch. If you cannot explain how they fit together, run /ds-explain first. Skip this only for code with no surrounding system. 2. Write at least two structurally different sketches. Each sketch is real files with types, signatures, module boundaries and stub bodies that raise "not implemented", plus short pseudocode. Use /ds-best-of-n to produce them in parallel when the design matters. 3. Compare the sketches. Prefer the one with the smaller public surface that hides more inside. Prefer the one where a change that looks right from a single file is also right for the whole repo. Note what you rejected and why. 4. Run the type checker or compiler on the chosen sketch. Paste the output. Stubs must compile. 5. Show the user the chosen sketch and wait for agreement before you fill in bodies. In an unattended run, record the choice with /ds-ledger instead. 6. Implement one stub at a time. After each, run the type checker and the relevant tests. If the sketch turns out wrong, stop and revise the sketch, not just the body. 7. Delete leftover stubs, dead sketches and unused types. Grep for "not implemented" to prove none remain. ## Stop when - Every stub is implemented, the type checker passes and the tests pass, with output shown. - Or the sketch needed three revisions during implementation. Stop and redesign with the user. ## Rules - Signatures change only through step 6's revise path, never silently. - Keep each sketch file small enough to read in one pass. - Evidence is compiler and test output, not "it should work".
© aicodeking · MIT · aicodeking/deepseek-stack