implement-sprint
БесплатноБез исполняемых скриптовНе проверенAutomated sprint implementation in a worktree with context discipline and quality gates.
от leogodin217★ 65 звёзд на GitHubОб этом скилле
Implement Sprint
Automated sprint implementation in an isolated worktree with binding quality gates. Runs all phases without stopping, presents results for ACCEPT or FIX.
Argument
/implement-sprint <sprint-name> — required when more than one sprint dir exists with at least one phase still pending. If exactly one such sprint exists, the name may be omitted and is auto-detected from docs/sprints/*/state.yaml.
Conventions
Throughout this skill:
<sprint>— the sprint name<parent>— value ofstate.yaml:parent_branch(the branch the worktree forks from and the sprint eventually merges back into)<worktree>—../worktrees/<sprint>(sibling of the main checkout); this session runs inside it (cwd == the worktree's repo top)<sprint-branch>—sprint/<sprint>(created by/create-sprintwhen it forked the worktree)
Orchestrator Role
You are a router, not a judge. You launch agents, run automated gates, and relay results. You do NOT interpret technical findings or make quality decisions about code you haven't read.
Binding rules:
- If a reviewer returns
VERDICT: REVISIONS NEEDED, you MUST launch a fixer agent. You may NOT dismiss, reinterpret, or skip any finding. - If you disagree with a finding, include your disagreement alongside the finding in the final presentation. The user decides — you do not.
- You never evaluate whether code is "intentional," "acceptable," or "a known pattern." Route findings; don't filter them.
- Gates run once. Each test command in
state.yaml:gates.testsruns exactly once per phase. Any non-zero exit halts automation. You do NOT retry with variant flags, read source files to diagnose, or launch subagents to debug gate failures. Report and halt. - You are inside the worktree and never leave it. This session was launched from
<worktree>, so cwd is the worktree's repo top; every read, write, gate, and commit stays here. The main checkout is the user's space — never reference an absolute path under it. If a tool (e.g. cclsp) returns a main-checkout path, it is wrong — re-resolve it against cwd before reading or editing. - Within the worktree, only touch sprint-scoped files. Commit only the files your implementer reported (
git add <paths>), nevergit add -A. The worktree was forked clean from<parent>, so this is paranoia not necessity — but it stays as a binding rule.
Prerequisites
- Sprint scaffold committed at
docs/sprints/<sprint>/on<parent>(created by/create-sprintor/create-sprint-from-pending) state.yaml:parent_branchis set- Contracts in
spec.mdare fully defined - The worktree exists and is bootstrapped (
/create-sprintStep 10) - This session was launched from inside
<worktree>(cd ../worktrees/<sprint> && claude), so its cclsp/LSP is worktree-scoped
Pre-Flight Checks
Run these in order. Do NOT skip or reorder.
1. Assert this session is inside the sprint worktree
The worktree was created and bootstrapped by /create-sprint (Step 10), and this session must have been launched from inside it (cd ../worktrees/<sprint> && claude). That launch is what scopes cclsp/LSP, cwd, and git to the worktree — it is the entire safety mechanism. Verify it before doing anything else:
git rev-parse --show-toplevel # must end with /worktrees/<sprint>
git branch --show-current # must equal sprint/<sprint>
git rev-parse --git-common-dir # differs from --git-dir → confirms a linked worktree
If the toplevel is the main checkout (not under worktrees/), halt — do not create anything, do not proceed:
/implement-sprintmust run from inside the worktree, or cclsp leaks main-checkout paths and a stray write/commit can land on the parent branch. Run:cd ../worktrees/<sprint> && claudethen re-run
/implement-sprint <sprint>in that session.
If the worktree does not exist at all, /create-sprint did not complete — halt and tell the user to re-run it.
2. Resolve sprint name
If the user passed <sprint> as an argument, use it. Otherwise derive it from the current branch (sprint/<sprint>), falling back to the unique docs/sprints/*/state.yaml with at least one pending phase. If ambiguous, halt and ask the user to specify.
3. Read state.yaml and spec.md
From the worktree (cwd), read docs/sprints/<sprint>/state.yaml:
sprint— must equal<sprint>parent_branch— must be set; this is<parent>, and<sprint-branch>must descend from it (sanity-confirms the worktree's lineage)gates.tests— list of shell commandsphases.<N>.nameandphases.<N>.demofor every phase- At least one phase with
status: pending
If any field is missing, halt — the sprint plan is incomplete and should be re-emitted by /create-sprint.
Then read docs/sprints/<sprint>/spec.md once, upfront, only to confirm the sprint name in the H1 matches <sprint>.
User-facing status line:
Inside worktree `<worktr
Установить implement-sprint в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл implement-sprint?
Automated sprint implementation in a worktree with context discipline and quality gates.
Как установить скилл implement-sprint?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл implement-sprint запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic