Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

implement-sprint

БесплатноБез исполняемых скриптовНе проверен

Automated sprint implementation in a worktree with context discipline and quality gates.

leogodin217от 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 of state.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-sprint when 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:

  1. If a reviewer returns VERDICT: REVISIONS NEEDED, you MUST launch a fixer agent. You may NOT dismiss, reinterpret, or skip any finding.
  2. If you disagree with a finding, include your disagreement alongside the finding in the final presentation. The user decides — you do not.
  3. You never evaluate whether code is "intentional," "acceptable," or "a known pattern." Route findings; don't filter them.
  4. Gates run once. Each test command in state.yaml:gates.tests runs 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.
  5. 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.
  6. Within the worktree, only touch sprint-scoped files. Commit only the files your implementer reported (git add <paths>), never git 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-sprint or /create-sprint-from-pending)
  • state.yaml:parent_branch is set
  • Contracts in spec.md are fully defined
  • The worktree exists and is bootstrapped (/create-sprint Step 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-sprint must 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> && claude

then 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 commands
  • phases.<N>.name and phases.<N>.demo for 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

Полный SKILL.md на GitHub

Установить 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), без исполняемых скриптов.

Похожие скиллы

Сравнить implement-sprint с