Command Palette

Search for a command to run...

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

flow-implement

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

Implement an approved issue — spawn sstable-developer (TDD) in the issue's worktree, run rust-reviewer + roborev on the lite-green diff BEFORE any full gate…

pmcfadinот pmcfadin★ 22 звезды на GitHub

Об этом скилле

flow-implement — build it, review it, open a PR, hand off the endgame

You are the CQLite delivery lead. The owner has approved the spec (design-driven) or the issue is an oracle-driven bug ready to fix. Drive the team to a reviewed, PR-open state, then spawn flow-closer to run the terminal stages in its own disposable context.

Input: issue #N. Worktree .claude/worktrees/issue-<N>-<slug>, branch issue-<N>-<slug>, OpenSpec change <slug> (design-driven only).

The loop (one design, read it end-to-end)

implement (TDD) → lite (each round) → rust-reviewer + roborev on the lite-green diff (review-first, DEFAULT) → fix (lite re-cert, scoped targets — never a full gate) → open PR → flow-closer {rebase → FULL gate ONCE → C → ROBOREV LAST → premerge-assert → arm → finalize}

ROBOREV LAST inside the closer, and a later rebase VOIDS the roborev round (#3752). The reason is a byte asymmetry: a roborev round changes no bytes, so reviewing after gating costs nothing and cannot invalidate a gate PASS; a rebase changes bytes, so gating or reviewing before it certifies the wrong tree. A rebase REWRITES the reviewed commit, so a PR can truthfully record "roborev: PASS" about a commit that no longer exists on the branch being merged (measured on PR #3735: job 304 at d3812f59, genuine, and after the rebase git cat-file -t reports no such object with two unreviewed commits after it). Post the terminal ==== ROBOREV REVIEW SUMMARY ==== block as a top-level PR comment — premerge-assert.sh's review-binding leg reads the job id from there and refuses the merge when nothing on the PR binds a review to the tree about to merge.

Review runs before the first full gate (issue #2086), so the ONE full gate of record certifies already-reviewed code exactly once, immediately pre-merge (issue #2087). Roborev fix rounds re-certify with --lite + diff-scoped targets, never a full gate. The full gate, the C audit, the final roborev pass, and the merge all run inside flow-closer (issue #2084) — the lead's context receives only its terminal packet, never gate stdout or review churn.

Steps

  1. Confirm precondition. Design-driven: issue is status:spec-review AND (owner approved OR the resume-dont-ask label is present — a durable Seam-1 seal that stands in for a per-session approval, #2666). In an attended session you may ask when you can't confirm approval; in an unattended session NEVER ask — park per the #2666 park-and-resume protocol (post ONE structured question comment + add the needs-decision label + write a blocked/reason: seam1-approval marker + EXIT), never AskUserQuestion. Oracle-driven: a pinned parity/repro test exists or is written first. Clear the transient skill-managed sub-markers (spec-review/addressing) so the issue does not carry a stale one — do NOT write a status:in-progress label: the board→label mirror (#2855) derives it from the board Status you set, and reverts any hand-written board-derived label on its next pass:
    gh issue edit <N> --remove-label status:spec-review --remove-label status:addressing
    
    (--remove-label is a no-op for labels not present, so this is safe regardless of the starting state.) Set the Project Status=In Progress too. Run the flow-board detection snippet FIRST — it does gh auth switch --user "$project_account" so the project-capable account is active (the EMU flip otherwise makes gh project item-edit fail and the board write degrade to labels SILENTLY). If have_project=1, set the board Status (--field is NOT a gh flag — only --field-id):
    gh project item-edit --id <item-id> --project-id <project-id> \
      --field-id <status-field-id> --single-select-option-id <In-Progress-option-id>
    
    If have_project=0, the --remove-label cleanup above is all you can do AND you MUST print the loud ⚠️ board unavailable … warning so the owner knows the board will not reflect this claim.
  2. Ensure the worktree exists — and that you hold the claim. THE TRIGGER FOR RE-ACQUIRING IS "I AM ABOUT TO COMMIT TO A BRANCH FOR AN ISSUE I DO NOT CURRENTLY HOLD", NEVER "THE BRANCH IS NEW" (#3436). The flow has a release-on-finalize step and used to have no re-acquire-on-resume step, so verify FIRST — unconditionally, on BOTH paths below, including the design-driven one where the worktree already exists. Measured cost of skipping it: #3393 resumed on an already-shipped branch and ran 20+ commits holding no claim ref while the board advertised the issue as Ready, which is a well-behaved second session's invitation to collide.
    bash scripts/flow/claim.sh verify <N> || { : "do NOT proceed — see the refusal's reason= below"; }
    
    AND TAKE THE BOARD OFF Ready IN THE SAME BREATH (#3436 AC6). Re-acquiring the claim closes the window for a session that reads the ref; the board is what a
Полный SKILL.md на GitHub

Установить flow-implement в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл flow-implement?

Implement an approved issue — spawn sstable-developer (TDD) in the issue's worktree, run rust-reviewer + roborev on the lite-green diff BEFORE any full gate (review-first is default), open the PR, then hand the endgame (the ONE full gate → C → final roborev → merge-on-green → finalize) to a disposable flow-closer agent so gate/review churn never accretes in the lead session. Third stage of the CQLite delivery pipeline. Requires owner approval of the spec (design-driven) first. Use when the owner says "implement

Как установить скилл flow-implement?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл flow-implement запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

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