[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M72W1KWXZZDP1JMPZQKK9DD4":3,"skill-same:01M72W1KWXZZDP1JMPZQKK9DD4":114},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M72W1KWXZZDP1JMPZQKK9DD4","comet",null,"Comet — OpenSpec + Superpowers dual-star development workflow. Start with \u002Fcomet for automatic phase detection and dispatch to subcommands. Five phases: open → design → build → verify → archive.","rpamis\u002Fcomet","rpamis","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F153429891?v=4","01M72VXBR7EQYMM7KN8C19244V","01M72VXBRYC06QG0ZH0JBGV09V",3298,"MIT","https:\u002F\u002Fgithub.com\u002Frpamis\u002Fcomet\u002Fblob\u002Fmaster\u002Feval\u002Flocal\u002Fskills\u002Fbenchmarks\u002F039-release\u002Fcomet-classic-039\u002FSKILL.md",[],[],"2026-11-10 22:39:42",false,"---\nname: comet\ndescription: \"Comet — OpenSpec + Superpowers dual-star development workflow. Start with \u002Fcomet for automatic phase detection and dispatch to subcommands. Five phases: open → design → build → verify → archive.\"\n---\n\n# Comet — OpenSpec + Superpowers Dual-Star Development Workflow\n\nOpenSpec and Superpowers orbit the same goal like a binary star system.\n\n```\nOpenSpec handles WHAT  — outline, proposal, spec lifecycle, archive\nSuperpowers handles HOW — technical design, planning, execution, closing\n```\n\n**Core principle: brainstorming cannot be skipped. Every change must undergo deep design (except hotfix and tweak presets).**\n\n---\n\n## Decision Core\n\nAgents need only read this section for decision-making. Refer to the Reference Appendix as needed.\n\n### Output Language Rule\n\nUse 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.\n\n### Automatic Phase Detection\n\n**Step 0: Active Change Discovery and Intent Detection**\n\n1. Detect presets first; if hotfix\u002Ftweak matches, invoke the corresponding preset skill directly and do not enter the normal open branch\n2. When no preset matches, run `openspec list --json` to get all active changes\n\n**Preset detection has highest priority**:\n- User explicitly describes a bug fix \u002F hotfix + meets hotfix conditions → directly invoke `\u002Fcomet-hotfix`\n- User explicitly describes copy\u002Fconfig\u002Fdocs\u002Fprompt small adjustment + meets tweak conditions → directly invoke `\u002Fcomet-tweak`\n- No preset match → follow the table below\n\n| Active changes | User input | Behavior |\n|----------------|------------|----------|\n| None | non-preset input | → Invoke `\u002Fcomet-open` |\n| Exactly 1 | `\u002Fcomet \u003Cdescription>` | → **Ask**: continue this change or create a new change |\n| Multiple | `\u002Fcomet \u003Cdescription>` | → **Ask**: continue existing or create new; if continuing, list changes for selection |\n| Exactly 1 | `\u002Fcomet` with no description | → Auto-select, enter Step 1 |\n| Multiple | `\u002Fcomet` with no description | → List changes for user selection |\n\n\u003CIMPORTANT>\nWhen the user chooses \"create a new change\", **must invoke `\u002Fcomet-open`**. Do not call `\u002Fopsx:new` directly.\n`\u002Fcomet-open` performs dual initialization: OpenSpec artifacts (created by internal `\u002Fopsx:new`) plus `.comet.yaml` state file.\nCalling `\u002Fopsx:new` directly leaves `.comet.yaml` missing and breaks later phase detection.\n\u003C\u002FIMPORTANT>\n\n**Step 1: Read `.comet.yaml` state metadata**\n\nPrefer reading `openspec\u002Fchanges\u002F\u003Cname>\u002F.comet.yaml`. If not available, fall back to `openspec status --change \"\u003Cname>\" --json`, `tasks.md`, and `docs\u002Fsuperpowers\u002F` file checks.\n\n**Resume rules**:\n- On every context resume, rerun Step 0 and Step 1; do not trust conversation history for phase detection\n- If there is an active change and the worktree has uncommitted changes, handle them through `comet\u002Freference\u002Fdirty-worktree.md`. That protocol defines checks, attribution, and prohibitions; this file does not repeat them\n- If `phase: build`, first check `build_pause`, `plan`, `build_mode`, and `isolation` (see details below):\n  - 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\u002Fbuild_mode already set), auto-clearing and continuing`, then run `\"$COMET_BASH\" \"$COMET_STATE\" set \u003Cname> build_pause null`, then read the next unchecked task from tasks.md and resume execution per `build_mode`\n  - If `build_pause: plan-ready` and the plan file exists, but `isolation` or `build_mode` is not yet set, return to the `\u002Fcomet-build` plan-ready resume point, prompt the user to choose isolation and execution method, and do not regenerate the plan\n  - If `build_pause: plan-ready` but the plan file is missing, return to `\u002Fcomet-build` to handle corrupted state or regenerate the plan\n  - If `build_mode`, `isolation`, or `tdd_mode` is unset, return to the corresponding `\u002Fcomet-build` step to supplement before executing\n  - If all are set, read the next unchecked task from tasks.md and continue:\n    - If `build_mode: subagent-driven-development`, do not execute tasks directly in the main window; return to `\u002Fcomet-build`'s background subagent dispatch rules, main window only coordinates\n    - Other execution modes follow `\u002Fcomet-build`'s corresponding rules\n- 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 \u003Cname> verify-fail` and invoke `\u002Fcomet-build`\n- If `phase: open` but proposal\u002Fdesign\u002Ftasks are complete, first run `\"$COMET_BASH\" \"$COMET_GUARD\" \u003Cchange-name> open --apply` to repair state, then continue detection\n- If `phase: archive`, only invoke `\u002Fcomet-archive`; `\u002Fcomet-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\n\n**Step 2: Phase Determination** (check in order, first match wins)\n\n1. `archived: true` or change moved to archive → Workflow complete\n2. `verify_result: pass` and `archived` is not `true` → Invoke `\u002Fcomet-archive` (first perform final archive confirmation)\n3. `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 `\u002Fcomet-build`)\n4. `phase: verify` or tasks.md all checked → Invoke `\u002Fcomet-verify`\n5. `phase: build` or has Design Doc but plan\u002Fexecution incomplete → Route by workflow: `hotfix` → `\u002Fcomet-hotfix`, `tweak` → `\u002Fcomet-tweak`, `full` → `\u002Fcomet-build`\n6. `phase: design` or has change but no Design Doc → Invoke `\u002Fcomet-design`\n7. `phase: open` or active change exists but `.comet.yaml` is missing → Invoke `\u002Fcomet-open`\n8. No active change → Invoke `\u002Fcomet-open`\n\nIf metadata conflicts with file state, use verifiable file state as source of truth and correct `.comet.yaml` before continuing.\n\n### Preset Upgrade Criteria\n\n**hotfix → full** (upgrade if any condition met):\n- Change involves **3+ files**\n- Architecture changes (new modules, new interfaces, new dependencies)\n- Database schema changes\n- Fix introduces new public API\n- Fix scope exceeds a single function\u002Fmodule\n\n**tweak → full** (upgrade if any condition met):\n- Change involves **5+ files**\n- Cross-module coordination required\n- **5+** new test cases needed\n- Config item additions or deletions (not value changes)\n- New capability needed\n- Delta spec needed (existing spec affected)\n\n### Error Handling Quick Reference\n\n| Scenario | Handling |\n|----------|----------|\n| `openspec list --json` fails | Check if openspec is installed, prompt user to run `openspec init` |\n| Sub-skill unavailable | Stop workflow, prompt to install or enable the corresponding skill |\n| `.comet.yaml` malformed or missing | Use file state as source of truth, correct with `\"$COMET_BASH\" \"$COMET_STATE\" set` then continue |\n| Build\u002Ftest fails | Return to build phase for fixes, do not enter verify |\n| Incomplete change directory structure | Fill missing files according to `comet-open` artifact requirements |\n\n### Phase Transitions\n\n\u003CIMPORTANT>\nA single `\u002Fcomet` invocation starts from the detected phase and advances to the next phase when exit conditions are met.\n\nFlow chain: open → design → build → verify → archive\n\n**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\u002Fconfirmation 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.\n\n**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 \u003Cname>` 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.\n\n**Decision points are blocking points**: whenever reaching any of the following nodes, the current `\u002Fcomet` invocation must stop, and follow the `comet\u002Freference\u002Fdecision-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.\n\nNodes requiring user participation (pause only at these nodes):\n1. Open phase proposal\u002Fdesign\u002Ftasks review and confirmation\n2. Confirm design approach during brainstorming\n3. Plan-ready pause choice during build phase, followed by workflow configuration selection (isolation + execution method + TDD mode)\n4. Decide to fix or accept deviation when verify fails (including Spec drift handling)\n5. Choose branch handling method for finishing-branch\n6. Archive phase final confirmation before running the archive script\n7. Encounter upgrade conditions (hotfix\u002Ftweak → full workflow)\n8. Build phase scope expansion requiring redesign or new change split\n9. Open phase large PRD requiring confirmation to split into multiple changes\n\nAgents 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\u002Fconfirmation mechanism before continuing**.\n\n**Red Flags** — when these thoughts appear, STOP and check:\n\n| Agent Thought | Actual Risk |\n|--------------|-------------|\n| \"The user would probably agree with this approach\" | Cannot decide for the user — use the current platform's user input\u002Fconfirmation mechanism |\n| \"This is a small change, confirmation isn't needed\" | Decision points have no size exception — blocking points must wait |\n| \"The user chose A last time, so A again\" | Historical preference cannot substitute for current confirmation |\n| \"I explained the plan and the user didn't object\" | No objection ≠ consent — must use tool to get explicit choice |\n| \"The flow has reached this point, should be fine\" | Verification not passed ≠ passed — check verify_result |\n\u003C\u002FIMPORTANT>\n\n---\n\n## Subcommand Quick Reference\n\n| Command | Phase | Owner | Artifacts |\n|---------|-------|-------|-----------|\n| `\u002Fcomet-open` | 1. Open | OpenSpec | proposal.md, design.md, tasks.md |\n| `\u002Fcomet-design` | 2. Deep Design | Superpowers | Design Doc, delta spec |\n| `\u002Fcomet-build` | 3. Plan and Build | Superpowers | Implementation plan, code commits |\n| `\u002Fcomet-verify` | 4. Verify and Close | Both | Verification report, branch handling |\n| `\u002Fcomet-archive` | 5. Archive | OpenSpec | delta→main spec sync, design doc markup, archive |\n| `\u002Fcomet-hotfix` | Preset path | Both | Quick fix (skip brainstorming) |\n| `\u002Fcomet-tweak` | Preset path | Both | Small change (skip brainstorming and full plan) |\n\n```\n\u002Fcomet\n  ↓ Auto-detect\n\u002Fcomet-open ──→ \u002Fcomet-design ──→ \u002Fcomet-build ──→ \u002Fcomet-verify ──→ \u002Fcomet-archive\n  (OpenSpec)      (Superpowers)     (Superpowers)     (Both)          (OpenSpec)\n\n\u002Fcomet-hotfix (preset, skip brainstorming)\n  open ──→ build ──→ verify ──→ archive\n    ↑ If upgrade triggered → block for confirmation → supplement Design Doc → return to full workflow\n\n\u002Fcomet-tweak (preset, skip brainstorming and full plan)\n  open ──→ lightweight build ──→ light verify ──→ archive\n    ↑ If upgrade triggered → block for confirmation → supplement Design Doc → return to full workflow\n```\n\n---\n\n## Reference Appendix\n\n### State Machine Hard Constraints\n\n- Before `build → verify`, `isolation` must be `branch` or `worktree`\n- Before `build → verify`, `build_mode` must be selected\n- `build_mode: subagent-driven-development` must also have `subagent_dispatch: confirmed`\n- Before full workflow leaves build phase, `tdd_mode` must be selected as `tdd` or `direct`\n- `build_mode: direct` is allowed by default only for `hotfix` \u002F `tweak`; full workflow requires `direct_override: true`\n- `build_pause` is not an execution method and must not be written to `build_mode`\n- These constraints are enforced by both `comet-guard.sh build --apply` and `comet-state.sh transition \u003Cname> build-complete`\n\n### .comet.yaml Field Reference\n\nSee `comet\u002Freference\u002Fcomet-yaml-fields.md` for complete field reference with examples and descriptions.\n\n### File Structure\n\nSee `comet\u002Freference\u002Ffile-structure.md` for the complete directory layout and artifact organization.\n\n### Auto-Transition Protocol\n\nSee `comet\u002Freference\u002Fauto-transition.md` for the complete automatic handoff workflow.\n\n### Context Recovery\n\nSee `comet\u002Freference\u002Fcontext-recovery.md` for structured recovery after context compression.\n\n### Decision Point Protocol\n\nSee `comet\u002Freference\u002Fdecision-point.md` for the complete user decision point protocol.\n\n### Debug Gate Protocol\n\nSee `comet\u002Freference\u002Fdebug-gate.md` for the complete debug gate protocol.\n\n### Script Location\n\nComet scripts are distributed in `comet\u002Fscripts\u002F`. **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):\n\n```bash\nCOMET_ENV=\"${COMET_ENV:-$(find . \"$HOME\"\u002F.*\u002Fskills \"$HOME\u002F.config\" \"$HOME\u002F.gemini\" -path '*\u002Fcomet\u002Fscripts\u002Fcomet-env.sh' -type f -print -quit 2>\u002Fdev\u002Fnull)}\"\nif [ -z \"$COMET_ENV\" ]; then\n  echo \"ERROR: comet-env.sh not found. Ensure the comet skill is installed.\" >&2\n  return 1\nfi\n. \"$COMET_ENV\"\n\n# Stop workflow when script location fails\nif [ -z \"$COMET_GUARD\" ] || [ -z \"$COMET_STATE\" ] || [ -z \"$COMET_HANDOFF\" ] || [ -z \"$COMET_ARCHIVE\" ]; then\n  echo \"ERROR: Comet scripts not found. Ensure the comet skill is installed.\" >&2\n  echo \"Expected path pattern: *\u002Fcomet\u002Fscripts\u002Fcomet-*.sh under project or platform skill directories\" >&2\n  return 1\nfi\n```\n\n**Auto state update**: Guard supports `--apply` flag, automatically updating `.comet.yaml` state fields after checks pass:\n\n```bash\n\"$COMET_BASH\" \"$COMET_GUARD\" \u003Cchange-name> \u003Cphase> --apply\n```\n\n`--apply` delegates to `comet-state transition`. Use these semantic events when state changes need to be expressed directly:\n\n```bash\n\"$COMET_BASH\" \"$COMET_STATE\" transition \u003Cchange-name> open-complete\n\"$COMET_BASH\" \"$COMET_STATE\" transition \u003Cchange-name> design-complete\n\"$COMET_BASH\" \"$COMET_STATE\" transition \u003Cchange-name> build-complete\n\"$COMET_BASH\" \"$COMET_STATE\" transition \u003Cchange-name> verify-pass\n\"$COMET_BASH\" \"$COMET_STATE\" transition \u003Cchange-name> verify-fail\n\"$COMET_BASH\" \"$COMET_STATE\" transition \u003Carchive-name> archived\n```\n\n**Resolve next action**: after guard-based phase advancement, use the `next` subcommand to determine whether to auto-invoke the next skill:\n\n```bash\n\"$COMET_BASH\" \"$COMET_STATE\" next \u003Cchange-name>\n```\n\nOutput format: `NEXT: auto|manual|done` + `SKILL: \u003Cskill-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.\n\n**Archive script**: Complete all archive steps in one command:\n\n```bash\n\"$COMET_BASH\" \"$COMET_ARCHIVE\" \u003Cchange-name>\n```\n\nAfter loading comet, agents should run the variable assignments above once, then reuse `$COMET_GUARD`, `$COMET_STATE`, `$COMET_HANDOFF`, `$COMET_ARCHIVE` throughout the session.\n\n\n### Best Practices\n\n1. **brainstorming cannot be skipped** — Every change must undergo deep design (except hotfix and tweak)\n2. **delta spec is a living document** — Freely modify during phase 3, sync at archive\n3. **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\u002Fhash\u002Fmode\n4. **Keep tasks.md in sync** — Check off each completed task\n5. **Commit frequently** — One commit per task, message reflects design intent\n6. **Verify before archive confirmation** — Enter `\u002Fcomet-archive` only after `\u002Fcomet-verify` passes, but wait for final user confirmation before running the archive script\n7. **Classify incremental updates** — Small edits, medium brainstorming, large new changes\n8. **Plan must associate with change** — File header contains `change:` and `design-doc:` metadata\n9. **Archive closure** — design doc and plan must mark `archived-with` status\n10. **Modifying existing features** — Just open a new change\n11. **Preset has limits** — Switch to full workflow promptly when hotfix\u002Ftweak meet upgrade conditions\n","# Comet — OpenSpec + Superpowers Dual-Star Development Workflow\n\nOpenSpec and Superpowers orbit the same goal like a binary star system.\n\n```\nOpenSpec handles WHAT  — outline, proposal, spec lifecycle, archive\nSuperpowers handles HOW — technical design, planning, execution, closing\n```\n\n**Core principle: brainstorming cannot be skipped. Every change must undergo deep design (except hotfix and tweak presets).**\n\n---\n\n## Decision Core\n\nAgents need only read this section for decision-making. Refer to the Reference Appendix as needed.\n\n### Output Language Rule\n\nUse 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.\n\n### Automatic Phase Detection\n\n**Step 0: Active Change Discovery and Intent Detection**\n\n1. Detect presets first; if hotfix\u002Ftweak matches, invoke the corresponding preset skill directly and do not enter the normal open branch\n2. When no preset matches, run `openspec list --json` to get all active changes\n\n**Preset detection has highest priority**:\n- User explicitly describes a bug fix \u002F hotfix + meets hotfix conditions → directly invoke `\u002Fcomet-hotfix`\n- User explicitly describes copy\u002Fconfig\u002Fdocs\u002Fprompt small adjustment + meets tweak conditions → directly invoke `\u002Fcomet-tweak`\n- No preset match → follow the table below\n\n| Active changes | User input | Behavior |\n|----------------|------------|----------|\n| None | non-preset input | → Invoke `\u002Fcomet-open` |\n| Exactly 1 | `\u002Fcomet \u003Cdescription>` | → **Ask**: continue this change or create a new change |\n| Multiple | `\u002Fcomet \u003Cdescription>` | → **Ask**: continue existing or create new; if continuing, list changes for selection |\n| Exactly 1 | `\u002Fcomet` with no description | → Auto-select, enter Step 1 |\n| Multiple | `\u002Fcomet` with no description | → List changes for user selection |\n\n\u003CIMPORTANT>\nWhen the user chooses \"create a new change\", **must invoke `\u002Fcomet-open`**. Do not call `\u002Fopsx:new` directly.\n`\u002Fcomet-open` performs dual initialization: OpenSpec artifacts (created by internal `\u002Fopsx:new`) plus `.comet.yaml` state file.\nCalling `\u002Fopsx:new` directly leaves `.comet.yaml` missing and breaks later phase detection.\n\u003C\u002FIMPORTANT>\n\n**Step 1: Read `.comet.yaml` state metadata**\n\nPrefer reading `openspec\u002Fchanges\u002F\u003Cname>\u002F.comet.yaml`. If not available, fall back to `openspec status --change \"\u003Cname>\" --json`, `tasks.md`, and `docs\u002Fsuperpowers\u002F` file checks.\n\n**Resume rules**:\n- On every context resume, rerun Step 0 and Step 1; do not trust conversation history for phase detection\n- If there is an active change and the worktree has uncommitted changes, handle them through `comet\u002Freference\u002Fdirty-worktree.md`. That protocol defines checks, attribution, and prohibitions; this file does not repeat them\n- If `phase: build`, first check `build_pause`, `plan`, `build_mode`, and `isolation` (see details below):\n  - 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\u002Fbuild_mode already set), auto-clearing and continuing`, then run `\"$COMET_BASH\" \"$COMET_STATE\" set \u003Cname> build_pause null`, then read the next unchecked task from tasks.md and resume execution per `build_mode`\n  - If `build_pause: plan-ready` and the plan file exists, but `isolation` or `build_mode` is not yet set, return to the `\u002Fcomet-build` plan-ready resume point, prompt the user to choose isolation and execution method, and do not regenerate the plan\n  - If `build_pause: plan-ready` but the plan file is missing, return to `\u002Fcomet-build` to handle corrupted state or regenerate the plan\n  - If `build_mode`, `isolation`, or `tdd_mode` is unset, return to the corresponding `\u002Fcomet-build` step to supplement before executing\n  - If all are set, read the next unchecked task from tasks.md and continue:\n    - If `build_mode: subagent-driven-development`, do not execute tasks directly in the main window; return to `\u002Fcomet-build`'s background subagent dispatch rules, main window only coordinates\n    - Other execution modes follow `\u002Fcomet-build`'s corresponding rules\n- 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 \u003Cname> verify-fail` and invoke `\u002Fcomet-build`\n- If `phase: open` but proposal\u002Fdesign\u002Ftasks are complete, first run `\"$COMET_BASH\" \"$COMET_GUARD\" \u003Cchange-name> open --apply` to repair state, then continue detection\n- If `phase: archive`, only invoke `\u002Fcomet-archive`; `\u002Fcomet-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\n\n**Step 2: Phase Determination** (check in order, first match wins)\n\n1. `archived: true` or change moved to archive → Workflow complete\n2. `verify_result: pass` and `archived` is not `true` → Invoke `\u002Fcomet-archive` (first perform final archive confirmation)\n3. `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 `\u002Fcomet-build`)\n4. `phase: verify` or tasks.md all checked → Invoke `\u002Fcomet-verify`\n5. `phase: build` or has Design Doc but plan\u002Fexecution incomplete → Route by workflow: `hotfix` → `\u002Fcomet-hotfix`, `tweak` → `\u002Fcomet-tweak`, `full` → `\u002Fcomet-build`\n6. `phase: design` or has change but no Design Doc → Invoke `\u002Fcomet-design`\n7. `phase: open` or active change exists but `.comet.yaml` is missing → Invoke `\u002Fcomet-open`\n8. No active change → Invoke `\u002Fcomet-open`\n\nIf metadata conflicts with file state, use verifiable file state as source of truth and correct `.comet.yaml` before continuing.\n\n### Preset Upgrade Criteria\n\n**hotfix → full** (upgrade if any condition met):\n- Change involves **3+ files**\n- Architecture changes (new modules, new interfaces, new dependencies)\n- Database schema changes\n- Fix introduces new public API\n- Fix scope exceeds a single function\u002Fmodule\n\n**tweak → full** (upgrade if any condition met):\n- Change involves **5+ files**\n- Cross-module coordination required\n- **5+** new test cases needed\n- Config item additions or deletions (not value changes)\n- New capability needed\n- Delta spec needed (existing spec affected)\n\n### Error Handling Quick Reference\n\n| Scenario | Handling |\n|----------|----------|\n| `openspec list --json` fails | Check if openspec is installed, prompt user to run `openspec init` |\n| Sub-skill unavailable | Stop workflow, prompt to install or enable the corresponding skill |\n| `.comet.yaml` malformed or missing | Use file state as source of truth, correct with `\"$COMET_BASH\" \"$COMET_STATE\" set` then continue |\n| Build\u002Ftest fails | Return to build phase for fixes, do not enter verify |\n| Incomplete change directory structure | Fill missing files according to `comet-open` artifact requirements |\n\n### Phase Transitions\n\n\u003CIMPORTANT>\nA single `\u002Fcomet` invocation starts from the detected phase and advances to the next phase when exit conditions are met.\n\nFlow chain: open → design → build → verify → archive\n\n**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\u002Fconfirmation 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.\n\n**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 \u003Cname>` 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.\n\n**Decision points are blocking points**: whenever reaching any of the following nodes, the current `\u002Fcomet` invocation must stop, and follow the `comet\u002Freference\u002Fdecision-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.\n\nNodes requiring user participation (pause only at these nodes):\n1. Open phase proposal\u002Fdesign\u002Ftasks review and confirmation\n2. Confirm design approach during brainstorming\n3. Plan-ready pause choice during build phase, followed by workflow configuration selection (isolation + execution method + TDD mode)\n4. Decide to fix or accept deviation when verify fails (including Spec drift handling)\n5. Choose branch handling method for finishing-branch\n6. Archive phase final confirmation before running the archive script\n7. Encounter upgrade conditions (hotfix\u002Ftweak → full workflow)\n8. Build phase scope expansion requiring redesign or new change split\n9. Open phase large PRD requiring confirmation to split into multiple changes\n\nAgents 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\u002Fconfirmation mechanism before continuing**.\n\n**Red Flags** — when these thoughts appear, STOP and check:\n\n| Agent Thought | Actual Risk |\n|--------------|-------------|\n| \"The user would probably agree with this approach\" | Cannot decide for the user — use the current platform's user input\u002Fconfirmation mechanism |\n| \"This is a small change, confirmation isn't needed\" | Decision points have no size exception — blocking points must wait |\n| \"The user chose A last time, so A again\" | Historical preference cannot substitute for current confirmation |\n| \"I explained the plan and the user didn't object\" | No objection ≠ consent — must use tool to get explicit choice |\n| \"The flow has reached this point, should be fine\" | Verification not passed ≠ passed — check verify_result |\n\u003C\u002FIMPORTANT>\n\n---\n\n## Subcommand Quick Reference\n\n| Command | Phase | Owner | Artifacts |\n|---------|-------|-------|-----------|\n| `\u002Fcomet-open` | 1. Open | OpenSpec | proposal.md, design.md, tasks.md |\n| `\u002Fcomet-design` | 2. Deep Design | Superpowers | Design Doc, delta spec |\n| `\u002Fcomet-build` | 3. Plan and Build | Superpowers | Implementation plan, code commits |\n| `\u002Fcomet-verify` | 4. Verify and Close | Both | Verification report, branch handling |\n| `\u002Fcomet-archive` | 5. Archive | OpenSpec | delta→main spec sync, design doc markup, archive |\n| `\u002Fcomet-hotfix` | Preset path | Both | Quick fix (skip brainstorming) |\n| `\u002Fcomet-tweak` | Preset path | Both | Small change (skip brainstorming and full plan) |\n\n```\n\u002Fcomet\n  ↓ Auto-detect\n\u002Fcomet-open ──→ \u002Fcomet-design ──→ \u002Fcomet-build ──→ \u002Fcomet-verify ──→ \u002Fcomet-archive\n  (OpenSpec)      (Superpowers)     (Superpowers)     (Both)          (OpenSpec)\n\n\u002Fcomet-hotfix (preset, skip brainstorming)\n  open ──→ build ──→ verify ──→ archive\n    ↑ If upgrade triggered → block for confirmation → supplement Design Doc → return to full workflow\n\n\u002Fcomet-tweak (preset, skip brainstorming and full plan)\n  open ──→ lightweight build ──→ light verify ──→ archive\n    ↑ If upgrade triggered → block for confirmation → supplement Design Doc → return to full workflow\n```\n\n---\n\n## Reference Appendix\n\n### State Machine Hard Constraints\n\n- Before `build → verify`, `isolation` must be `branch` or `worktree`\n- Before `build → verify`, `build_mode` must be selected\n- `build_mode: subagent-driven-development` must also have `subagent_dispatch: confirmed`\n- Before full workflow leaves build phase, `tdd_mode` must be selected as `tdd` or `direct`\n- `build_mode: direct` is allowed by default only for `hotfix` \u002F `tweak`; full workflow requires `direct_override: true`\n- `build_pause` is not an execution method and must not be written to `build_mode`\n- These constraints are enforced by both `comet-guard.sh build --apply` and `comet-state.sh transition \u003Cname> build-complete`\n\n### .comet.yaml Field Reference\n\nSee `comet\u002Freference\u002Fcomet-yaml-fields.md` for complete field reference with examples and descriptions.\n\n### File Structure\n\nSee `comet\u002Freference\u002Ffile-structure.md` for the complete directory layout and artifact organization.\n\n### Auto-Transition Protocol\n\nSee `comet\u002Freference\u002Fauto-transition.md` for the complete automatic handoff workflow.\n\n### Context Recovery\n\nSee `comet\u002Freference\u002Fcontext-recovery.md` for structured recovery after context compression.\n\n### Decision Point Protocol\n\nSee `comet\u002Freference\u002Fdecision-point.md` for the complete user decision point protocol.\n\n### Debug Gate Protocol\n\nSee `comet\u002Freference\u002Fdebug-gate.md` for the complete debug gate protocol.\n\n### Script Location\n\nComet scripts are distributed in `comet\u002Fscripts\u002F`. **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):\n\n```bash\nCOMET_ENV=\"${COMET_ENV:-$(find . \"$HOME\"\u002F.*\u002Fskills \"$HOME\u002F.config\" \"$HOME\u002F.gemini\" -path '*\u002Fcomet\u002Fscripts\u002Fcomet-env.sh' -type f -print -quit 2>\u002Fdev\u002Fnull)}\"\nif [ -z \"$COMET_ENV\" ]; then\n  echo \"ERROR: comet-env.sh not found. Ensure the comet skill is installed.\" >&2\n  return 1\nfi\n. \"$COMET_ENV\"\n\n# Stop workflow when script location fails\nif [ -z \"$COMET_GUARD\" ] || [ -z \"$COMET_STATE\" ] || [ -z \"$COMET_HANDOFF\" ] || [ -z \"$COMET_ARCHIVE\" ]; then\n  echo \"ERROR: Comet scripts not found. Ensure the comet skill is installed.\" >&2\n  echo \"Expected path pattern: *\u002Fcomet\u002Fscripts\u002Fcomet-*.sh under project or platform skill directories\" >&2\n  return 1\nfi\n```\n\n**Auto state update**: Guard supports `--apply` flag, automatically updating `.comet.yaml` state fields after checks pass:\n\n```bash\n\"$COMET_BASH\" \"$COMET_GUARD\" \u003Cchange-name> \u003Cphase> --apply\n```\n\n`--apply` delegates to `comet-state transition`. Use these semantic events when state changes need to be expressed directly:\n\n```bash\n\"$COMET_BASH\" \"$COMET_STATE\" transition \u003Cchange-name> open-complete\n\"$COMET_BASH\" \"$COMET_STATE\" transition \u003Cchange-name> design-complete\n\"$COMET_BASH\" \"$COMET_STATE\" transition \u003Cchange-name> build-complete\n\"$COMET_BASH\" \"$COMET_STATE\" transition \u003Cchange-name> verify-pass\n\"$COMET_BASH\" \"$COMET_STATE\" transition \u003Cchange-name> verify-fail\n\"$COMET_BASH\" \"$COMET_STATE\" transition \u003Carchive-name> archived\n```\n\n**Resolve next action**: after guard-based phase advancement, use the `next` subcommand to determine whether to auto-invoke the next skill:\n\n```bash\n\"$COMET_BASH\" \"$COMET_STATE\" next \u003Cchange-name>\n```\n\nOutput format: `NEXT: auto|manual|done` + `SKILL: \u003Cskill-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.\n\n**Archive script**: Complete all archive steps in one command:\n\n```bash\n\"$COMET_BASH\" \"$COMET_ARCHIVE\" \u003Cchange-name>\n```\n\nAfter loading comet, agents should run the variable assignments above once, then reuse `$COMET_GUARD`, `$COMET_STATE`, `$COMET_HANDOFF`, `$COMET_ARCHIVE` throughout the session.\n\n\n### Best Practices\n\n1. **brainstorming cannot be skipped** — Every change must undergo deep design (except hotfix and tweak)\n2. **delta spec is a living document** — Freely modify during phase 3, sync at archive\n3. **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\u002Fhash\u002Fmode\n4. **Keep tasks.md in sync** — Check off each completed task\n5. **Commit frequently** — One commit per task, message reflects design intent\n6. **Verify before archive confirmation** — Enter `\u002Fcomet-archive` only after `\u002Fcomet-verify` passes, but wait for final user confirmation before running the archive script\n7. **Classify incremental updates** — Small edits, medium brainstorming, large new changes\n8. **Plan must associate with change** — File header contains `change:` and `design-doc:` metadata\n9. **Archive closure** — design doc and plan must mark `archived-with` status\n10. **Modifying existing features** — Just open a new change\n11. **Preset has limits** — Switch to full workflow promptly when hotfix\u002Ftweak meet upgrade conditions\n",{"name":5,"description":7},"master","a61a2e5b4766e1ad62377dec598e402560a259b6","eval\u002Flocal\u002Fskills\u002Fbenchmarks\u002F039-release\u002Fcomet-classic-039",314,"https:\u002F\u002Fgithub.com\u002Frpamis\u002Fcomet","https:\u002F\u002Fdocs.comet.rpamis.com","https:\u002F\u002Fgithub.com\u002Frpamis","More Efficient, Easier to Use, and Less Annoying","2026-11-15 00:26:58",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add rpamis\u002Fcomet --skill comet",{"tool":38,"command":39},"bunx","bunx skills add rpamis\u002Fcomet --skill comet",{"tool":41,"command":42},"pnpm","pnpm dlx skills add rpamis\u002Fcomet --skill comet","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Frpamis\u002Fcomet\u002Fblob\u002Fmaster\u002Feval\u002Flocal\u002Fskills\u002Fbenchmarks\u002F039-release\u002Fcomet-classic-039\u002FSKILL.md",true,[46,52,56,60,64,68,72,76,80,84,90,94,98,102,106,110],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"reference\u002Fauto-transition.md","REFERENCE","参考文档",1467,"https:\u002F\u002Fgithub.com\u002Frpamis\u002Fcomet\u002Fblob\u002Fmaster\u002Feval\u002Flocal\u002Fskills\u002Fbenchmarks\u002F039-release\u002Fcomet-classic-039\u002Freference\u002Fauto-transition.md",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"reference\u002Fcomet-yaml-fields.md",3736,"https:\u002F\u002Fgithub.com\u002Frpamis\u002Fcomet\u002Fblob\u002Fmaster\u002Feval\u002Flocal\u002Fskills\u002Fbenchmarks\u002F039-release\u002Fcomet-classic-039\u002Freference\u002Fcomet-yaml-fields.md",{"path":57,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":58,"sourceHtmlUrl":59},"reference\u002Fcontext-recovery.md",1914,"https:\u002F\u002Fgithub.com\u002Frpamis\u002Fcomet\u002Fblob\u002Fmaster\u002Feval\u002Flocal\u002Fskills\u002Fbenchmarks\u002F039-release\u002Fcomet-classic-039\u002Freference\u002Fcontext-recovery.md",{"path":61,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":62,"sourceHtmlUrl":63},"reference\u002Fdebug-gate.md",1123,"https:\u002F\u002Fgithub.com\u002Frpamis\u002Fcomet\u002Fblob\u002Fmaster\u002Feval\u002Flocal\u002Fskills\u002Fbenchmarks\u002F039-release\u002Fcomet-classic-039\u002Freference\u002Fdebug-gate.md",{"path":65,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":66,"sourceHtmlUrl":67},"reference\u002Fdecision-point.md",1203,"https:\u002F\u002Fgithub.com\u002Frpamis\u002Fcomet\u002Fblob\u002Fmaster\u002Feval\u002Flocal\u002Fskills\u002Fbenchmarks\u002F039-release\u002Fcomet-classic-039\u002Freference\u002Fdecision-point.md",{"path":69,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":70,"sourceHtmlUrl":71},"reference\u002Fdirty-worktree.md",3606,"https:\u002F\u002Fgithub.com\u002Frpamis\u002Fcomet\u002Fblob\u002Fmaster\u002Feval\u002Flocal\u002Fskills\u002Fbenchmarks\u002F039-release\u002Fcomet-classic-039\u002Freference\u002Fdirty-worktree.md",{"path":73,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":74,"sourceHtmlUrl":75},"reference\u002Ffile-structure.md",1379,"https:\u002F\u002Fgithub.com\u002Frpamis\u002Fcomet\u002Fblob\u002Fmaster\u002Feval\u002Flocal\u002Fskills\u002Fbenchmarks\u002F039-release\u002Fcomet-classic-039\u002Freference\u002Ffile-structure.md",{"path":77,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":78,"sourceHtmlUrl":79},"reference\u002Fsubagent-dispatch.md",9292,"https:\u002F\u002Fgithub.com\u002Frpamis\u002Fcomet\u002Fblob\u002Fmaster\u002Feval\u002Flocal\u002Fskills\u002Fbenchmarks\u002F039-release\u002Fcomet-classic-039\u002Freference\u002Fsubagent-dispatch.md",{"path":81,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":82,"sourceHtmlUrl":83},"rules\u002Fcomet-phase-guard.md",7371,"https:\u002F\u002Fgithub.com\u002Frpamis\u002Fcomet\u002Fblob\u002Fmaster\u002Feval\u002Flocal\u002Fskills\u002Fbenchmarks\u002F039-release\u002Fcomet-classic-039\u002Frules\u002Fcomet-phase-guard.md",{"path":85,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":88,"sourceHtmlUrl":89},"scripts\u002Fcomet-archive.sh","SCRIPT","脚本",7289,"https:\u002F\u002Fgithub.com\u002Frpamis\u002Fcomet\u002Fblob\u002Fmaster\u002Feval\u002Flocal\u002Fskills\u002Fbenchmarks\u002F039-release\u002Fcomet-classic-039\u002Fscripts\u002Fcomet-archive.sh",{"path":91,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":92,"sourceHtmlUrl":93},"scripts\u002Fcomet-env.sh",3390,"https:\u002F\u002Fgithub.com\u002Frpamis\u002Fcomet\u002Fblob\u002Fmaster\u002Feval\u002Flocal\u002Fskills\u002Fbenchmarks\u002F039-release\u002Fcomet-classic-039\u002Fscripts\u002Fcomet-env.sh",{"path":95,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":96,"sourceHtmlUrl":97},"scripts\u002Fcomet-guard.sh",23997,"https:\u002F\u002Fgithub.com\u002Frpamis\u002Fcomet\u002Fblob\u002Fmaster\u002Feval\u002Flocal\u002Fskills\u002Fbenchmarks\u002F039-release\u002Fcomet-classic-039\u002Fscripts\u002Fcomet-guard.sh",{"path":99,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":100,"sourceHtmlUrl":101},"scripts\u002Fcomet-handoff.sh",10456,"https:\u002F\u002Fgithub.com\u002Frpamis\u002Fcomet\u002Fblob\u002Fmaster\u002Feval\u002Flocal\u002Fskills\u002Fbenchmarks\u002F039-release\u002Fcomet-classic-039\u002Fscripts\u002Fcomet-handoff.sh",{"path":103,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":104,"sourceHtmlUrl":105},"scripts\u002Fcomet-hook-guard.sh",11944,"https:\u002F\u002Fgithub.com\u002Frpamis\u002Fcomet\u002Fblob\u002Fmaster\u002Feval\u002Flocal\u002Fskills\u002Fbenchmarks\u002F039-release\u002Fcomet-classic-039\u002Fscripts\u002Fcomet-hook-guard.sh",{"path":107,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":108,"sourceHtmlUrl":109},"scripts\u002Fcomet-state.sh",44775,"https:\u002F\u002Fgithub.com\u002Frpamis\u002Fcomet\u002Fblob\u002Fmaster\u002Feval\u002Flocal\u002Fskills\u002Fbenchmarks\u002F039-release\u002Fcomet-classic-039\u002Fscripts\u002Fcomet-state.sh",{"path":111,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":112,"sourceHtmlUrl":113},"scripts\u002Fcomet-yaml-validate.sh",6815,"https:\u002F\u002Fgithub.com\u002Frpamis\u002Fcomet\u002Fblob\u002Fmaster\u002Feval\u002Flocal\u002Fskills\u002Fbenchmarks\u002F039-release\u002Fcomet-classic-039\u002Fscripts\u002Fcomet-yaml-validate.sh",[115,122,129,136,143,150],{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":18},"01M72W3K6F0C2FKZ8DHABM49R7","writing-skills","Use when creating new skills, editing existing skills, or verifying skills work before deployment","https:\u002F\u002Fgithub.com\u002Frpamis\u002Fcomet\u002Fblob\u002Fmaster\u002Feval\u002Flocal\u002Fskills\u002Fbenchmarks\u002Fdependency\u002Fsuperpowers\u002Fwriting-skills\u002FSKILL.md",[],[],{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":18},"01M72W3HCPQ3GVMACX61QJTD4B","writing-plans","Use when you have a spec or requirements for a multi-step task, before touching code","https:\u002F\u002Fgithub.com\u002Frpamis\u002Fcomet\u002Fblob\u002Fmaster\u002Feval\u002Flocal\u002Fskills\u002Fbenchmarks\u002Fdependency\u002Fsuperpowers\u002Fwriting-plans\u002FSKILL.md",[],[],{"skillNo":130,"name":131,"nameZh":6,"description":132,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":18},"01M72W3F8EVD3EK4NXJG40P84K","verification-before-completion","Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always","https:\u002F\u002Fgithub.com\u002Frpamis\u002Fcomet\u002Fblob\u002Fmaster\u002Feval\u002Flocal\u002Fskills\u002Fbenchmarks\u002Fdependency\u002Fsuperpowers\u002Fverification-before-completion\u002FSKILL.md",[],[],{"skillNo":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":18},"01M72W3CA9YM0Y6CSXXTNCV1CA","using-git-worktrees","Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback","https:\u002F\u002Fgithub.com\u002Frpamis\u002Fcomet\u002Fblob\u002Fmaster\u002Feval\u002Flocal\u002Fskills\u002Fbenchmarks\u002Fdependency\u002Fsuperpowers\u002Fusing-git-worktrees\u002FSKILL.md",[],[],{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":18},"01M72W3AEH0F548GTPRNYRR3H3","test-driven-development","Use when implementing any feature or bugfix, before writing implementation code","https:\u002F\u002Fgithub.com\u002Frpamis\u002Fcomet\u002Fblob\u002Fmaster\u002Feval\u002Flocal\u002Fskills\u002Fbenchmarks\u002Fdependency\u002Fsuperpowers\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":156,"publishedAt":18},"01M72W38EN8NEKX1YN4W9G19Y2","systematic-debugging","Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes","https:\u002F\u002Fgithub.com\u002Frpamis\u002Fcomet\u002Fblob\u002Fmaster\u002Feval\u002Flocal\u002Fskills\u002Fbenchmarks\u002Fdependency\u002Fsuperpowers\u002Fsystematic-debugging\u002FSKILL.md",[],[]]