[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6JPDDVFA93QPNCDQ64ZAPJF":3,"skill-same:01M6JPDDVFA93QPNCDQ64ZAPJF":83},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":14,"repositoryHtmlUrl":47,"repositoryHomepageUrl":6,"ownerHtmlUrl":48,"ownerBlogUrl":6,"ownerDescription":49,"updatedAt":50,"install":51,"resources":64},"01M6JPDDVFA93QPNCDQ64ZAPJF","incident-response",null,"Structured production incident workflow — triage, mitigation, investigation, recovery, comms. Triggers: production is down, site is down, incident, outage, users seeing errors, on-call, alert fired, p0, p1, sev1, sev2, broken in prod, rollback, emergency deploy. For active incidents under time pressure.","SWEStash\u002Fswe-workflow-skills","SWEStash","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F272895713?v=4","01M6JNRQ84JN5WFK9S1V5H4G46","SWE Stash","01M6JNRQCM45X8WPNHY30TSAB0",1,"MIT","https:\u002F\u002Fgithub.com\u002FSWEStash\u002Fswe-workflow-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fem\u002Fskills\u002Fincident-response\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"incident response","incident","comms","for","incidents","errors","users","production incident","triggers","active","time","call","alert","broken","rollback","site","investigation","recovery","Production","workflow","2026-11-10 10:12:30",false,"---\nname: incident-response\ndescription: \"Structured production incident workflow — triage, mitigation, investigation, recovery, comms. Triggers: production is down, site is down, incident, outage, users seeing errors, on-call, alert fired, p0, p1, sev1, sev2, broken in prod, rollback, emergency deploy. For active incidents under time pressure.\"\n---\n\n# Incident Response\n\nResolve production incidents quickly and safely. Under pressure, the instinct to jump to fixes causes more harm than good — this workflow keeps the response structured without slowing it down.\n\n## ⛔ The Iron Law\n\n**Mitigate before you investigate; never declare resolved without verification evidence.**\n\nStopping user impact and understanding the cause are separate jobs — don't trade the first for the second. And under pressure, a forward fix you haven't reviewed or verified often creates a second incident: prefer the blunt, reversible mitigation now and confirm recovery with data before declaring the incident over.\n\n## Step 1: Triage — Scope and Severity\n\nSpend 2-3 minutes here, not more.\n\n**Determine blast radius:**\n- What is broken? (Specific feature, entire service, dependent services)\n- Who is affected? (All users, subset, specific accounts, internal only)\n- Is data being lost or corrupted? (If yes: severity immediately escalates)\n- Is the issue getting worse over time or stable?\n\n**Classify severity:**\n- **Sev1\u002FP0**: Complete service outage, data loss, security breach. All hands.\n- **Sev2\u002FP1**: Major feature down, significant user impact, degraded performance at scale.\n- **Sev3\u002FP2**: Minor feature broken, small user subset affected, workaround exists.\n\nIf you can't classify yet, treat it as Sev2 until proven otherwise.\n\n**Notify the right people now.** Don't wait until you understand the problem. People need lead time to join.\n\nSee [references\u002Fseverity-levels.md](references\u002Fseverity-levels.md) for team-specific escalation paths.\n\n## Step 2: Mitigate First — Fix Later\n\nThe goal is to stop the bleeding, not to understand it. Mitigation and root cause analysis are separate phases.\n\n**Fastest mitigation options (try in order):**\n1. **Feature flag off**: If the broken code is behind a flag, disable it immediately\n2. **Rollback**: If a recent deploy caused this, revert to the previous version\n3. **Traffic shed**: Disable the specific endpoint or functionality that's failing\n4. **Circuit breaker \u002F cache**: Serve stale data while the live system is broken\n5. **Scale up**: If it's a load issue, add capacity before investigating\n\nApply the first option that will work. Do not spend 20 minutes finding the perfect mitigation — apply the blunt one now, refine later.\n\nDocument each action with a timestamp as you go. This builds the post-mortem timeline automatically.\n\nSee [references\u002Fcommunication-templates.md](references\u002Fcommunication-templates.md) for status page and stakeholder update templates.\n\n## Step 3: Communicate\n\nA brief status update every 15-30 minutes prevents stakeholders from escalating or interrupting responders. Use the template in [references\u002Fcommunication-templates.md](references\u002Fcommunication-templates.md):\n\n```\n[TIME] Status: [Investigating \u002F Mitigating \u002F Recovering]\nImpact: [What is broken, who is affected]\nLast action: [What was just done]\nNext action: [What's happening next]\nETA: [Best estimate or \"unknown\"]\n```\n\nAssign one person as the incident commander (coordinates response) and one as the communications lead (external updates). The same person should not do both under pressure.\n\n## Step 4: Investigate — Rapid Root Cause\n\nOnce mitigation is in place and user impact is reduced, find the root cause.\n\nApply the binary search from `bug-investigating` at high speed:\n1. **When did it start?** Check deployment logs, config changes, dependency changes in the window before the incident.\n2. **What changed?** Compare current state to last-known-good state.\n3. **Reproduce in isolation?** Can you trigger the error on a single request\u002Frecord?\n4. **Trace the error path**: Follow the error from symptom back to cause using logs, traces, and metrics.\n\nTime-box investigation phases: 15 minutes to identify the probable cause. If not found, escalate or bring in more people.\n\n## Step 5: Recover and Verify\n\n**Deploy the fix:**\n- For rollbacks: verify the previous version is clean, deploy, monitor for 10 minutes\n- For forward fixes: code review is still required (even during incidents, a second set of eyes prevents making things worse)\n- For config changes: change one variable at a time\n\n**Verify recovery:**\n- Error rate returns to baseline\n- Latency returns to normal\n- Affected functionality works end-to-end\n- No secondary issues (cascading failures, queue backlogs)\n\n**Declare the incident resolved** with a timestamp. Send a final status update.\n\n**Schedule the post-mortem** within 48-72 hours while memory is fresh. Use the `retrospective` skill (incident post-mortem format).\n\n## Principles Applied\n\n- **KISS**: Apply the simplest mitigation first. A blunt rollback that works beats an elegant fix that takes an hour.\n- **Blameless culture**: Incidents are caused by systems, not people. Focus on what the system allowed, not who triggered it.\n- **Communication over silence**: Even \"we don't know yet\" is better than silence. Stakeholders will escalate if they don't hear anything.\n- **Separate mitigation from investigation**: Stopping user impact and understanding root cause are different work. Don't conflate them.\n\n## Rationalizations to reject\n\nTime pressure makes these tempting. Reject them anyway.\n\n| Excuse | Reality |\n|--------|---------|\n| \"Let me find the root cause first\" | Every minute investigating is a minute users stay broken. Mitigate first. |\n| \"I know what's wrong — quick forward fix\" | Forward fixes under pressure cause secondary incidents; a rollback is usually faster and safer. |\n| \"Skip code review, it's an emergency\" | A second set of eyes is cheapest exactly when the stakes are highest. |\n| \"Error rate looks better, call it resolved\" | \"Looks better\" is not baseline. Verify error rate, latency, and end-to-end function. |\n| \"I'll update people once it's fixed\" | Silence makes stakeholders escalate. Send a status even when it's \"we don't know yet.\" |\n\n## Red flags — stop and correct course\n\n- Debugging root cause while users are still impacted and no mitigation is live.\n- Deploying a forward fix you haven't reviewed.\n- Declaring resolved from a single metric or a quick glance.\n- No timestamped action log being kept as you go.\n\n## Cross-Skill References\n\n- `rollback-strategy` — design safe rollback plans before incidents happen\n- `bug-investigating` — use for offline root cause analysis after mitigation\n- `retrospective` — use the incident post-mortem format after the incident resolves\n- `deployment-checklist` — gate future deploys to prevent recurrence\n","# Incident Response\n\nResolve production incidents quickly and safely. Under pressure, the instinct to jump to fixes causes more harm than good — this workflow keeps the response structured without slowing it down.\n\n## ⛔ The Iron Law\n\n**Mitigate before you investigate; never declare resolved without verification evidence.**\n\nStopping user impact and understanding the cause are separate jobs — don't trade the first for the second. And under pressure, a forward fix you haven't reviewed or verified often creates a second incident: prefer the blunt, reversible mitigation now and confirm recovery with data before declaring the incident over.\n\n## Step 1: Triage — Scope and Severity\n\nSpend 2-3 minutes here, not more.\n\n**Determine blast radius:**\n- What is broken? (Specific feature, entire service, dependent services)\n- Who is affected? (All users, subset, specific accounts, internal only)\n- Is data being lost or corrupted? (If yes: severity immediately escalates)\n- Is the issue getting worse over time or stable?\n\n**Classify severity:**\n- **Sev1\u002FP0**: Complete service outage, data loss, security breach. All hands.\n- **Sev2\u002FP1**: Major feature down, significant user impact, degraded performance at scale.\n- **Sev3\u002FP2**: Minor feature broken, small user subset affected, workaround exists.\n\nIf you can't classify yet, treat it as Sev2 until proven otherwise.\n\n**Notify the right people now.** Don't wait until you understand the problem. People need lead time to join.\n\nSee [references\u002Fseverity-levels.md](references\u002Fseverity-levels.md) for team-specific escalation paths.\n\n## Step 2: Mitigate First — Fix Later\n\nThe goal is to stop the bleeding, not to understand it. Mitigation and root cause analysis are separate phases.\n\n**Fastest mitigation options (try in order):**\n1. **Feature flag off**: If the broken code is behind a flag, disable it immediately\n2. **Rollback**: If a recent deploy caused this, revert to the previous version\n3. **Traffic shed**: Disable the specific endpoint or functionality that's failing\n4. **Circuit breaker \u002F cache**: Serve stale data while the live system is broken\n5. **Scale up**: If it's a load issue, add capacity before investigating\n\nApply the first option that will work. Do not spend 20 minutes finding the perfect mitigation — apply the blunt one now, refine later.\n\nDocument each action with a timestamp as you go. This builds the post-mortem timeline automatically.\n\nSee [references\u002Fcommunication-templates.md](references\u002Fcommunication-templates.md) for status page and stakeholder update templates.\n\n## Step 3: Communicate\n\nA brief status update every 15-30 minutes prevents stakeholders from escalating or interrupting responders. Use the template in [references\u002Fcommunication-templates.md](references\u002Fcommunication-templates.md):\n\n```\n[TIME] Status: [Investigating \u002F Mitigating \u002F Recovering]\nImpact: [What is broken, who is affected]\nLast action: [What was just done]\nNext action: [What's happening next]\nETA: [Best estimate or \"unknown\"]\n```\n\nAssign one person as the incident commander (coordinates response) and one as the communications lead (external updates). The same person should not do both under pressure.\n\n## Step 4: Investigate — Rapid Root Cause\n\nOnce mitigation is in place and user impact is reduced, find the root cause.\n\nApply the binary search from `bug-investigating` at high speed:\n1. **When did it start?** Check deployment logs, config changes, dependency changes in the window before the incident.\n2. **What changed?** Compare current state to last-known-good state.\n3. **Reproduce in isolation?** Can you trigger the error on a single request\u002Frecord?\n4. **Trace the error path**: Follow the error from symptom back to cause using logs, traces, and metrics.\n\nTime-box investigation phases: 15 minutes to identify the probable cause. If not found, escalate or bring in more people.\n\n## Step 5: Recover and Verify\n\n**Deploy the fix:**\n- For rollbacks: verify the previous version is clean, deploy, monitor for 10 minutes\n- For forward fixes: code review is still required (even during incidents, a second set of eyes prevents making things worse)\n- For config changes: change one variable at a time\n\n**Verify recovery:**\n- Error rate returns to baseline\n- Latency returns to normal\n- Affected functionality works end-to-end\n- No secondary issues (cascading failures, queue backlogs)\n\n**Declare the incident resolved** with a timestamp. Send a final status update.\n\n**Schedule the post-mortem** within 48-72 hours while memory is fresh. Use the `retrospective` skill (incident post-mortem format).\n\n## Principles Applied\n\n- **KISS**: Apply the simplest mitigation first. A blunt rollback that works beats an elegant fix that takes an hour.\n- **Blameless culture**: Incidents are caused by systems, not people. Focus on what the system allowed, not who triggered it.\n- **Communication over silence**: Even \"we don't know yet\" is better than silence. Stakeholders will escalate if they don't hear anything.\n- **Separate mitigation from investigation**: Stopping user impact and understanding root cause are different work. Don't conflate them.\n\n## Rationalizations to reject\n\nTime pressure makes these tempting. Reject them anyway.\n\n| Excuse | Reality |\n|--------|---------|\n| \"Let me find the root cause first\" | Every minute investigating is a minute users stay broken. Mitigate first. |\n| \"I know what's wrong — quick forward fix\" | Forward fixes under pressure cause secondary incidents; a rollback is usually faster and safer. |\n| \"Skip code review, it's an emergency\" | A second set of eyes is cheapest exactly when the stakes are highest. |\n| \"Error rate looks better, call it resolved\" | \"Looks better\" is not baseline. Verify error rate, latency, and end-to-end function. |\n| \"I'll update people once it's fixed\" | Silence makes stakeholders escalate. Send a status even when it's \"we don't know yet.\" |\n\n## Red flags — stop and correct course\n\n- Debugging root cause while users are still impacted and no mitigation is live.\n- Deploying a forward fix you haven't reviewed.\n- Declaring resolved from a single metric or a quick glance.\n- No timestamped action log being kept as you go.\n\n## Cross-Skill References\n\n- `rollback-strategy` — design safe rollback plans before incidents happen\n- `bug-investigating` — use for offline root cause analysis after mitigation\n- `retrospective` — use the incident post-mortem format after the incident resolves\n- `deployment-checklist` — gate future deploys to prevent recurrence\n",{"name":5,"description":7},"main","800dc9ad0ca2914d6ad15b8c5159d9b57bb104c2","plugins\u002Fem\u002Fskills\u002Fincident-response","https:\u002F\u002Fgithub.com\u002FSWEStash\u002Fswe-workflow-skills","https:\u002F\u002Fgithub.com\u002FSWEStash","A stash of things we felt like building","2026-11-12 00:14:33",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add SWEStash\u002Fswe-workflow-skills --skill incident-response",{"tool":57,"command":58},"bunx","bunx skills add SWEStash\u002Fswe-workflow-skills --skill incident-response",{"tool":60,"command":61},"pnpm","pnpm dlx skills add SWEStash\u002Fswe-workflow-skills --skill incident-response","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSWEStash\u002Fswe-workflow-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fem\u002Fskills\u002Fincident-response\u002FSKILL.md",true,[65,71,75,79],{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},"evals\u002Fevals.json","REFERENCE","参考文档",4796,"https:\u002F\u002Fgithub.com\u002FSWEStash\u002Fswe-workflow-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fem\u002Fskills\u002Fincident-response\u002Fevals\u002Fevals.json",{"path":72,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Fcommunication-templates.md",3473,"https:\u002F\u002Fgithub.com\u002FSWEStash\u002Fswe-workflow-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fem\u002Fskills\u002Fincident-response\u002Freferences\u002Fcommunication-templates.md",{"path":76,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":77,"sourceHtmlUrl":78},"references\u002Fseverity-levels.md",2672,"https:\u002F\u002Fgithub.com\u002FSWEStash\u002Fswe-workflow-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fem\u002Fskills\u002Fincident-response\u002Freferences\u002Fseverity-levels.md",{"path":80,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":81,"sourceHtmlUrl":82},"templates\u002Fincident-timeline.md",1383,"https:\u002F\u002Fgithub.com\u002FSWEStash\u002Fswe-workflow-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fem\u002Fskills\u002Fincident-response\u002Ftemplates\u002Fincident-timeline.md",[84,110,136,158,184,209],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":39},"01M6JQFADV3T1MS9V1BNZS1232","writing-skills","Use when authoring, editing, or reviewing a skill in this library — a new SKILL.md, one that under-triggers, or hardening an existing one. Covers description and listing-budget rules, frontmatter, progressive disclosure, the 3-eval rule, and pressure-testing against rationalizations.","https:\u002F\u002Fgithub.com\u002FSWEStash\u002Fswe-workflow-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-skills\u002FSKILL.md",[],[91,92,93,94,95,96,97,98,99,100,101,102,27,103,104,105,106,107,108,109],"writing","writing skills","testing","eval","write","edit","Budget","authoring","new skill","library","frontmatter","editing","use","Existing","Rules","write a skill","when","listing","progressive disclosure",{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":39},"01M6JQF5DGMXPMQQVZBP8DH9SY","working-agreement","Define and validate how a multi-session project is run — where plans, status and decisions live, session routines, new work, milestone close. README\u002FCONTRIBUTING → project-documentation.","https:\u002F\u002Fgithub.com\u002FSWEStash\u002Fswe-workflow-skills\u002Fblob\u002Fmain\u002Fskills\u002Fworking-agreement\u002FSKILL.md",[],[117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,27,135],"working agreement","project","definition of done","done","milestone","documentation","work","progress","how","contributing","close","run","sync","status","live","do","README","session","routines",{"skillNo":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":39},"01M6JQF0SMRHN82RBSWMABC4J0","verification-before-completion","Evidence gate before any claim that work is done, fixed, passing, or deployed. Route here when a message declares the work finished or asks to commit, push, merge, ship, or close it out, including a brief sign-off, and before git-workflow or release-management act on it. Writing the commit message or PR text itself → git-workflow.","https:\u002F\u002Fgithub.com\u002FSWEStash\u002Fswe-workflow-skills\u002Fblob\u002Fmain\u002Fskills\u002Fverification-before-completion\u002FSKILL.md",[],[143,144,145,146,147,148,91,38,120,149,150,151,123,152,127,153,154,155,156,157],"verification","verification before completion","brief","ready","fix","claim","commit","text","route","message","merge","release","git","act","ship",{"skillNo":159,"name":160,"nameZh":6,"description":161,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":162,"categories":163,"keywords":164,"publishedAt":39},"01M6JQEVGE9NJZ11DV60AE6VWC","ui-ux-design","Design user experiences from an engineer's perspective — user flows, wireframes, interaction patterns, responsive strategy, navigation, loading\u002Ferror\u002Fempty states. Triggers: design the UI, user flow, wireframe, how should this screen look, loading state, error state, empty state, responsive design, navigation, page layout, form design, mockup.","https:\u002F\u002Fgithub.com\u002FSWEStash\u002Fswe-workflow-skills\u002Fblob\u002Fmain\u002Fskills\u002Fui-ux-design\u002FSKILL.md",[],[165,166,167,168,169,170,171,172,173,174,175,176,125,177,178,179,180,181,182,183],"design","ux","ui","ui ux design","error","states","loading","flows","engineer","interaction","layout","responsive design","screen","flow","patterns","mockup","responsive","form","page",{"skillNo":185,"name":186,"nameZh":6,"description":187,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":188,"categories":189,"keywords":190,"publishedAt":39},"01M6JQEN4HVFTZWQYWGTDS76K9","threat-modeling","Design-time security analysis of a system or feature before it's built — trust boundaries, attack surface, STRIDE per element, abuse cases, prioritized mitigations that become security requirements. Triggers: threat model, STRIDE, trust boundary, attack surface, what could go wrong security-wise, security design review, abuse case, secure this design, security requirements. Reviewing EXISTING code\u002Fconfig for vulnerabilities → security-audit; use this skill while the design is still on the whiteboard.","https:\u002F\u002Fgithub.com\u002FSWEStash\u002Fswe-workflow-skills\u002Fblob\u002Fmain\u002Fskills\u002Fthreat-modeling\u002FSKILL.md",[],[191,192,193,194,29,195,165,196,197,198,199,200,201,202,203,204,205,206,207,208],"modeling","threat modeling","threat","model","element","whiteboard","security analysis","analysis","code","review","threat model","audit","security-audit","secure","config","go","security","trust",{"skillNo":210,"name":211,"nameZh":6,"description":212,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":213,"categories":214,"keywords":215,"publishedAt":39},"01M6JQEFT7VT3FQM16170EG9FW","test-suite-design","Design comprehensive test suites for existing code — strategy across unit\u002Fintegration\u002Fe2e, fixtures, factories, helpers. Triggers: add tests, write tests for, increase coverage, test this module, testing strategy, test plan, what tests do I need, test infrastructure, test helpers, this has no tests. Not for TDD — use tdd-workflow.","https:\u002F\u002Fgithub.com\u002FSWEStash\u002Fswe-workflow-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftest-suite-design\u002FSKILL.md",[],[165,216,217,218,219,220,93,221,222,38,199,223,224,95,225,226,132,227,22,27],"test suite","test","test suite design","coverage","unit","write tests","testing strategy","across","plan","add","infrastructure","test plan"]