[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71S9SWNQ312G4X4MVT4NVHD":3,"skill-same:01M71S9SWNQ312G4X4MVT4NVHD":113},{"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":23,"publishedAt":43,"linkOnly":44,"markdownContent":45,"markdownBody":46,"frontMatter":47,"refName":67,"commitSha":68,"skillDirectory":69,"forksCount":70,"repositoryHtmlUrl":71,"repositoryHomepageUrl":72,"ownerHtmlUrl":73,"ownerBlogUrl":74,"ownerDescription":75,"updatedAt":76,"install":77,"resources":90},"01M71S9SWNQ312G4X4MVT4NVHD","incident",null,"Live incident response — intake a Sentry issue, stack trace, or symptom; gate mitigate-first vs root-cause-first; keep a UTC timeline","HigorAlves\u002Forc","HigorAlves","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F11262976?v=4","01M71S79EZEMHZ8PQSV0XQJHYY","Higor Alves","01M71S79FKKTCHCN1EDR8DSTWQ",7,"MIT","https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fincident\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[5,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42],"edit","when","action","URL","now","show","issue","log","up","incident response","write","read","question","ask","broken","branch","stack","Bash","git","2026-11-10 13:02:02",false,"---\nname: incident\ndescription: Live incident response — intake a Sentry issue, stack trace, or symptom; gate mitigate-first vs root-cause-first; keep a UTC timeline\nwhen_to_use: Use when production is broken RIGHT NOW; for the after-action write-up alone, use $orc-postmortem.\nargument-hint: \"[\u003Csentry-issue-id-or-url> | \u003Cpasted stack trace> | \u003Csymptom>] [--severity sev-1|sev-2|sev-3]\"\nallowed-tools:\n  - Bash(orc-state:*)\n  - Read\n  - Write\n  - Edit\n  - Glob\n  - Grep\n  - Skill\n  - Task\n  - the available user-question tool (or ask in chat)\n  - Bash(sentry:*)\n  - Bash(jq:*)\n  - Bash(date:*)\n  - Bash(git log:*)\n  - Bash(git branch --show-current:*)\n  - Bash(git diff:*)\n  - Bash(orc-workspace-detect:*)\n---\n\n# $orc-incident\n\nRun an incident while it happens: triage the evidence, size the blast radius, choose mitigate-first or root-cause-first, and keep a UTC timeline that becomes the postmortem's spine. Stop the bleeding before you study the wound; `$orc-postmortem` learns from the incident afterwards.\n\n## Arguments\n\n- First argument (free-form) — a Sentry issue short ID or URL, a pasted stack trace, or a described symptom.\n- `--severity sev-1|sev-2|sev-3` — optional. Skips the severity proposal in P2; P2 still assesses the blast radius.\n\nNOTE: a Sentry short ID looks like `PROJ-123`; `orc-sentry-cli` pulls it live. A symptom reads like \"checkout is 500ing since the 14:00 deploy\".\n\n## Preconditions\n\n> **🛑 No production mutations**\n>\n> P3 previews rollbacks, flag flips and scaling calls; the user executes them. orc records; the human acts.\n\n- A `loose` context stops the run in Phase 0: there is no state dir to write.\n- Every action or finding in any phase appends a UTC row to `timeline.md` in the same turn.\n- Timestamps come from `date -u +%Y-%m-%dT%H:%M:%SZ`.\n\n## Phases\n\nModules live beside this file under `references\u002F` (ADR 0008 pilot). Entering a phase, Read exactly its module, per the `orc-phases` protocol.\n\n| Phase | Module | Skipped when |\n|---|---|---|\n| 0 Detect context | resident, below | never |\n| 1 Intake and timeline start | `orc-incident\u002FP1` | never |\n| 2 Assess, then the strategy gate | `orc-incident\u002FP2` | never |\n| 3 Mitigate-first path | `orc-incident\u002FP3` | the gate picks root-cause-first |\n| 4 Root-cause path | `orc-incident\u002FP4` | the user parks the root cause after P3 |\n| 5 Stabilize and hand off | `orc-incident\u002FP5` | never |\n\n### Phase 0 — Detect context\n\nRun `orc-workspace-detect --banner` in the working repository and read its output before continuing.\n\n1. Read the banner above; it exports `ORC_*` vars. Do not re-run detection.\n2. If the context is `loose`, print that and stop.\n\nNOTE: the gate in P2 routes \"Mitigate first\" to P3, \"Root-cause first\" to P4, and \"Both in parallel\" to P4 while the user's manual mitigation steps land in the timeline as reported.\n\n## Iron rules\n\n- Timeline or it did not happen: every pull, finding, mitigation and verification appends a UTC row in the same turn.\n- Never batch timeline rows at the end from memory.\n- No production mutations, ever, even when every binary is available.\n- Deploys, flag flips and scaling get a 🛑 preview; the user executes them. orc records.\n- No \"stable\" claim without evidence: a fresh Sentry read or an explicit user confirmation, recorded in the timeline.\n- Mitigation is not resolution. After mitigate-first, always offer the root-cause path before closing.\n\n## Output\n\n- `.orc\u002F\u003Cbranch>\u002Ffiles\u002Fincident\u002Ftimeline.md` — append-only UTC timeline, the postmortem seed.\n- `.orc\u002F\u003Cbranch>\u002Ffiles\u002Fincident\u002Fevidence.md` — Sentry data, stack trace, blast radius.\n- `.orc\u002F\u003Cbranch>\u002Ffiles\u002Fincident\u002Fdiagnosis.md` — when the root-cause path ran.\n- `.orc\u002F\u003Cbranch>\u002Ffiles\u002Fcheckpoint.md` plus the session entry in `.orc\u002Forc.json`.\n- Regression test and fix commits, when fixing during the incident.\n- Echoes: severity, blast radius, mitigation status, and the `$orc-postmortem` handoff line.\n\nNOTE: on interruption, `$orc-resume` reads the checkpoint and continues from the next pending phase. A resumed session re-reads `timeline.md` before acting; the file carries the full history.\n","# $orc-incident\n\nRun an incident while it happens: triage the evidence, size the blast radius, choose mitigate-first or root-cause-first, and keep a UTC timeline that becomes the postmortem's spine. Stop the bleeding before you study the wound; `$orc-postmortem` learns from the incident afterwards.\n\n## Arguments\n\n- First argument (free-form) — a Sentry issue short ID or URL, a pasted stack trace, or a described symptom.\n- `--severity sev-1|sev-2|sev-3` — optional. Skips the severity proposal in P2; P2 still assesses the blast radius.\n\nNOTE: a Sentry short ID looks like `PROJ-123`; `orc-sentry-cli` pulls it live. A symptom reads like \"checkout is 500ing since the 14:00 deploy\".\n\n## Preconditions\n\n> **🛑 No production mutations**\n>\n> P3 previews rollbacks, flag flips and scaling calls; the user executes them. orc records; the human acts.\n\n- A `loose` context stops the run in Phase 0: there is no state dir to write.\n- Every action or finding in any phase appends a UTC row to `timeline.md` in the same turn.\n- Timestamps come from `date -u +%Y-%m-%dT%H:%M:%SZ`.\n\n## Phases\n\nModules live beside this file under `references\u002F` (ADR 0008 pilot). Entering a phase, Read exactly its module, per the `orc-phases` protocol.\n\n| Phase | Module | Skipped when |\n|---|---|---|\n| 0 Detect context | resident, below | never |\n| 1 Intake and timeline start | `orc-incident\u002FP1` | never |\n| 2 Assess, then the strategy gate | `orc-incident\u002FP2` | never |\n| 3 Mitigate-first path | `orc-incident\u002FP3` | the gate picks root-cause-first |\n| 4 Root-cause path | `orc-incident\u002FP4` | the user parks the root cause after P3 |\n| 5 Stabilize and hand off | `orc-incident\u002FP5` | never |\n\n### Phase 0 — Detect context\n\nRun `orc-workspace-detect --banner` in the working repository and read its output before continuing.\n\n1. Read the banner above; it exports `ORC_*` vars. Do not re-run detection.\n2. If the context is `loose`, print that and stop.\n\nNOTE: the gate in P2 routes \"Mitigate first\" to P3, \"Root-cause first\" to P4, and \"Both in parallel\" to P4 while the user's manual mitigation steps land in the timeline as reported.\n\n## Iron rules\n\n- Timeline or it did not happen: every pull, finding, mitigation and verification appends a UTC row in the same turn.\n- Never batch timeline rows at the end from memory.\n- No production mutations, ever, even when every binary is available.\n- Deploys, flag flips and scaling get a 🛑 preview; the user executes them. orc records.\n- No \"stable\" claim without evidence: a fresh Sentry read or an explicit user confirmation, recorded in the timeline.\n- Mitigation is not resolution. After mitigate-first, always offer the root-cause path before closing.\n\n## Output\n\n- `.orc\u002F\u003Cbranch>\u002Ffiles\u002Fincident\u002Ftimeline.md` — append-only UTC timeline, the postmortem seed.\n- `.orc\u002F\u003Cbranch>\u002Ffiles\u002Fincident\u002Fevidence.md` — Sentry data, stack trace, blast radius.\n- `.orc\u002F\u003Cbranch>\u002Ffiles\u002Fincident\u002Fdiagnosis.md` — when the root-cause path ran.\n- `.orc\u002F\u003Cbranch>\u002Ffiles\u002Fcheckpoint.md` plus the session entry in `.orc\u002Forc.json`.\n- Regression test and fix commits, when fixing during the incident.\n- Echoes: severity, blast radius, mitigation status, and the `$orc-postmortem` handoff line.\n\nNOTE: on interruption, `$orc-resume` reads the checkpoint and continues from the next pending phase. A resumed session re-reads `timeline.md` before acting; the file carries the full history.\n",{"name":5,"description":7,"when_to_use":48,"allowed-tools":49,"argument-hint":66},"Use when production is broken RIGHT NOW; for the after-action write-up alone, use $orc-postmortem.",[50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65],"Bash(orc-state:*)","Read","Write","Edit","Glob","Grep","Skill","Task","the available user-question tool (or ask in chat)","Bash(sentry:*)","Bash(jq:*)","Bash(date:*)","Bash(git log:*)","Bash(git branch --show-current:*)","Bash(git diff:*)","Bash(orc-workspace-detect:*)","[\u003Csentry-issue-id-or-url> | \u003Cpasted stack trace> | \u003Csymptom>] [--severity sev-1|sev-2|sev-3]","main","7522fd7266944e30052204c2f6df287d8b5516be","codex\u002Forc\u002Fcontent\u002Fskills\u002Fincident",0,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc","https:\u002F\u002Forc.novacstack.com\u002F","https:\u002F\u002Fgithub.com\u002FHigorAlves","higoralves.dev","Software Engineering","2026-11-07 07:26:38",{"source":8,"skillName":5,"commands":78,"prompt":88,"zipAvailable":89},[79,82,85],{"tool":80,"command":81},"npx","npx skills add HigorAlves\u002Forc --skill incident",{"tool":83,"command":84},"bunx","bunx skills add HigorAlves\u002Forc --skill incident",{"tool":86,"command":87},"pnpm","pnpm dlx skills add HigorAlves\u002Forc --skill incident","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fincident\u002FSKILL.md",true,[91,97,101,105,109],{"path":92,"resourceType":93,"resourceTypeDesc":94,"sizeBytes":95,"sourceHtmlUrl":96},"references\u002FPHASE-1-INTAKE.md","REFERENCE","参考文档",2298,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fincident\u002Freferences\u002FPHASE-1-INTAKE.md",{"path":98,"resourceType":93,"resourceTypeDesc":94,"sizeBytes":99,"sourceHtmlUrl":100},"references\u002FPHASE-2-ASSESS.md",2193,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fincident\u002Freferences\u002FPHASE-2-ASSESS.md",{"path":102,"resourceType":93,"resourceTypeDesc":94,"sizeBytes":103,"sourceHtmlUrl":104},"references\u002FPHASE-3-MITIGATE.md",2111,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fincident\u002Freferences\u002FPHASE-3-MITIGATE.md",{"path":106,"resourceType":93,"resourceTypeDesc":94,"sizeBytes":107,"sourceHtmlUrl":108},"references\u002FPHASE-4-ROOT-CAUSE.md",1529,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fincident\u002Freferences\u002FPHASE-4-ROOT-CAUSE.md",{"path":110,"resourceType":93,"resourceTypeDesc":94,"sizeBytes":111,"sourceHtmlUrl":112},"references\u002FPHASE-5-STABILIZE.md",1772,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fincident\u002Freferences\u002FPHASE-5-STABILIZE.md",[114,150,174,194,215,235],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":131,"publishedAt":43},"01M71SW40F9TAAEDKBYYBCM814","writing-plans","Write a comprehensive implementation plan of bite-sized TDD tasks that an engineer with zero codebase context could execute — exact files, code, tests, and verification steps","https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Forc\u002Fskills\u002Fwriting-plans\u002FSKILL.md",[120,123,128],{"categoryNo":121,"categoryName":122,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000018","写作与文案",{"categoryNo":124,"categoryName":125,"taxonomyType":126,"taxonomyTypeDesc":127},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",{"categoryNo":129,"categoryName":130,"taxonomyType":126,"taxonomyTypeDesc":127},"01JBSEEDCAT000000000000036","内容创作者",[132,133,134,135,136,137,138,25,139,140,141,142,143,34,144,145,146,147,148,149],"writing","writing plans","plans","engineer","superpowers","implementation plan","files","you","code","tasks","verification","plan","steps","context","ZeRO","for","tests","use",{"skillNo":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":159,"publishedAt":43},"01M71SW15KHE4MHJW9NEXV65X2","writing-for-agents","orc's doctrine layer for writing any document an agent consumes — skills, AGENTS.md\u002FCLAUDE.md, reference docs","https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Forc\u002Fskills\u002Fwriting-for-agents\u002FSKILL.md",[156,157,158],{"categoryNo":121,"categoryName":122,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":129,"categoryName":130,"taxonomyType":126,"taxonomyTypeDesc":127},[160,132,147,161,25,162,163,164,165,166,167,168,149,169,170,171,172,173],"writing for agents","matt pocock","inline","tuning","a skill","layer","doctrine","push","editing","document","github","https","reference","docs",{"skillNo":175,"name":176,"nameZh":6,"description":177,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":178,"categories":179,"keywords":181,"publishedAt":43},"01M71SVYQKXT743HHHWGHT3G13","workspace-mode","Use when cwd is a parent dir holding multiple sibling git repos — defines repo auto-detection, --repos\u002F--repo\u002F--all-repos\u002F--this-repo precedence, per-repo dispatch, and linked-PR mechanics.","https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Forc\u002Fskills\u002Fworkspace-mode\u002FSKILL.md",[180],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[182,183,184,185,186,25,187,42,188,189,149,190,191,192,193],"workspace mode","mode","workspace","mechanics","auto","repos","pr","repo","dispatch","auto-detection","detection","parent",{"skillNo":195,"name":196,"nameZh":6,"description":197,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":198,"categories":199,"keywords":201,"publishedAt":43},"01M71SVVP3BXS06G9395P2K0RH","wizard","Generate an interactive bash wizard walking a human through work only they can perform — credentials, secrets, one-off migrations","https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Forc\u002Fskills\u002Fwizard\u002FSKILL.md",[200],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[196,202,203,204,205,161,25,41,206,207,208,209,210,144,211,212,147,149,213,214],"condition","never","provisioning infrastructure","only","work","credentials","generate","human","secrets","infrastructure","do","one","interactive",{"skillNo":216,"name":217,"nameZh":6,"description":218,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":219,"categories":220,"keywords":221,"publishedAt":43},"01M71SVT4AR6NKAM5B077E7QSJ","wait-what","Stop and re-pitch — the last message did not land; say it again simply, in the project's own vocabulary.","https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Forc\u002Fskills\u002Fwait-what\u002FSKILL.md",[],[222,223,224,225,226,161,227,228,229,230,170,171,231,232,233,234],"wait what","wait","project","re","true","pitch","last","say","message","land","it","stop","vocabulary",{"skillNo":236,"name":237,"nameZh":6,"description":238,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":239,"categories":240,"keywords":245,"publishedAt":43},"01M71SVQVYRA9QBQ6G8MWR8G6F","vitest","Vitest fast unit testing framework powered by Vite with Jest-compatible API","https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Forc\u002Fskills\u002Fvitest\u002FSKILL.md",[241,244],{"categoryNo":242,"categoryName":243,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量",{"categoryNo":124,"categoryName":125,"taxonomyType":126,"taxonomyTypeDesc":127},[237,246,247,248,249,250,132,25,251,252,253,254,255,256,257,258,259,260,148,261],"coverage","unit","testing","testing framework","generated","api","jest","2026","at","scripts","unit testing","antfu","framework","vite","mocking","dev"]