Source profileQuality 90/100

rpamis/comet/eval/local/skills/benchmarks/039-release/comet-classic-039/SKILL.md

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.

Source repository stars
2,640
Declared platforms
0
Static risk flags
0
Last source update
2026-08-05
Source checked
2026-08-05

Decision brief

What it does—and where it fits

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

Best for

    Not for

    • Tasks that require unconfirmed production actions or broad system permissions.
    • Environments where the pinned source and install steps cannot be inspected.

    Compatibility matrix

    Platform support, with evidence labels

    PlatformStatusEvidenceWhat to check
    CodexNot declaredNo explicit evidencePortability before use
    Claude CodeNot declaredNo explicit evidencePortability before use
    CursorNot declaredNo explicit evidencePortability before use
    Gemini CLINot declaredNo explicit evidencePortability before use
    Open the compatibility checker

    Installation

    Inspect first. Install second.

    The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

    Source-detected install commandSource
    npx skills add https://github.com/rpamis/comet --skill "eval/local/skills/benchmarks/039-release/comet-classic-039"
    Safe inspection promptEditorial

    Inspect the Agent Skill "comet" from https://github.com/rpamis/comet/blob/966d6cbebc2b044a341e6f60968d7d64cbee18dd/eval/local/skills/benchmarks/039-release/comet-classic-039/SKILL.md at commit 966d6cbebc2b044a341e6f60968d7d64cbee18dd. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

    Workflow

    What the source asks the agent to do

    1. 01

      Automatic Phase Detection

      Step 0: Active Change Discovery and Intent Detection

      Detect presets first; if hotfix/tweak matches, invoke the corresponding preset skill directly and do not enter the normal open branchWhen no preset matches, run openspec list --json to get all active changesUser explicitly describes a bug fix / hotfix + meets hotfix conditions → directly invoke /comet-hotfix
    2. 02

      Phase Transitions

      A single /comet invocation starts from the detected phase and advances to the next phase when exit conditions are met.

      Open phase proposal/design/tasks review and confirmationConfirm design approach during brainstormingPlan-ready pause choice during build phase, followed by workflow configuration selection (isolation + execution method + TDD mode)
    3. 03

      Stop workflow when script location fails

      if [ -z "$COMETGUARD" ] || [ -z "$COMETSTATE" ] || [ -z "$COMETHANDOFF" ] || [ -z "$COMETARCHIVE" ]; then echo "ERROR: Comet scripts not found. Ensure the comet skill is installed." &2 echo "Expected path pattern: /comet/scripts/comet-.sh under project or platform skill director…

      brainstorming cannot be skipped — Every change must undergo deep design (except hotfix and tweak)delta spec is a living document — Freely modify during phase 3, sync at archiveHandoff packages are generated by scripts — OpenSpec → Superpowers context must be generated through comet-handoff.sh as compact traceable excerpts (use --full when needed), and validated by guard for source/hash/mode
    4. 04

      Decision Core

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

      Detect presets first; if hotfix/tweak matches, invoke the corresponding preset skill directly and do not enter the normal open branchWhen no preset matches, run openspec list --json to get all active changesUser explicitly describes a bug fix / hotfix + meets hotfix conditions → directly invoke /comet-hotfix
    5. 05

      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.

      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 explicit…

    Permission review

    Static risk signals and limitations

    No configured static risk pattern was detected

    This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.

    Evidence record

    Why each signal appears

    EvidenceSourceComputedTestedEditorial
    SignalValueEvidence typeMeaning
    Quality score90/100ComputedDocumentation, specificity, maintenance, and trust rules
    Repository stars2,640SourceRepository attention, not individual Skill quality
    Compatibility0 platformsSourceDeclared in the catalog source record
    Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

    Pinned source

    Provenance and original SKILL.md

    Repository
    rpamis/comet
    Skill path
    eval/local/skills/benchmarks/039-release/comet-classic-039/SKILL.md
    Commit
    966d6cbebc2b044a341e6f60968d7d64cbee18dd
    License
    MIT
    Collected
    2026-08-05
    Default branch
    master
    View the original SKILL.md

    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 changesUser inputBehavior
    Nonenon-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

    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)

    1. archived: true or change moved to archive → Workflow complete
    2. verify_result: pass and archived is not true → Invoke /comet-archive (first perform final archive confirmation)
    3. verify_result: fail → Enter verification failure decision blocking point (pause and ask fix or accept deviation; only after user chooses fix, run verify-fail then /comet-build)
    4. phase: verify or tasks.md all checked → Invoke /comet-verify
    5. phase: build or has Design Doc but plan/execution incomplete → Route by workflow: hotfix/comet-hotfix, tweak/comet-tweak, full/comet-build
    6. phase: design or has change but no Design Doc → Invoke /comet-design
    7. phase: open or active change exists but .comet.yaml is missing → Invoke /comet-open
    8. No active change → Invoke /comet-open

    If metadata conflicts with file state, use verifiable file state as source of truth and correct .comet.yaml before continuing.

    Preset Upgrade Criteria

    hotfix → full (upgrade if any condition met):

    • Change involves 3+ files
    • Architecture changes (new modules, new interfaces, new dependencies)
    • Database schema changes
    • Fix introduces new public API
    • Fix scope exceeds a single function/module

    tweak → full (upgrade if any condition met):

    • Change involves 5+ files
    • Cross-module coordination required
    • 5+ new test cases needed
    • Config item additions or deletions (not value changes)
    • New capability needed
    • Delta spec needed (existing spec affected)

    Error Handling Quick Reference

    ScenarioHandling
    openspec list --json failsCheck if openspec is installed, prompt user to run openspec init
    Sub-skill unavailableStop workflow, prompt to install or enable the corresponding skill
    .comet.yaml malformed or missingUse file state as source of truth, correct with "$COMET_BASH" "$COMET_STATE" set then continue
    Build/test failsReturn to build phase for fixes, do not enter verify
    Incomplete change directory structureFill missing files according to comet-open artifact requirements

    Phase Transitions

    Flow chain: open → design → build → verify → archive

    Continuous execution requirement: starting from the detected phase, the agent automatically continues through all later phases. But auto-advancing only applies at transition points without user decisions. When encountering user decision points, must use the current platform's available user input/confirmation mechanism to pause and wait for the user's explicit response. Must not use recommendation rules, defaults, or historical preferences to substitute for user confirmation, and must not just output a text prompt and then continue executing.

    Distinguish phase advancement vs automatic handoff: each sub-skill runs phase guard --apply before exit to advance the .comet.yaml phase field. This step always happens and is not controlled by auto_transition. After that, the sub-skill runs "$COMET_BASH" "$COMET_STATE" next <name> to resolve the next action: when auto_transition is not false, output is NEXT: auto (auto-invoke next skill); when auto_transition is false, output is NEXT: manual (do not invoke next skill, show a manual run hint). Therefore auto_transition only controls next skill invocation, not phase advancement. Regardless of auto_transition, user decision points below remain blocking.

    Decision points are blocking points: whenever reaching any of the following nodes, the current /comet invocation must stop, and follow the comet/reference/decision-point.md protocol to obtain the user's explicit choice. Only after the user explicitly chooses can the corresponding state fields be written and operations executed, then auto-advance resumes.

    Nodes requiring user participation (pause only at these nodes):

    1. Open phase proposal/design/tasks review and confirmation
    2. Confirm design approach during brainstorming
    3. Plan-ready pause choice during build phase, followed by workflow configuration selection (isolation + execution method + TDD mode)
    4. Decide to fix or accept deviation when verify fails (including Spec drift handling)
    5. Choose branch handling method for finishing-branch
    6. Archive phase final confirmation before running the archive script
    7. Encounter upgrade conditions (hotfix/tweak → full workflow)
    8. Build phase scope expansion requiring redesign or new change split
    9. Open phase large PRD requiring confirmation to split into multiple changes

    Agents should not skip these decision points; other unambiguous phase transitions must proceed automatically, must not exit midway. At decision points, must not skip user confirmation or choose automatically — must explicitly obtain the user's choice through the current platform's available user input/confirmation mechanism before continuing.

    Red Flags — when these thoughts appear, STOP and check:

    Agent ThoughtActual Risk
    "The user would probably agree with this approach"Cannot decide for the user — use the current platform's user input/confirmation mechanism
    "This is a small change, confirmation isn't needed"Decision points have no size exception — blocking points must wait
    "The user chose A last time, so A again"Historical preference cannot substitute for current confirmation
    "I explained the plan and the user didn't object"No objection ≠ consent — must use tool to get explicit choice
    "The flow has reached this point, should be fine"Verification not passed ≠ passed — check verify_result

    Subcommand Quick Reference

    CommandPhaseOwnerArtifacts
    /comet-open1. OpenOpenSpecproposal.md, design.md, tasks.md
    /comet-design2. Deep DesignSuperpowersDesign Doc, delta spec
    /comet-build3. Plan and BuildSuperpowersImplementation plan, code commits
    /comet-verify4. Verify and CloseBothVerification report, branch handling
    /comet-archive5. ArchiveOpenSpecdelta→main spec sync, design doc markup, archive
    /comet-hotfixPreset pathBothQuick fix (skip brainstorming)
    /comet-tweakPreset pathBothSmall change (skip brainstorming and full plan)
    /comet
      ↓ Auto-detect
    /comet-open ──→ /comet-design ──→ /comet-build ──→ /comet-verify ──→ /comet-archive
      (OpenSpec)      (Superpowers)     (Superpowers)     (Both)          (OpenSpec)
    
    /comet-hotfix (preset, skip brainstorming)
      open ──→ build ──→ verify ──→ archive
        ↑ If upgrade triggered → block for confirmation → supplement Design Doc → return to full workflow
    
    /comet-tweak (preset, skip brainstorming and full plan)
      open ──→ lightweight build ──→ light verify ──→ archive
        ↑ If upgrade triggered → block for confirmation → supplement Design Doc → return to full workflow
    

    Reference Appendix

    State Machine Hard Constraints

    • Before build → verify, isolation must be branch or worktree
    • Before build → verify, build_mode must be selected
    • build_mode: subagent-driven-development must also have subagent_dispatch: confirmed
    • Before full workflow leaves build phase, tdd_mode must be selected as tdd or direct
    • build_mode: direct is allowed by default only for hotfix / tweak; full workflow requires direct_override: true
    • build_pause is not an execution method and must not be written to build_mode
    • These constraints are enforced by both comet-guard.sh build --apply and comet-state.sh transition <name> build-complete

    .comet.yaml Field Reference

    See comet/reference/comet-yaml-fields.md for complete field reference with examples and descriptions.

    File Structure

    See comet/reference/file-structure.md for the complete directory layout and artifact organization.

    Auto-Transition Protocol

    See comet/reference/auto-transition.md for the complete automatic handoff workflow.

    Context Recovery

    See comet/reference/context-recovery.md for structured recovery after context compression.

    Decision Point Protocol

    See comet/reference/decision-point.md for the complete user decision point protocol.

    Debug Gate Protocol

    See comet/reference/debug-gate.md for the complete debug gate protocol.

    Script Location

    Comet scripts are distributed in comet/scripts/. Do not hardcode paths — locate once, cache in env vars. This block is a standard boilerplate repeated in every sub-skill for independent loadability; changes must be kept in sync across all files (boilerplate version: v2, update this version when changing to help locate files needing sync):

    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"
    
    # Stop workflow when script location fails
    if [ -z "$COMET_GUARD" ] || [ -z "$COMET_STATE" ] || [ -z "$COMET_HANDOFF" ] || [ -z "$COMET_ARCHIVE" ]; then
      echo "ERROR: Comet scripts not found. Ensure the comet skill is installed." >&2
      echo "Expected path pattern: */comet/scripts/comet-*.sh under project or platform skill directories" >&2
      return 1
    fi
    

    Auto state update: Guard supports --apply flag, automatically updating .comet.yaml state fields after checks pass:

    "$COMET_BASH" "$COMET_GUARD" <change-name> <phase> --apply
    

    --apply delegates to comet-state transition. Use these semantic events when state changes need to be expressed directly:

    "$COMET_BASH" "$COMET_STATE" transition <change-name> open-complete
    "$COMET_BASH" "$COMET_STATE" transition <change-name> design-complete
    "$COMET_BASH" "$COMET_STATE" transition <change-name> build-complete
    "$COMET_BASH" "$COMET_STATE" transition <change-name> verify-pass
    "$COMET_BASH" "$COMET_STATE" transition <change-name> verify-fail
    "$COMET_BASH" "$COMET_STATE" transition <archive-name> archived
    

    Resolve next action: after guard-based phase advancement, use the next subcommand to determine whether to auto-invoke the next skill:

    "$COMET_BASH" "$COMET_STATE" next <change-name>
    

    Output format: NEXT: auto|manual|done + SKILL: <skill-name> (omitted for done) + HINT (for manual only). With auto_transition: false, output is manual, which pauses only the next skill invocation and does not block phase updates.

    Archive script: Complete all archive steps in one command:

    "$COMET_BASH" "$COMET_ARCHIVE" <change-name>
    

    After loading comet, agents should run the variable assignments above once, then reuse $COMET_GUARD, $COMET_STATE, $COMET_HANDOFF, $COMET_ARCHIVE throughout the session.

    Best Practices

    1. brainstorming cannot be skipped — Every change must undergo deep design (except hotfix and tweak)
    2. delta spec is a living document — Freely modify during phase 3, sync at archive
    3. Handoff packages are generated by scripts — OpenSpec → Superpowers context must be generated through comet-handoff.sh as compact traceable excerpts (use --full when needed), and validated by guard for source/hash/mode
    4. Keep tasks.md in sync — Check off each completed task
    5. Commit frequently — One commit per task, message reflects design intent
    6. Verify before archive confirmation — Enter /comet-archive only after /comet-verify passes, but wait for final user confirmation before running the archive script
    7. Classify incremental updates — Small edits, medium brainstorming, large new changes
    8. Plan must associate with change — File header contains change: and design-doc: metadata
    9. Archive closure — design doc and plan must mark archived-with status
    10. Modifying existing features — Just open a new change
    11. Preset has limits — Switch to full workflow promptly when hotfix/tweak meet upgrade conditions

    Alternatives

    Compare before choosing

    Computed 10014,533

    prowler-cloud/prowler

    postgresql-indexing

    PostgreSQL indexing best practices for Prowler: index design, partial indexes, partitioned table indexing, EXPLAIN ANALYZE validation, concurrent operations, monitoring, and maintenance. Trigger: When creating or modifying PostgreSQL indexes, analyzing query performance with EXPLAIN, debugging slow queries, reviewing index usage statistics, reindexing, dropping indexes, or working with partitioned table indexes. Also trigger when discussing index strategies, partial indexes, or index maintenance

    Computed 9929,680

    HKUDS/Vibe-Trading

    strategy-generate

    Create, modify, and optimize quantitative trading strategies, then backtest and evaluate them.

    Computed 9823,835

    alirezarezvani/claude-skills

    quality-manager-qms-iso13485

    ISO 13485 Quality Management System implementation and maintenance for medical device organizations. Provides QMS design, documentation control, internal auditing, CAPA management, and certification support. Use when working with medical device quality systems, preparing for ISO 13485 audits, managing regulatory compliance documentation, setting up corrective actions, or building audit preparation programs. Useful for quality management, audit preparation, regulatory compliance, medical device d

    Computed 9840

    respira-press/agent-skills-wordpress

    design-system-synthesizer

    Use when the user says 'build a design system for my site', 'extract design tokens', 'capture my brand', or 'build my style guide', or after a rebrand. Reads representative pages, theme files, and media to extract logo, colors, typography, spacing, and components, then writes a visible style-guide page.