comet-build
БесплатноБез исполняемых скриптовНе проверенComet Phase 3: Plan and Build. Invoke with /comet-build. Create plans and select execution method (subagent or direct) for implementation.
от rpamis★ 3 332 звезды на GitHubОб этом скилле
Comet Phase 3: Plan and Build (Build)
Prerequisites
- Design Doc has been created (Phase 2 complete)
- Active change exists
Steps
0. Entry State Verification (Entry Check)
Execute entry verification:
COMET_ENV="${COMET_ENV:-$(find . "$HOME"/.*/skills "$HOME/.config" "$HOME/.gemini" -path '*/comet/scripts/comet-env.sh' -type f -print -quit 2>/dev/null)}"
if [ -z "$COMET_ENV" ]; then
echo "ERROR: comet-env.sh not found. Ensure the comet skill is installed." >&2
return 1
fi
. "$COMET_ENV"
"$COMET_BASH" "$COMET_STATE" check <name> build
Proceed to Step 1 after verification passes. The script outputs specific failure reasons when verification fails.
Idempotency: All build phase operations can be safely re-executed. Read .comet.yaml phase field to confirm still in build, read plan header base-ref, then use grep -n '\- \[ \]' tasks.md | head -1 to find the first unchecked task. Already-committed tasks must not be re-committed.
1. Create Plan (Subagent Offload)
Create the implementation plan through a subagent, avoiding planning skill occupying main session context. Plan files and execution feedback must use the language of the user request that triggered this workflow.
Subagent instructions:
You are an implementation planning expert. Create an implementation plan based on the following inputs:
- Immediately execute: Use the Skill tool to load the Superpowers
writing-plansskill. Skipping this step is prohibited. After the skill loads, ARGUMENTS must include:Language: Use the language of the user request that triggered this workflow - Read the Design Doc (technical design document under
docs/superpowers/specs/) - Read
openspec/changes/<name>/tasks.md(task boundaries) - Follow the skill's guidance to create the plan
Plan requirements:
- Save to
docs/superpowers/plans/YYYY-MM-DD-<feature>.md - Reference design document, break down into executable tasks
- Plan file header must contain associated metadata:
---
change: <openspec-change-name>
design-doc: docs/superpowers/specs/YYYY-MM-DD-<topic>-design.md
base-ref: <git rev-parse HEAD before implementation>
---
base-ref is used during verification to measure committed changes across the full implementation range. Record the current commit when creating the plan:
git rev-parse HEAD
Write the plan to file, then return the file path.
Execute subagent: Use the current platform's subagent dispatch mechanism to send the above task.
After the subagent completes:
- If a valid file path is returned and the file exists, record it as the plan
- If the subagent fails or returns an invalid path, fall back to loading the Superpowers
writing-plansskill inline in the main session (degraded fallback)
2. Update Plan Status and Provide Plan-Ready Pause Point
Record plan path:
"$COMET_BASH" "$COMET_STATE" set <name> plan docs/superpowers/plans/YYYY-MM-DD-feature.md
No manual phase update needed — guard auto-transitions when exit conditions are met.
After the plan is recorded, immediately provide a new user decision point:
| Option | Behavior | Description |
|---|---|---|
| A | Continue execution | Stay in the current model and proceed to Step 3 to choose workspace isolation and execution method |
| B | Pause to switch model | Record build_pause: plan-ready, stop this /comet-build invocation, and allow the user to resume later from /comet or /comet-build |
This is a user decision point. Must follow the comet/reference/decision-point.md protocol to pause and wait for the user to explicitly choose. Must not auto-continue and must not write the pause into build_mode.
When the user chooses to continue:
"$COMET_BASH" "$COMET_STATE" set <name> build_pause null
When the user chooses to pause:
"$COMET_BASH" "$COMET_STATE" set <name> build_pause plan-ready
After setting build_pause: plan-ready, stop the current invocation. Do not choose isolation or build_mode, and do not load an execution skill.
3. Select Workflow Configuration
If resuming with build_pause: plan-ready and the plan file exists, do not rerun writing-plans. First tell the user the workflow is stopped at the plan-ready pause point; after the user confirms continuing, set:
"$COMET_BASH" "$COMET_STATE" set <name> build_pause null
Then continue this step to choose workspace isolation and execution method.
Plan has been written to the current branch. Before starting execution, ask the user to choose both workspace isolation and execution method in a single interaction:
Workspace Isolation:
| Option | Method | Description |
|---|---|---|
| A | Create branch | Create a new branch in the current repo, simple and fast |
| B | Create Worktree | Isolated workspace, fully independent, suitable for parallel development |
Recommendation rules:
- Change involves ≤ 3 files
Установить comet-build в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл comet-build?
Comet Phase 3: Plan and Build. Invoke with /comet-build. Create plans and select execution method (subagent or direct) for implementation.
Как установить скилл comet-build?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл comet-build запускает скрипты?
Нет, скилл состоит только из инструкций (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