This skill guides an agent through opening, building, diagnosing, verifying, and archiving a hotfix while excluding new features, interface changes, and architectural redesign. It specifies how to resume SDK Runs, submit evidence, handle escalation and user approvals, and load the verification and archive skills. It also covers the compatibility path and an optional change walkthrough.
78%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Low
Low-risk findings worth noting
Fix and improve this skill with Tessl
tessl review fix ./assets/skills/comet-hotfix/SKILL.mdBefore starting or resuming, read and follow comet-classic/reference/classic-layout.md. All OpenSpec CLI calls must use the adapter, and all paths must use the bound <classic-*> logical roots.
A short defect-repair flow: open → build → root cause check → verify → archive. It skips brainstorming and a full implementation plan, and applies to repairing existing behavior without designing new features.
All applicability conditions must hold:
Escalation: If the changes listed in Preset scope arise, the user decides whether to switch to the full /comet-classic workflow.
On first entering a phase, handing off to a new Agent, or recovering context, read and follow Task context and artifact language. Prefer the current continuation or claimed Action's contextRequest; do not fetch it again during uninterrupted work in the same phase.
Personal memory stores reusable user information. Never save task summaries, progress, command output, or test results.
First read and follow ordinary commands and checks. New and old Runs use platform tools for ordinary commands and submit actual check reports to the original Run. Automatic upgrades do not restore old check executors. Phase preparation, user choices, task completion, and acceptance requirements remain effective.
On first entering the current SDK phase, changing Agent, or recovering context, read Phase entry and recovery and its current phase section. Reuse applicable instructions already in this session. Follow the current phase below; nextAction.kind recovery routing applies only to old responses without a continuation mode.
When starting or resuming, reuse valid agent.continuation / data.nextAction and the bound change, workspace, phase, and Run revision. Route by known data.runtimeFormat. Run comet state next <change-name> --json only for a cold resume, external state change, or missing information. Follow this section for sdk; the SDK methods reference still governs applicability, reproduction and root cause checks, escalation, and file-count authorization. Submit state and evidence through the commands below. For nextAction.kind: reconcile, run comet state check <change-name> <phase> --recover --json to inspect the original Action. Do not repeat implementation, checks, or Archive while its result is unknown.
comet classic workspace prepare <name> --isolation <selected-isolation> --json and enter the returned projectRoot. Create the OpenSpec base directories through Entry and artifacts, run comet state init <name> hotfix --isolation <selected-isolation> --select --json to initialize the Run and bind Hook routing. Follow Entry and artifacts to create the concise OpenSpec artifacts. Preview with comet guard <change-name> open --json and retain data.approvalHash. Present the Open artifacts and scope to the user. After explicit approval, run comet guard <change-name> open --apply --approval-hash <approvalHash>. Changed artifacts require a fresh preview and approval; do not reuse an old hash. Open finishes only when the Run enters Build. New changes use comet-state.yaml; historical changes retain their original filename.hotfix.build.execute is pending, resume Build in the same change, workspace, and Run. Do not initialize again or repeat Open. Follow Preset scope to reproduce the defect, preserve failure evidence, complete tasks, and check the root cause. For a material escalation signal, or a file-count limit without valid authorization, first run comet state propose-escalation <change-name> --reason "<reason>". Present the reason and the effects of continuing hotfix or upgrading to full; retain data.wait.proposalHash. After the user chooses, run comet state decide-escalation <change-name> --proposal-hash <proposalHash> --choice <continue|upgrade>. continue still requires the reference's scope, risk, and ruling conditions. upgrade enters full Design in the same Run and workspace; immediately follow the entry to load comet-design. Resume a pending Wait with its original proposal; do not repropose or choose for the user.comet state complete-build <change-name> --session <builder-execution-ref> --checks <checks-json-file> to submit actual results. This adds no user decision. Runtime validates tasks, configuration, workspace, and reports before entering Verify. On failure or uncertainty, inspect the original task through the returned current Action without repeating execution.state next --json if completion state is missing.After each advance, use that result's agent.continuation / data.nextAction. Do not repeat next, select, or check while state is valid and complete; read again only on a cold resume, after external state changes, or for missing information. Resolve decision, evidence, or reconcile within the current Run; execute the corresponding step only for action.
Use the actual --session <builder-execution-ref> for SDK Build; do not repeat it when already supplied.
The remaining original Runtime steps apply only to runtimeFormat: compat. Read Compat operations and continue its current phase. SDK does not load that reference.
At Build completion and before presenting Verify results, check the project .comet/config.yaml field change_walkthrough (enabled by default; only explicit false disables it). When enabled, read and execute Change walkthrough, use the shared template to generate or update the same walkthrough.html, and provide an opening link. When disabled, skip extra explanation, detailed instructions and rendering; retain the existing summary. Archive preserves existing pages with the materials and links to their actual archived location; it does not generate missing pages, add confirmation or rerun code checks for page updates.
rpamis/comet
2e33ae4
cometcomet classiccomet classic workspacecomet classic workspace preparecomet statecomet state nextcomet state checkcomet state initcomet state propose-escalationcomet state decide-escalationcomet state complete-buildcomet guardcomet guard openSkillIf you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.