Command Palette

Search for a command to run...

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

comet

БесплатноЗапускает вложенные скриптыНе проверен

Comet — OpenSpec + Superpowers dual-star development workflow. Start with /comet for automatic phase detection and dispatch to subcommands. Five phases: open…

rpamisот rpamis★ 3 332 звезды на GitHub

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

Comet — OpenSpec + Superpowers Dual-Star Development Workflow

OpenSpec and Superpowers orbit the same goal like a binary star system.

OpenSpec handles WHAT  — outline, proposal, spec lifecycle, archive
Superpowers handles HOW — technical design, planning, execution, closing

Core principle: brainstorming cannot be skipped. Every change must undergo deep design (except hotfix and tweak presets).


Decision Core

Agents need only read this section for decision-making. Refer to the Reference Appendix as needed.

Output Language Rule

Use the language of the user request that triggered this workflow as the default output language. When resuming an existing change with a clear dominant artifact language, preserve that language unless the user explicitly asks to switch.

Automatic Phase Detection

Step 0: Active Change Discovery and Intent Detection

  1. Detect presets first; if hotfix/tweak matches, invoke the corresponding preset skill directly and do not enter the normal open branch
  2. When no preset matches, run openspec list --json to get all active changes

Preset detection has highest priority:

  • User explicitly describes a bug fix / hotfix + meets hotfix conditions → directly invoke /comet-hotfix
  • User explicitly describes copy/config/docs/prompt small adjustment + meets tweak conditions → directly invoke /comet-tweak
  • No preset match → follow the table below
Active changes User input Behavior
None non-preset input → Invoke /comet-open
Exactly 1 /comet <description> → Ask: continue this change or create a new change
Multiple /comet <description> → Ask: continue existing or create new; if continuing, list changes for selection
Exactly 1 /comet with no description → Auto-select, enter Step 1
Multiple /comet with no description → List changes for user selection
When the user chooses "create a new change", **must invoke `/comet-open`**. Do not call `/opsx:new` directly. `/comet-open` performs dual initialization: OpenSpec artifacts (created by internal `/opsx:new`) plus `.comet.yaml` state file. Calling `/opsx:new` directly leaves `.comet.yaml` missing and breaks later phase detection.

Step 1: Read .comet.yaml state metadata

Prefer reading openspec/changes/<name>/.comet.yaml. If not available, fall back to openspec status --change "<name>" --json, tasks.md, and docs/superpowers/ file checks.

Resume rules:

  • On every context resume, rerun Step 0 and Step 1; do not trust conversation history for phase detection
  • If there is an active change and the worktree has uncommitted changes, handle them through comet/reference/dirty-worktree.md. That protocol defines checks, attribution, and prohibitions; this file does not repeat them
  • If phase: build, first check build_pause, plan, build_mode, and isolation (see details below):
    • If build_pause: plan-ready but isolation and build_mode are already set, treat as stale pause: first output [COMET] Detected stale pause (build_pause=plan-ready but isolation/build_mode already set), auto-clearing and continuing, then run "$COMET_BASH" "$COMET_STATE" set <name> build_pause null, then read the next unchecked task from tasks.md and resume execution per build_mode
    • If build_pause: plan-ready and the plan file exists, but isolation or build_mode is not yet set, return to the /comet-build plan-ready resume point, prompt the user to choose isolation and execution method, and do not regenerate the plan
    • If build_pause: plan-ready but the plan file is missing, return to /comet-build to handle corrupted state or regenerate the plan
    • If build_mode, isolation, or tdd_mode is unset, return to the corresponding /comet-build step to supplement before executing
    • If all are set, read the next unchecked task from tasks.md and continue:
      • If build_mode: subagent-driven-development, do not execute tasks directly in the main window; return to /comet-build's background subagent dispatch rules, main window only coordinates
      • Other execution modes follow /comet-build's corresponding rules
  • If phase: verify and verify_result: fail, enter the verification failure decision blocking point: pause and ask the user to fix or accept deviation; only after the user chooses fix, run "$COMET_BASH" "$COMET_STATE" transition <name> verify-fail and invoke /comet-build
  • If phase: open but proposal/design/tasks are complete, first run "$COMET_BASH" "$COMET_GUARD" <change-name> open --apply to repair state, then continue detection
  • If phase: archive, only invoke /comet-archive; /comet-archive must first wait for final archive confirmation. After archive succeeds, the change moves to the archive directory, so do not run guard against the old active directory

Step 2: Phase Determination (check in order, first match wins)

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

Установить comet в Claude Code и Claude Desktop

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

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

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

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

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

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

Вложенные файлы

reference/auto-transition.mdreference/comet-yaml-fields.mdreference/context-recovery.mdreference/debug-gate.mdreference/decision-point.mdreference/dirty-worktree.mdreference/file-structure.mdreference/subagent-dispatch.mdrules/comet-phase-guard.mdscripts/comet-archive.shscripts/comet-env.shscripts/comet-guard.shscripts/comet-handoff.shscripts/comet-hook-guard.shscripts/comet-state.shscripts/comet-yaml-validate.sh

FAQ

Что делает скилл comet?

Comet — OpenSpec + Superpowers dual-star development workflow. Start with /comet for automatic phase detection and dispatch to subcommands. Five phases: open → design → build → verify → archive.

Как установить скилл comet?

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

Скилл comet запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

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

Сравнить comet с