build-loop-claude-code — скилл для Claude Code: сборка, ревью, тесты
Гоняет каждую задачу по кругу: собрать, проверить ревью, протестировать вживую, починить. Пока в плане остаются незакрытые пункты, цикл не останавливается.
npx skills add BuildGreatProducts/builder-os --skill build-loop-claude-code -a claude-codeЧто делает build-loop-claude-code
Скилл берёт работу из плана в репозитории — ищет файл с чекбоксами - [ ] и делает первую невыполненную задачу. Порядок задач намеренный, перескакивать нельзя. Если плана нет или запрос вне его, скилл собирает фичу прямо из промпта: сначала переформулирует его в проверяемую цель с 2–4 критериями успеха и одним сообщением подтверждает объём.
Дальше каждый шаг проходит ворота качества. Реализация — минимальная, без запаса на будущее, в стиле проекта. Затем /review по изменённому коду, а если правка касается авторизации, платежей, пользовательского ввода или доступа к данным — ещё и /security-review. Находки правятся, /review гоняется заново до чистоты. Потом полный прогон тестов и ручная проверка сценария как пользователь: пустое состояние, загрузка, ошибка.
Что важно знать заранее: скилл опирается на слэш-команды /review и /security-review из Claude, без них шаг ревью не отработает. Если находка ревью противоречит задаче или спецификации, побеждает спецификация — скилл просто помечает расхождение. Задача не закрывается, пока тесты падают, и следующая не начинается на сломанном приложении.
Какие задачи решает
- выполнить следующую задачу из плана по порядку
- провести ревью изменённого кода и починить найденное
- прогнать фичу вручную через пустое, загрузочное и ошибочное состояния
- не закрывать задачу, пока тесты не позеленели
- отчитаться о том, что сделано и что осталось на потом
Примеры запросов агенту
- запусти build loop по плану в репозитории
- собери следующую задачу из плана
- доделай эту фичу как следует: сборка, ревью, тесты
Как установить build-loop-claude-code
1Через Skills CLI (Vercel)
npx skills add BuildGreatProducts/builder-os --skill build-loop-claude-code -a claude-code2Вручную: положить файлы
~/.claude/skills/build-loop-claude-code/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/build-loop-claude-code/
1Через Skills CLI (Vercel)
npx skills add BuildGreatProducts/builder-os --skill build-loop-claude-code -a codex2Вручную: положить файлы
.agents/skills/build-loop-claude-code/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add BuildGreatProducts/builder-os --skill build-loop-claude-code -a cursor2Вручную: положить файлы
.cursor/skills/build-loop-claude-code/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install BuildGreatProducts/builder-os build-loop-claude-code2Вручную: положить файлы
.github/skills/build-loop-claude-code/SKILL.md1Через Skills CLI (Vercel)
npx skills add BuildGreatProducts/builder-os --skill build-loop-claude-code -a gemini-cli2Командой платформы
gemini skills install https://github.com/BuildGreatProducts/builder-os --path skills/build-loop-claude-codeВручную: положить файлы
.devin/skills/build-loop-claude-code/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add BuildGreatProducts/builder-os --skill build-loop-claude-code -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о build-loop-claude-code
Как установить build-loop-claude-code в Claude?
Через skills CLI: npx skills add BuildGreatProducts/builder-os --skill build-loop-claude-code -a claude-code. После этого файл скилла лежит в ~/.claude/skills/build-loop-claude-code/SKILL.md.
Что делает build-loop-claude-code?
Ведёт фичу по циклу сборка → ревью → тесты → починка. Запускает /review и при чувствительных участках /security-review, правит находки и проверяет сценарий вживую, пока все пункты плана не закрыты.
Что нужно, чтобы шаг ревью сработал?
Слэш-команды /review и /security-review из Claude. Без них этап проверки кода не выполнится, и цикл останется незавершённым.
Исходный текст
SKILL.md · MIT
--- name: build-loop-claude-code description: Use when building features with **Claude Code** in any codebase and the work should go through a disciplined build → review → test → fix loop. Triggers on "run the build loop", "build the next task", "continue the plan", "build this feature properly", or any request to implement work from a plan file or a direct feature prompt. Builds from the plan (or the prompt if no plan exists), runs Claude Code's `/review` (plus `/security-review` for sensitive surfaces) and fixes every issue found, tests and verifies the feature end to end, fixes anything testing surfaces, and reports back once complete. Repeats until all plan tasks are checked off. license: MIT metadata: author: BuilderOS version: "1.0" --- # Claude Code Build Loop Quality-gated feature work: nothing ships on "it compiles" — every increment is built, reviewed, tested end to end, and fixed before the user hears "done." ## Source of work - **A plan file exists** (roadmap, refactor plan, or task list with `- [ ]` checkboxes — search the repo): work the first unchecked task. Tasks are ordered intentionally — never skip ahead. If the plan references spec docs, read only the sections relevant to the current task. - **No plan (or the request is outside it):** build from the user's prompt. Restate it as a verifiable goal with 2–4 success criteria and confirm scope in one message before building. ## The loop Run per task (or per prompted feature). Do not advance until every step passes. 1. **Build.** Implement exactly what the task specifies. Simplest implementation that satisfies it, surgical changes, no speculative scope. Match existing project conventions. 2. **Review.** Run **`/review`** on the changed code. If the change touches auth, payments, user input, or data access, also run **`/security-review`**. Fix all findings in scope — bugs, security issues, edge cases, performance, style in files you touched. If the project has a design system spec (design tokens file, DESIGN.md, theme config), check UI changes against it — no hardcoded colors, type, or spacing that bypass tokens. Note pre-existing issues in untouched code for the report instead of fixing silently. Re-run `/review` until clean. If a finding contradicts the task or spec, the spec wins — flag the disagreement. 3. **Test end to end.** Run the task's verification step (or the success criteria). Run the full test suite — everything that passed before must still pass. Add tests for new logic. Then exercise the feature as a user would: run the app, walk the real flow including empty, loading, and error states. 4. **Fix.** Anything testing finds goes back through the loop: fix → `/review` → re-test. Never mark a failing task complete; never start the next task with the app broken. 5. **Continue.** Mark the task `- [x]`, update any progress/status line in the plan, and loop to the next task until the requested scope is complete. 6. **Report.** When done, tell the user: what was built and plan progress, review findings fixed and anything deferred, how it was verified (tests + flow walked), and what needs their attention next. Be honest about anything flaky or partially verified. ## Rules - Skipped review or untested work = unfinished work. - Don't relitigate plan decisions; if a task seems wrong, ask one specific question rather than guessing. - Discovered work no task covers? Surface it and propose a task — never silently expand scope.
© BuilderOS · MIT · BuildGreatProducts/builder-os