[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C3AQ4WZHC8T1RXA3V5P2CS":3,"skill-same:01M6C3AQ4WZHC8T1RXA3V5P2CS":80},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":29,"linkOnly":30,"markdownContent":31,"markdownBody":32,"frontMatter":33,"refName":38,"commitSha":39,"skillDirectory":40,"forksCount":41,"repositoryHtmlUrl":42,"repositoryHomepageUrl":43,"ownerHtmlUrl":44,"ownerBlogUrl":45,"ownerDescription":46,"updatedAt":47,"install":48,"resources":61},"01M6C3AQ4WZHC8T1RXA3V5P2CS","speckit-bug-fix",null,"Apply the remediation from a bug assessment and record what was changed","IgorGanapolsky\u002FRandom-Timer","IgorGanapolsky","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F201209?v=4","01M6C2WB7720K13ERYVB3AJ0SQ","Igor Ganapolsky","01M6C2WBBF0NWVQV4A89FS00Q5",1,"MIT","https:\u002F\u002Fgithub.com\u002FIgorGanapolsky\u002FRandom-Timer\u002Fblob\u002Fdevelop\u002F.cursor\u002Fskills\u002Fspeckit-bug-fix\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28],"bug fix","fix","speckit bug fix","directory","spec","project structure","assessment","core","specify","remediation","2026-11-10 10:12:30",false,"---\nname: speckit-bug-fix\ndescription: Apply the remediation from a bug assessment and record what was changed\ncompatibility: Requires spec-kit project structure with .specify\u002F directory\nmetadata:\n  author: spec-kit-core\n  source: bug:commands\u002Fspeckit.bug.fix.md\n---\n\n# Fix Bug\n\nApply the remediation that was proposed by `\u002Fspeckit-bug-assess` and record the changes in a fix report at `.specify\u002Fbugs\u002F\u003Cslug>\u002Ffix.md`. This command is **only** valid after an assessment exists for the given slug.\n\n## User Input\n\n```text\n$ARGUMENTS\n```\n\nThe user input should identify the bug to fix. Accept any of:\n\n- `slug=\u003Cbug-slug>` or `--slug \u003Cbug-slug>` or just a bare slug-like token.\n- A path that contains the slug (e.g. `.specify\u002Fbugs\u002Flogin-timeout\u002F`).\n- **Nothing** — fall back to context (see below).\n\n## Slug Resolution\n\nResolve `BUG_SLUG` in this order, stopping at the first match:\n\n1. **Explicit user input** — a slug passed in `$ARGUMENTS` (any of the forms above).\n2. **Conversation context** — if the current session has just run `\u002Fspeckit-bug-assess`, the slug it reported is the working slug. Reuse it without re-prompting. Confirm it by checking that `.specify\u002Fbugs\u002F\u003Cslug>\u002Fassessment.md` exists; if it does not, fall through.\n3. **Single candidate on disk** — list `.specify\u002Fbugs\u002F*\u002Fassessment.md`. If exactly one matching `assessment.md` is found, use the slug from its parent directory.\n4. **Disambiguate**:\n   - **Interactive mode**: ask the user which bug to fix and list the candidates.\n   - **Automated mode**: stop with an error listing the candidates. Do not guess.\n\nOnce resolved, set `BUG_SLUG` and `BUG_DIR = .specify\u002Fbugs\u002F\u003CBUG_SLUG>`, and briefly state in your reply which resolution path was used (explicit \u002F from context \u002F single candidate \u002F asked).\n\n## Prerequisites\n\n- `BUG_DIR\u002Fassessment.md` MUST exist. If it does not, stop and instruct the user to run `\u002Fspeckit-bug-assess` first.\n- If `BUG_DIR\u002Ffix.md` already exists, ask the user whether to overwrite it before continuing (interactive mode) or refuse (automated mode).\n- Read `BUG_DIR\u002Fassessment.md` in full. Treat its **Proposed Remediation**, **Files likely to change**, **Tests to add or update**, and **Risks & Considerations** sections as the contract for this command.\n\n## Execution\n\n1. **Confirm the plan**\n   - Restate, in 3–6 bullets, what you are about to change and where, based on the assessment.\n   - If the assessment's verdict is `invalid`, stop — there is nothing to fix. Tell the user and exit.\n   - If the verdict is `likely valid, needs reproduction` and there are unresolved `[NEEDS CLARIFICATION]` items, flag them and ask the user whether to proceed in interactive mode, or stop in automated mode.\n\n2. **Apply the remediation**\n   - Make the code changes described by the preferred remediation. Stay within the files listed by the assessment unless newly discovered evidence requires expanding scope (in which case, log the expansion explicitly in the report).\n   - Add or update the tests called out in the assessment so the bug cannot regress silently.\n   - Keep the change minimal — do not refactor unrelated code, do not introduce dependencies that the assessment did not call for.\n   - If you discover the assessment was wrong (the proposed fix does not work, the root cause is elsewhere), STOP modifying code, document the new finding in the fix report under **Deviations from Assessment**, and recommend re-running `\u002Fspeckit-bug-assess`.\n\n3. **Run local checks**\n   - If the project has obvious test commands (e.g., `pytest`, `npm test`, `cargo test`), run the tests that exercise the changed paths. Capture pass\u002Ffail and key output.\n   - Do not run destructive or network-dependent suites without the user's consent.\n\n4. **Write the fix report**\n\n   Write to `BUG_DIR\u002Ffix.md` using this structure:\n\n   ```markdown\n   # Bug Fix: \u003Cshort title>\n\n   - **Slug**: \u003CBUG_SLUG>\n   - **Fixed**: \u003CISO 8601 date>\n   - **Assessment**: .\u002Fassessment.md\n   - **Status**: applied | partial | not-applied\n\n   ## Summary\n\n   \u003COne or two sentences describing what was changed and why.>\n\n   ## Changes\n\n   | File | Change | Notes |\n   |------|--------|-------|\n   | `path\u002Fto\u002Ffile.py` | \u003Cadded \u002F modified \u002F removed> | \u003Cshort note> |\n   | `path\u002Fto\u002Ftest_file.py` | added test | \u003Cshort note> |\n\n   ## Diff Highlights (optional)\n\n   \u003CShort, illustrative snippets of the most important hunks — not a full diff dump.>\n\n   ## Tests Added or Updated\n\n   - `path\u002Fto\u002Ftest_file.py::test_name` — \u003Cwhat it pins down>\n\n   ## Local Verification\n\n   - Commands run: `\u003Ccommand>` → \u003Cresult, brief>\n   - Manual checks: \u003Cwhat was verified by hand, if anything>\n\n   ## Deviations from Assessment\n\n   \u003CEmpty if none. Otherwise, list any places where the actual fix departed from the proposed remediation and why.>\n\n   ## Follow-ups\n\n   - \u003Csuggested cleanup, monitoring, doc update, etc.>\n   ```\n\n5. **Report back** with:\n   - The slug and `BUG_DIR\u002Ffix.md` path.\n   - The status (`applied`, `partial`, `not-applied`).\n   - The next suggested step: `\u002Fspeckit-bug-test slug=\u003CBUG_SLUG>`.\n\n## Guardrails\n\n- Never modify files outside the project workspace.\n- Never edit `assessment.md` — it is the contract you are working against. Record disagreements in `fix.md` under **Deviations from Assessment**.\n- Never delete files unless the assessment explicitly required it.\n- Never overwrite an existing `fix.md` without confirmation.","# Fix Bug\n\nApply the remediation that was proposed by `\u002Fspeckit-bug-assess` and record the changes in a fix report at `.specify\u002Fbugs\u002F\u003Cslug>\u002Ffix.md`. This command is **only** valid after an assessment exists for the given slug.\n\n## User Input\n\n```text\n$ARGUMENTS\n```\n\nThe user input should identify the bug to fix. Accept any of:\n\n- `slug=\u003Cbug-slug>` or `--slug \u003Cbug-slug>` or just a bare slug-like token.\n- A path that contains the slug (e.g. `.specify\u002Fbugs\u002Flogin-timeout\u002F`).\n- **Nothing** — fall back to context (see below).\n\n## Slug Resolution\n\nResolve `BUG_SLUG` in this order, stopping at the first match:\n\n1. **Explicit user input** — a slug passed in `$ARGUMENTS` (any of the forms above).\n2. **Conversation context** — if the current session has just run `\u002Fspeckit-bug-assess`, the slug it reported is the working slug. Reuse it without re-prompting. Confirm it by checking that `.specify\u002Fbugs\u002F\u003Cslug>\u002Fassessment.md` exists; if it does not, fall through.\n3. **Single candidate on disk** — list `.specify\u002Fbugs\u002F*\u002Fassessment.md`. If exactly one matching `assessment.md` is found, use the slug from its parent directory.\n4. **Disambiguate**:\n   - **Interactive mode**: ask the user which bug to fix and list the candidates.\n   - **Automated mode**: stop with an error listing the candidates. Do not guess.\n\nOnce resolved, set `BUG_SLUG` and `BUG_DIR = .specify\u002Fbugs\u002F\u003CBUG_SLUG>`, and briefly state in your reply which resolution path was used (explicit \u002F from context \u002F single candidate \u002F asked).\n\n## Prerequisites\n\n- `BUG_DIR\u002Fassessment.md` MUST exist. If it does not, stop and instruct the user to run `\u002Fspeckit-bug-assess` first.\n- If `BUG_DIR\u002Ffix.md` already exists, ask the user whether to overwrite it before continuing (interactive mode) or refuse (automated mode).\n- Read `BUG_DIR\u002Fassessment.md` in full. Treat its **Proposed Remediation**, **Files likely to change**, **Tests to add or update**, and **Risks & Considerations** sections as the contract for this command.\n\n## Execution\n\n1. **Confirm the plan**\n   - Restate, in 3–6 bullets, what you are about to change and where, based on the assessment.\n   - If the assessment's verdict is `invalid`, stop — there is nothing to fix. Tell the user and exit.\n   - If the verdict is `likely valid, needs reproduction` and there are unresolved `[NEEDS CLARIFICATION]` items, flag them and ask the user whether to proceed in interactive mode, or stop in automated mode.\n\n2. **Apply the remediation**\n   - Make the code changes described by the preferred remediation. Stay within the files listed by the assessment unless newly discovered evidence requires expanding scope (in which case, log the expansion explicitly in the report).\n   - Add or update the tests called out in the assessment so the bug cannot regress silently.\n   - Keep the change minimal — do not refactor unrelated code, do not introduce dependencies that the assessment did not call for.\n   - If you discover the assessment was wrong (the proposed fix does not work, the root cause is elsewhere), STOP modifying code, document the new finding in the fix report under **Deviations from Assessment**, and recommend re-running `\u002Fspeckit-bug-assess`.\n\n3. **Run local checks**\n   - If the project has obvious test commands (e.g., `pytest`, `npm test`, `cargo test`), run the tests that exercise the changed paths. Capture pass\u002Ffail and key output.\n   - Do not run destructive or network-dependent suites without the user's consent.\n\n4. **Write the fix report**\n\n   Write to `BUG_DIR\u002Ffix.md` using this structure:\n\n   ```markdown\n   # Bug Fix: \u003Cshort title>\n\n   - **Slug**: \u003CBUG_SLUG>\n   - **Fixed**: \u003CISO 8601 date>\n   - **Assessment**: .\u002Fassessment.md\n   - **Status**: applied | partial | not-applied\n\n   ## Summary\n\n   \u003COne or two sentences describing what was changed and why.>\n\n   ## Changes\n\n   | File | Change | Notes |\n   |------|--------|-------|\n   | `path\u002Fto\u002Ffile.py` | \u003Cadded \u002F modified \u002F removed> | \u003Cshort note> |\n   | `path\u002Fto\u002Ftest_file.py` | added test | \u003Cshort note> |\n\n   ## Diff Highlights (optional)\n\n   \u003CShort, illustrative snippets of the most important hunks — not a full diff dump.>\n\n   ## Tests Added or Updated\n\n   - `path\u002Fto\u002Ftest_file.py::test_name` — \u003Cwhat it pins down>\n\n   ## Local Verification\n\n   - Commands run: `\u003Ccommand>` → \u003Cresult, brief>\n   - Manual checks: \u003Cwhat was verified by hand, if anything>\n\n   ## Deviations from Assessment\n\n   \u003CEmpty if none. Otherwise, list any places where the actual fix departed from the proposed remediation and why.>\n\n   ## Follow-ups\n\n   - \u003Csuggested cleanup, monitoring, doc update, etc.>\n   ```\n\n5. **Report back** with:\n   - The slug and `BUG_DIR\u002Ffix.md` path.\n   - The status (`applied`, `partial`, `not-applied`).\n   - The next suggested step: `\u002Fspeckit-bug-test slug=\u003CBUG_SLUG>`.\n\n## Guardrails\n\n- Never modify files outside the project workspace.\n- Never edit `assessment.md` — it is the contract you are working against. Record disagreements in `fix.md` under **Deviations from Assessment**.\n- Never delete files unless the assessment explicitly required it.\n- Never overwrite an existing `fix.md` without confirmation.",{"name":5,"metadata":34,"description":7,"compatibility":37},{"author":35,"source":36},"spec-kit-core","bug:commands\u002Fspeckit.bug.fix.md","Requires spec-kit project structure with .specify\u002F directory","develop","4af946ac9a2b3cfbbe9b2e8696cc436f1d16e2e2",".cursor\u002Fskills\u002Fspeckit-bug-fix",0,"https:\u002F\u002Fgithub.com\u002FIgorGanapolsky\u002FRandom-Timer","https:\u002F\u002Fapps.apple.com\u002Fus\u002Fapp\u002Frandom-tactical-timer\u002Fid6758355312","https:\u002F\u002Fgithub.com\u002FIgorGanapolsky","https:\u002F\u002Fwww.igorganapolsky.com","Forward Deploy AI Engineer. Automation specialist.\r\n","2026-11-09 23:14:20",{"source":8,"skillName":5,"commands":49,"prompt":59,"zipAvailable":60},[50,53,56],{"tool":51,"command":52},"npx","npx skills add IgorGanapolsky\u002FRandom-Timer --skill speckit-bug-fix",{"tool":54,"command":55},"bunx","bunx skills add IgorGanapolsky\u002FRandom-Timer --skill speckit-bug-fix",{"tool":57,"command":58},"pnpm","pnpm dlx skills add IgorGanapolsky\u002FRandom-Timer --skill speckit-bug-fix","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FIgorGanapolsky\u002FRandom-Timer\u002Fblob\u002Fdevelop\u002F.cursor\u002Fskills\u002Fspeckit-bug-fix\u002FSKILL.md",true,[62,68,72,76],{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Falert-configuration.md","REFERENCE","参考文档",905,"https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Fplugins-community\u002Fplugins\u002Fsaas-packs\u002Fvercel-pack\u002Fskills\u002Fvercel-observability\u002Freferences\u002Falert-configuration.md",{"path":69,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Ferrors.md",323,"https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Fplugins-community\u002Fplugins\u002Fsaas-packs\u002Fvercel-pack\u002Fskills\u002Fvercel-observability\u002Freferences\u002Ferrors.md",{"path":73,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Fexamples.md",189,"https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Fplugins-community\u002Fplugins\u002Fsaas-packs\u002Fvercel-pack\u002Fskills\u002Fvercel-observability\u002Freferences\u002Fexamples.md",{"path":77,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Fmetrics-collection.md",1584,"https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Fplugins-community\u002Fplugins\u002Fsaas-packs\u002Fvercel-pack\u002Fskills\u002Fvercel-observability\u002Freferences\u002Fmetrics-collection.md",[81,102,121,132,144,155],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":97,"publishedAt":29},"01M6C3CEGAENG02BPG636N9WG6","writing-plans","Use when you have a spec or requirements for a multi-step task, before touching code","https:\u002F\u002Fgithub.com\u002FIgorGanapolsky\u002FRandom-Timer\u002Fblob\u002Fdevelop\u002F.cursor\u002Fskills\u002Fwriting-plans\u002FSKILL.md",[87,92],{"categoryNo":88,"categoryName":89,"taxonomyType":90,"taxonomyTypeDesc":91},"01JBSEEDCAT000000000000018","写作与文案","SCENARIO","使用场景",{"categoryNo":93,"categoryName":94,"taxonomyType":95,"taxonomyTypeDesc":96},"01JBSEEDCAT000000000000036","内容创作者","PROFESSION","适用职业",[98,99,23,100,101],"writing plans","writing","code","use",{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":111,"publishedAt":29},"01M6C3CC40GJBTJQHQ5BF7CQN9","workflow-economics-lite","Escape AI pilot purgatory: require completion-loop workflows with one owner, baseline, economic metric, system-of-record integration, and audit trail. Block orphan chatbots and interest-as-ROI claims.","https:\u002F\u002Fgithub.com\u002FIgorGanapolsky\u002FRandom-Timer\u002Fblob\u002Fdevelop\u002F.cursor\u002Fskills\u002Fworkflow-economics-lite\u002FSKILL.md",[108],{"categoryNo":109,"categoryName":110,"taxonomyType":90,"taxonomyTypeDesc":91},"01JBSEEDCAT000000000000023","Skill与智能体开发",[112,113,114,115,116,117,118,119,120],"workflow economics lite","workflow","loop","roi","workflows","audit","integration","baseline","system",{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":29},"01M6C3C9ESBW612NMMMBQDWSWR","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\u002FIgorGanapolsky\u002FRandom-Timer\u002Fblob\u002Fdevelop\u002F.cursor\u002Fskills\u002Fverification-before-completion\u002FSKILL.md",[],[128,129,101,130,131],"verification before completion","verification","evidence","work",{"skillNo":133,"name":134,"nameZh":6,"description":135,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":136,"categories":137,"keywords":138,"publishedAt":29},"01M6C3C71DNQHJ6PGV0TN1R99N","value-center-lite","Apply InfoQ Rohrer value-center \u002F VSM five questions (agency + coherence). Use when planning work, shipping releases, or auditing agent autonomy claims. Fail closed on product-only slogans without WQTU\u002Fpaywall value.","https:\u002F\u002Fgithub.com\u002FIgorGanapolsky\u002FRandom-Timer\u002Fblob\u002Fdevelop\u002F.cursor\u002Fskills\u002Fvalue-center-lite\u002FSKILL.md",[],[139,140,101,131,141,142,143],"value center lite","only","product","shipping","planning",{"skillNo":145,"name":146,"nameZh":6,"description":147,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":148,"categories":149,"keywords":150,"publishedAt":29},"01M6C3C41Q0R2J49F3Q4CQ004J","using-superpowers","Use when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions","https:\u002F\u002Fgithub.com\u002FIgorGanapolsky\u002FRandom-Timer\u002Fblob\u002Fdevelop\u002F.cursor\u002Fskills\u002Fusing-superpowers\u002FSKILL.md",[],[151,152,101,153,154],"superpowers","using superpowers","find","how",{"skillNo":156,"name":157,"nameZh":6,"description":158,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":159,"categories":160,"keywords":161,"publishedAt":29},"01M6C3C1EBYXRVMNHZZE9N49PN","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\u002FIgorGanapolsky\u002FRandom-Timer\u002Fblob\u002Fdevelop\u002F.cursor\u002Fskills\u002Fusing-git-worktrees\u002FSKILL.md",[],[162,163,164,165,166,167,168,131,101],"git","using git worktrees","git worktrees","git worktree","Tools","worktree","workspace"]