build-epic
БесплатноБез исполняемых скриптовНе проверенEight-step epic build cycle — reads state.yaml, execution-status.yaml, and one epic capsule; updates status via bp-yaml-set or direct edit. Resume mode runs…
от danielvm-git★ 298 звёзд на GitHubОб этом скилле
Build Epic
Scope: one story. Called by orchestrate-project Phase 4. Not a replacement for orchestrate-project.
Orchestrates the build flow for a single epic: survey → plan tasks → kickoff → TDD → verify → audit → commit → release.
HARD GATE — Set
specs/state.yamlactive_flow: build_epicandactive_epic: eNNbefore starting.HARD GATE — Not on
main/masterbefore step 3 (kickoff-branch).
Nine steps (epic_cycle in state.yaml)
| Step | Skill / action |
|---|---|
| 0 | security-review — threat-model epic scope → specs/security/epics/<id>/THREAT_MODEL.md |
| 1 | survey-context — confirm epic + story |
| 2 | plan-work — flesh out story tasks[] in specs/epics/eNN-slug/epic.yaml |
| 3 | kickoff-branch — feature branch + clean baseline |
| 4 | develop-tdd — red-green per task |
| 5 | verify-work — UAT + mechanical gates |
| 6 | audit-code — non-optional gate (pass/fail; fail → loop back to step 4) |
| 7 | commit-message — Conventional Commits draft |
| 8 | release-branch — PR or solo land (supports --squash-state) |
Process
- Read
specs/state.yaml,specs/execution-status.yaml,specs/release-plan.yaml, activespecs/epics/eNN-slug/epic.yaml.- On story start (step 1): Write
started_atISO 8601 timestamp toexecution-status.yamlunder the story's key in thestories:section. Thebp-timing.shscript already tracks skill-level timings — this is story-level.
- On story start (step 1): Write
- Step 0 — Threat Model: Run
security-reviewagainst the epic's scope (read from the epic capsule). Outputspecs/security/epics/<epic-id>/THREAT_MODEL.mdwith surface area, vulnerability categories, risk level, and mitigation guidance. - Assess Impact (Step 2): Before writing tasks, run
assess-impact --lightweighton the proposed change. If the risk score exceeds 7, gate — require agrill-mesession. Write the impact report tospecs/IMPACT-<epic>-<story>.md. For net-new code with no existing dependents, skip. - BCP Tracking (Step 2): After
plan-workcompletes, read thebcps:count (Business Complexity Points story size) from the epic capsule and carry it intostate.yamlasepic_cycle.story_bcps = N. - BCP Plus (Step 2, optional): When the epic capsule carries a
bcp_plus_breakdown(13-dimension sizing), also carry it intostate.yamlasepic_cycle.bcp_plus. The breakdown maps each of the 13 dimensions to an integer count. NFR dimensions (11–13) that are N/A per the NFR Gate may be set to 0. - If
epic_cycle.stepmissing, set to1. - Run only the current step (resume mode) unless user asked for full auto-run.
- After step verify passes, increment
epic_cycle.stepinstate.yaml(orbash scripts/bp-yaml-set.shif available). - On story complete, set
execution-status.yamlstory key todone; runbash scripts/sync-status-from-epics.sh.On story complete (step 8): Write
completed_atISO 8601 timestamp toexecution-status.yamlunder the same story key. Format:stories: e01s01: status: done started_at: "2026-07-12T16:00:00-03:00" completed_at: "2026-07-12T18:45:00-03:00"
- Traceability refresh: Before step 8 (release-branch), run
bash scripts/trace-stories.shto regeneratespecs/traceability-matrix.json,specs/TRACEABILITY_LATEST.md, and thespecs/codebase-wiki/OKF bundle. Surface dark/orphan/stale findings for the just-built epic in your verify summary. Ifscripts/trace-stories.shis missing or fails, note "trace skipped" and continue — trace failure must be visible, not silent (blocking is gate-trace's job, e38s06).
9b. OKF wiki refresh (e39s08): Before step 8, run maintain-wiki INGEST to refresh the OKF wiki bundle:
bash scripts/decompose-conventions.sh
bash scripts/generate-agent-guide.sh
If any script is missing or fails, note "OKF wiki refresh skipped" and continue. This is non-blocking — stale concepts are caught by LINT in verify-work Phase 3.
Step 6 — audit-code gate (non-optional)
After step 5 (verify-work) completes successfully, step 6 runs audit-code automatically in --gate mode:
- Run audit: Invoke
audit-code --gateon the complete diff for this story. - Pass (exit 0): All checklist sections pass → run
bash scripts/lib/assert-epic-gate.sh advanceto mechanically confirm the audit pass, then advance to step 7 (commit-message). Recordepic_cycle.audit_result: passinstate.yaml. - Fail (exit 1): One or more checklist sections fail → reset
epic_cycle.current_stepto4(develop-tdd) and add the failing section IDs tocompleted_stepsas"1,2,3,4,5,6(fail: ...)". Recordepic_cycle.audit_result: failinstate.yaml. Do NOT advance past step 6 until audit passes. - Audit artifact: Full audit report saved to
specs/verifications/AUDIT-<epic>-<story>.mdregardless of pass/fail, for reviewer trac
Установить build-epic в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл build-epic?
Eight-step epic build cycle — reads state.yaml, execution-status.yaml, and one epic capsule; updates status via bp-yaml-set or direct edit. Resume mode runs one step per invocation. Use instead of ad-hoc execute-plan for release work.
Как установить скилл build-epic?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл build-epic запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic