rpamis/comet/assets/skills/comet-hotfix/SKILL.md
comet-hotfix
Use only when explicitly invoked as /comet-hotfix or routed by the root Comet skill/runtime to the hotfix preset; fix an existing behavior bug, not an ordinary unmanaged bugfix.
- Source repository stars
- 2,640
- Declared platforms
- 0
- Static risk flags
- 1
- Last source update
- 2026-08-05
- Source checked
- 2026-08-05
Decision brief
What it does—and where it fits
Before starting or recovering, read and follow comet/reference/classic-layout.md. Every OpenSpec CLI call in this file must use the adapter, and every file path must use the logical roots bound by that protocol.
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
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
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.
npx skills add https://github.com/rpamis/comet --skill "assets/skills/comet-hotfix"Inspect the Agent Skill "comet-hotfix" from https://github.com/rpamis/comet/blob/966d6cbebc2b044a341e6f60968d7d64cbee18dd/assets/skills/comet-hotfix/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
- 01
Process (preset workflow, 6 steps)
Streamlined OpenSpec artifacts must use the configured Comet artifact language. Before .comet.yaml exists, read classic.language from project .comet/config.yaml, then fall back to global /.comet/config.yaml; after initialization, use comet state get language.
A. Work directly on the current branch: run comet state set isolation current to truthfully bind the current branchB. Create a branch: create and switch to hotfix/YYYYMMDD/, then run comet state set isolation branchC. Create a worktree: first use the Skill tool to load Superpowers using-git-worktrees; let that skill create the isolated workspace, then run comet state set isolation worktree inside the worktree - 02
4. Verification (preset verify)
Reuse /comet-verify, with comet-verify's scale assessment deciding lightweight or full verification.
Reuse /comet-verify, with comet-verify's scale assessment deciding lightweight or full verification.Immediately execute: Use the Skill tool to load the comet-verify skill. Skipping this step is prohibited.Small-scale hotfixes without delta spec usually meet lightweight verification conditions (≤ 3 tasks, changed files below the scale threshold), comet-verify's scale assessment will select the lightweight verification pat… - 03
Upgrade Assessment
Hotfix upgrade assessment only decides whether to move from the preset workflow to full; file count never upgrades automatically, and comet state scale only decides verification weight.
Hotfix upgrade assessment only decides whether to move from the preset workflow to full; file count never upgrades automatically, and comet state scale only decides verification weight.If /comet-classic passes an intent frame from the entry, hotfix must recheck risksignal and escalation signals only before build: new capability, public API, schema change, cross-module coordination, or deep architectur…Continuously check these qualitative-change signals: cross-module coordination, needing a new capability, database schema changes, introducing a new public API, or touching a deep architecture problem (in hotfix context… - 04
Automatic Handoff to Next Phase
Follow comet/reference/auto-transition.md. Key command:
NEXT: auto → invoke the skill pointed to by SKILL to continue hotfix workflow (phase: build returns comet-hotfix, verify returns comet-verify, archive returns comet-archive)NEXT: manual → do not invoke the next skill; return control with HINT, end the invocation, and do not create another confirmation pointNEXT: done → workflow is complete, no further action needed - 05
0. Output Language Constraint
Streamlined OpenSpec artifacts must use the configured Comet artifact language. Before .comet.yaml exists, read classic.language from project .comet/config.yaml, then fall back to global /.comet/config.yaml; after initialization, use comet state get language.
Streamlined OpenSpec artifacts must use the configured Comet artifact language. Before .comet.yaml exists, read classic.language from project .comet/config.yaml, then fall back to global /.comet/config.yaml; after initi…Execution chain: open → build → root cause check → verify → archive. Hotfix provides default decisions for each phase: streamlined open, direct build, root cause confirmation, scale-based verification, and final archive…Before starting, use comet/reference/scripts.md to run the public Comet CLI command. When resuming from any entry point, first use comet/reference/context-recovery.md to check phase/workflow.
Permission review
Static risk signals and limitations
Runs scripts
The documentation asks the agent to run terminal commands or scripts.
Before starting, use `comet/reference/scripts.md` to run the public Comet CLI command. When resuming from any entry point, first use `comet/reference/context-recovery.md` to check phase/workflow.Runs scripts
The documentation asks the agent to run terminal commands or scripts.
When resuming an existing hotfix change, the first state operation must be `comet state select <change-name>`. For a new change, run the command immediately after `.comet.yaml` initialization and before source writes.Evidence record
Why each signal appears
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 86/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 2,640 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Provenance and original SKILL.md
- Repository
- rpamis/comet
- Skill path
- assets/skills/comet-hotfix/SKILL.md
- Commit
- 966d6cbebc2b044a341e6f60968d7d64cbee18dd
- License
- MIT
- Collected
- 2026-08-05
- Default branch
- master
View the original SKILL.md
Comet Preset Path: Hotfix
Before starting or recovering, read and follow comet/reference/classic-layout.md. Every OpenSpec CLI call in this file must use the adapter, and every file path must use the <classic-*> logical roots bound by that protocol.
Quick bug fix workflow: open → build → verify → archive. Skip brainstorming and full plan, applicable for behavior fixes not involving new capability design.
Applicable conditions (all must be met):
- Fix bugs in existing functionality, no new capability
- No interface changes or architecture adjustments
- Change scope is predictable (file count is a hint only, not a hard upgrade condition; see Upgrade Assessment below)
Not applicable: If the fix process hits a qualitative-change signal (see "Upgrade Assessment" section), the user decides whether to upgrade to the full /comet-classic workflow.
Process (preset workflow, 6 steps)
0. Output Language Constraint
Streamlined OpenSpec artifacts must use the configured Comet artifact language. Before .comet.yaml exists, read classic.language from project .comet/config.yaml, then fall back to global ~/.comet/config.yaml; after initialization, use comet state get <name> language.
Execution chain: open → build → root cause check → verify → archive. Hotfix provides default decisions for each phase: streamlined open, direct build, root cause confirmation, scale-based verification, and final archive confirmation after verification passes.
Before starting, use comet/reference/scripts.md to run the public Comet CLI command. When resuming from any entry point, first use comet/reference/context-recovery.md to check phase/workflow.
When resuming an existing hotfix change, the first state operation must be comet state select <change-name>. For a new change, run the command immediately after .comet.yaml initialization and before source writes.
1. Quick Open (preset open)
Reuse Comet open capability to create change, but use hotfix defaults: do not execute openspec-explore long exploration, directly enter streamlined change creation.
Immediately execute: Use the Skill tool to load the openspec-new-change skill. Skipping this step is prohibited.
External OpenSpec Skill override: Do not execute its direct official CLI, fixed-cwd, or fixed physical OpenSpec path instructions. Route every OpenSpec command through comet classic openspec -- <args...> and use the <classic-*> logical roots bound for this run for every change and artifact path.
After the skill loads, create the change skeleton first, then immediately initialize recoverable state and bind the current change:
comet state init <name> hotfix
comet state select <name>
comet state check <name> open
If the select / check output is BLOCKED because bound_branch does not match the current branch, immediately pause under comet/reference/decision-point.md and let the user choose one option: switch back to the bound branch and rerun entry verification, or run comet state rebind <change-name> after the user explicitly confirms the current branch should take over this change, then rerun entry verification. Do not switch branches or rebind on your own.
Entry workspace isolation is a user decision point; do not use current as the default isolation mode. Pause under comet/reference/decision-point.md and let the user choose one option:
- A. Work directly on the current branch: run
comet state set <name> isolation currentto truthfully bind the current branch - B. Create a branch: create and switch to
hotfix/YYYYMMDD/<change-name>, then runcomet state set <name> isolation branch - C. Create a worktree: first use the Skill tool to load Superpowers
using-git-worktrees; let that skill create the isolated workspace, then runcomet state set <name> isolation worktreeinside the worktree
After B/C, rerun this in the actual execution branch or worktree:
comet state select <name>
Then create the streamlined artifacts:
proposal.md— problem description + root cause analysis + fix goal (no solution comparison needed)design.md— fix solution (one is enough, no multi-solution comparison needed)tasks.md— fix task list- No delta spec needed (unless fix changes existing spec acceptance scenarios)
Run phase guard to transition open → build:
comet guard <change-name> open --apply
Check auto_transition to decide whether to continue:
comet state next <name>
NEXT: auto→ continue to Step 2NEXT: manual→ return control withHINTand end the current invocation; do not ask whether to continue
2. Direct Build (preset build)
Use hotfix defaults: build_mode: direct, tdd_mode: direct, and review_mode: off. isolation must keep the entry workspace isolation the user confirmed in Step 1; do not change it back to current on your own. Here direct skips full planning/TDD orchestration; it never skips reproduction, regression coverage, or verification. Skip Superpowers brainstorming and writing-plans; task count alone does not route to /comet-build. Keep larger task lists ordered in the current hotfix and ask about upgrading only when a qualitative-change signal or scope tripwire is hit.
Before continuing or starting changes, handle uncommitted changes through comet/reference/dirty-worktree.md. If attribution shows a qualitative-change signal or file-count tripwire is hit, handle it through this file's "Upgrade Assessment".
Before implementation, reproduce the bug and record failing evidence first:
- Confirm the reported old behavior with minimal repeatable steps and record the command, input, and actual result
- When automatable, add and run a regression test that fails for this bug; confirm the failure is caused by the bug rather than the environment or test itself
- If automation is temporarily impossible, record why plus repeatable manual failing evidence in the proposal/verification report; never edit code without evidence
After RED evidence exists, execute tasks one by one according to tasks.md:
- Read
<classic-change-dir>/tasks.md, get incomplete task list - For each incomplete task:
- Modify code according to task description
- Run project formatter (e.g.,
mvn spotless:apply,npm run format) - First rerun the new failing regression test and confirm it turns green, then run related tests
- Check corresponding
- [ ]to- [x]in tasks.md - Commit code, commit message format:
fix: <brief fix description>
- After all tasks complete, explicitly run relevant project tests and build commands
If fix affects existing spec acceptance scenarios:
- Create delta spec in
<classic-change-dir>/specs/<capability>/spec.md - Only include
## MODIFIED Requirementssection
During hotfix execution, whenever a crash, unexpected behavior, test failure, or build failure appears while running the program, tests, build, or manual verification, must use the Skill tool to load the Superpowers systematic-debugging skill. Before root-cause investigation is complete, must not propose or implement source-code fixes.
For specific investigation, minimal failing test, fix verification, and keeping the current change verification loop, follow comet/reference/debug-gate.md.
3. Root Cause Elimination Check
Execute before running build guard, ensuring the fix actually eliminates the root cause:
- Read bug description and root cause in proposal.md
- Search and verify problem code no longer exists
- If root cause not eliminated, return to Step 2 to continue fix (still in build phase, no state transition needed)
Upgrade assessment signals:
- Root cause check reveals deep architecture issues → Hits a qualitative-change signal; pause per the "Upgrade Assessment" section and let the user decide
- Fix requires additional interface changes → Hits a qualitative-change signal (introduces new public API); pause per the "Upgrade Assessment" section and let the user decide
After root cause is confirmed eliminated, run phase guard to transition build → verify:
comet guard <change-name> build --apply
State automatically updates to phase: verify, verify_result: pending, then enter verification.
4. Verification (preset verify)
Reuse /comet-verify, with comet-verify's scale assessment deciding lightweight or full verification.
Immediately execute: Use the Skill tool to load the comet-verify skill. Skipping this step is prohibited.
Small-scale hotfixes without delta spec usually meet lightweight verification conditions (≤ 3 tasks, changed files below the scale threshold), comet-verify's scale assessment will select the lightweight verification path (6 quick checks; default review_mode: off does not dispatch automatic code review). If the user wants to increase review, they can run comet state set <name> review_mode standard or thorough before verification. If hotfix created delta spec, enter full verification path according to comet-verify's scale assessment rules.
After verification passes, record .comet.yaml verify_result as pass according to /comet-verify rules, must not skip this status before archiving. After verification passes, still enter /comet-archive's final archive confirmation; do not automatically run the archive script.
5. Archive (preset archive)
Reuse /comet-archive. Must satisfy verify_result: pass in .comet.yaml before archiving, and wait for /comet-archive's final archive confirmation.
Immediately execute: Use the Skill tool to load the comet-archive skill to archive. Skipping this step is prohibited.
If there is delta spec, sync to main spec according to comet-archive rules, and handle associated Design Doc and Plan archiving annotations.
Continuous Execution Mode
Exception: when .comet.yaml has auto_transition: false, end the current invocation at each phase boundary and return control with HINT; the user may run the next phase later. This is a manual handoff, not a new confirmation point.
The following genuine user decisions still pause:
- Encountering an upgrade-assessment signal (see "Upgrade Assessment" section). Pause, present the choices, and wait for the user to explicitly choose: continue the hotfix flow, or upgrade to the full
/comet-classicworkflow - Verify-phase acceptance of WARNING/SUGGESTION deviations, Spec drift handling, or strategy after the automatic repair limit; the first 3 clearly repairable failures close automatically
- Final archive confirmation and the branch-handling decision after the archive commit
Execution order: quick open → direct build → root cause check → verification → archive → complete
After each step completes, immediately enter next step. Within each phase, must still call corresponding Comet/OpenSpec/Superpowers skill according to above requirements; if the called skill has its own user decision points, follow that skill's rules.
Upgrade Assessment
Hotfix upgrade assessment only decides whether to move from the preset workflow to full; file count never upgrades automatically, and comet state scale only decides verification weight.
If /comet-classic passes an intent frame from the entry, hotfix must recheck risk_signal and escalation signals only before build: new capability, public API, schema change, cross-module coordination, or deep architecture work. When any signal matches, enter the existing escalation decision point; do not reimplement entry intent recognition.
Continuously check these qualitative-change signals: cross-module coordination, needing a new capability, database schema changes, introducing a new public API, or touching a deep architecture problem (in hotfix context this often surfaces during the root-cause elimination check). If any signal appears, the agent must not self-upgrade or self-decide to continue.
The file-count tripwire is only a prompt: when changed files exceed the hint threshold (for example > 4 files), ask the user whether to continue hotfix or upgrade full. More files do not necessarily mean qualitative change. A bug fix is usually focused on 1-3 files, so exceeding the threshold means the change surface is larger and is worth having the user confirm it still fits the preset scope.
When a qualitative-change signal or file-count tripwire is hit, must pause under the comet/reference/decision-point.md protocol and wait for the user's explicit choice. Do not directly enter /comet-design; do not automatically add a Design Doc.
After the user chooses upgrade (option B), use the legal state-machine upgrade channel, a single command that converts the preset workflow to full and rolls back to design:
comet state transition <name> preset-escalate
This command atomically sets workflow/classic_profile to full, rolls phase back to design, clears design_doc, and clears preset-only build_mode, tdd_mode, review_mode, isolation, and verify_mode. Then add the Design Doc on the current change: immediately use the Skill tool to load the comet-design skill. On entering build, run the full joint workflow-configuration decision again.
When the user chooses continue (option A), continue the hotfix workflow and record the user's reason for continuing.
Exit Conditions
- Bug fixed, tests pass
- Change archived
- If spec changes, synced to main spec
- Phase guard: Before build → verify run
comet guard <change-name> build --apply; before verify → archive follow/comet-verifyand runcomet guard <change-name> verify --apply
Automatic Handoff to Next Phase
Follow comet/reference/auto-transition.md. Key command:
comet state next <name>
NEXT: auto→ invoke the skill pointed to bySKILLto continue hotfix workflow (phase: buildreturnscomet-hotfix,verifyreturnscomet-verify,archivereturnscomet-archive)NEXT: manual→ do not invoke the next skill; return control withHINT, end the invocation, and do not create another confirmation pointNEXT: done→ workflow is complete, no further action needed
Alternatives
Compare before choosing
rpamis/comet
comet-hotfix
Comet preset path: Bug fix / hotfix. Skip brainstorming, directly open → build → verify → archive. Applicable for behavior fixes, scenarios not involving new capability design.
alirezarezvani/claude-skills
app-store-optimization
App Store Optimization (ASO) toolkit for researching keywords, analyzing competitor rankings, generating metadata suggestions, and improving app visibility on Apple App Store and Google Play Store. Use when the user asks about ASO, app store rankings, app metadata, app titles and descriptions, app store listings, app visibility, or mobile app marketing on iOS or Android. Supports keyword research and scoring, competitor keyword analysis, metadata optimization, A/B test planning, launch checklist
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
wanshuiyin/Auto-claude-code-research-in-sleep
citation-audit
Use it for operations and research tasks; the detail page covers purpose, installation, and practical steps.