[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C28PP1H1HQ2DRZA4VDABVQ":3,"skill-same:01M6C28PP1H1HQ2DRZA4VDABVQ":74},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":42,"linkOnly":43,"markdownContent":44,"markdownBody":45,"frontMatter":46,"refName":50,"commitSha":51,"skillDirectory":52,"forksCount":53,"repositoryHtmlUrl":54,"repositoryHomepageUrl":55,"ownerHtmlUrl":56,"ownerBlogUrl":57,"ownerDescription":58,"updatedAt":59,"install":60,"resources":73},"01M6C28PP1H1HQ2DRZA4VDABVQ","incident-triage","事件分级响应协调","Classify incidents by severity, assemble response teams, and coordinate initial response actions and comms","按严重程度对事件进行分类，组建响应团队，并协调初始响应行动与沟通。","jmagly\u002Faiwg","jmagly","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1159087?v=4","01M6C10AK8N2WCSQN11FYGTJWN","Joseph Magly","01M6C10AQ8A2RMED1Y1BSVY7NF",229,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Fskills\u002Fincident-triage\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD3B3T8FK02S5JVCZA1M","运维监控与告警","SCENARIO","使用场景",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQGD4WETX0HM3SM9QKQ15B","SRE 工程师","PROFESSION","适用职业",[31,32,33,34,35,36,37,38,39,40,41],"triage","incident triage","incident","teams","actions","severity","assemble","coordinate","classify","incidents","comms","2026-11-10 10:12:30",false,"---\nnamespace: aiwg\nname: incident-triage\nplatforms: [all]\ndescription: Classify incidents by severity, assemble response teams, and coordinate initial response actions and comms\n\n---\n\n# incident-triage\n\nRapid incident classification, severity assessment, and response coordination.\n\n## Triggers\n\n\nAlternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):\n\n- \"P0\" \u002F \"P1\" \u002F \"SEV1\" \u002F \"SEV2\" → severity-based incident triage\n- \"we got paged\" → production incident response\n- \"war room\" → incident coordination setup\n\n## Purpose\n\nThis skill provides rapid incident response coordination by:\n- Classifying incident type and severity\n- Assembling response team\n- Coordinating initial response actions\n- Tracking timeline and status\n- Facilitating communication\n- Preparing post-incident review\n\n## Behavior\n\nWhen triggered, this skill:\n\n1. **Gathers incident details**:\n   - What is happening?\n   - When did it start?\n   - Who\u002Fwhat is affected?\n   - What changed recently?\n\n2. **Classifies severity**:\n   - Assess customer impact\n   - Determine scope\n   - Assign severity level\n   - Calculate business impact\n\n3. **Assembles response team**:\n   - Identify required responders\n   - Notify on-call personnel\n   - Establish incident commander\n\n4. **Initiates response**:\n   - Create incident channel\u002Fbridge\n   - Start timeline documentation\n   - Coordinate initial diagnosis\n\n5. **Manages communication**:\n   - Internal status updates\n   - Customer communication (if needed)\n   - Executive notifications (for high severity)\n\n6. **Tracks resolution**:\n   - Document actions taken\n   - Track mitigation progress\n   - Confirm resolution\n   - Schedule post-incident review\n\n## Severity Levels\n\n### SEV1 \u002F P0 - Critical\n\n```yaml\nsev1:\n  name: Critical\n  alias: [P0, SEV1, Critical]\n\n  criteria:\n    - Complete service outage\n    - Data loss or corruption\n    - Security breach\n    - >50% customers affected\n    - Revenue-impacting\n\n  response:\n    response_time: 15 minutes\n    update_frequency: 15 minutes\n    executive_notification: immediate\n    customer_communication: within 30 minutes\n\n  escalation:\n    - incident_commander: required\n    - engineering_manager: required\n    - vp_engineering: within 30 minutes\n    - cto: within 1 hour (if unresolved)\n\n  target_resolution: 4 hours\n```\n\n### SEV2 \u002F P1 - High\n\n```yaml\nsev2:\n  name: High\n  alias: [P1, SEV2, High]\n\n  criteria:\n    - Major feature unavailable\n    - Significant degradation\n    - 10-50% customers affected\n    - Workaround exists but painful\n\n  response:\n    response_time: 30 minutes\n    update_frequency: 30 minutes\n    executive_notification: within 1 hour\n    customer_communication: within 2 hours (if extended)\n\n  escalation:\n    - incident_commander: required\n    - engineering_manager: within 1 hour\n\n  target_resolution: 8 hours\n```\n\n### SEV3 \u002F P2 - Medium\n\n```yaml\nsev3:\n  name: Medium\n  alias: [P2, SEV3, Medium]\n\n  criteria:\n    - Feature partially degraded\n    - \u003C10% customers affected\n    - Workaround available\n    - Non-critical path affected\n\n  response:\n    response_time: 2 hours\n    update_frequency: 2 hours\n    executive_notification: daily summary\n    customer_communication: as needed\n\n  escalation:\n    - team_lead: within 4 hours\n\n  target_resolution: 24 hours\n```\n\n### SEV4 \u002F P3 - Low\n\n```yaml\nsev4:\n  name: Low\n  alias: [P3, SEV4, Low]\n\n  criteria:\n    - Minor issue\n    - Cosmetic problem\n    - Edge case affected\n    - Easy workaround\n\n  response:\n    response_time: next business day\n    update_frequency: daily\n    executive_notification: weekly summary\n\n  escalation: standard ticket flow\n\n  target_resolution: 1 week\n```\n\n## Incident Response Flow\n\n```\n┌─────────────────────────────────────────────────────────────┐\n│ 1. DETECTION & TRIAGE                                       │\n│    • Alert received or issue reported                       │\n│    • Gather initial details                                 │\n│    • Classify severity                                      │\n│    • Create incident record                                 │\n│    • Time: \u003C15 minutes                                      │\n└─────────────────────────────────────────────────────────────┘\n                          │\n                          ▼\n┌─────────────────────────────────────────────────────────────┐\n│ 2. MOBILIZATION                                             │\n│    • Page on-call responders                                │\n│    • Establish incident commander                           │\n│    • Create communication channel                           │\n│    • Notify stakeholders per severity                       │\n│    • Time: \u003C5 minutes after triage                          │\n└─────────────────────────────────────────────────────────────┘\n                          │\n                          ▼\n┌─────────────────────────────────────────────────────────────┐\n│ 3. INVESTIGATION                                            │\n│    • Review recent changes                                  │\n│    • Check monitoring\u002Flogs                                  │\n│    • Identify affected components                           │\n│    • Form hypothesis                                        │\n│    • Time: ongoing, status updates per SLA                  │\n└─────────────────────────────────────────────────────────────┘\n                          │\n                          ▼\n┌─────────────────────────────────────────────────────────────┐\n│ 4. MITIGATION                                               │\n│    • Implement workaround if available                      │\n│    • Rollback if change-related                             │\n│    • Scale resources if capacity issue                      │\n│    • Isolate affected components                            │\n│    • Goal: Reduce customer impact                           │\n└─────────────────────────────────────────────────────────────┘\n                          │\n                          ▼\n┌─────────────────────────────────────────────────────────────┐\n│ 5. RESOLUTION                                               │\n│    • Implement permanent fix                                │\n│    • Verify fix is effective                                │\n│    • Monitor for recurrence                                 │\n│    • Update status to resolved                              │\n└─────────────────────────────────────────────────────────────┘\n                          │\n                          ▼\n┌─────────────────────────────────────────────────────────────┐\n│ 6. POST-INCIDENT                                            │\n│    • Schedule post-incident review                          │\n│    • Document timeline and actions                          │\n│    • Identify root cause                                    │\n│    • Create follow-up action items                          │\n│    • Update runbooks\u002Fdocumentation                          │\n└─────────────────────────────────────────────────────────────┘\n```\n\n## Incident Record Format\n\n```markdown\n# Incident Report: INC-2025-001234\n\n## Summary\n\n| Field | Value |\n|-------|-------|\n| Title | Database connection pool exhaustion |\n| Severity | SEV1 (Critical) |\n| Status | Resolved |\n| Start Time | 2025-12-08 14:32 UTC |\n| Detected | 2025-12-08 14:35 UTC |\n| Resolved | 2025-12-08 15:47 UTC |\n| Duration | 1h 15m |\n| Impact | 100% of API requests failing |\n| Customers Affected | ~45,000 |\n\n## Incident Commander\n\n**Name**: Sarah Chen\n**Role**: Senior SRE\n\n## Response Team\n\n| Role | Name | Joined |\n|------|------|--------|\n| Incident Commander | Sarah Chen | 14:38 |\n| Backend Lead | David Kim | 14:40 |\n| DBA | Elena Rodriguez | 14:45 |\n| Comms Lead | James Wilson | 14:50 |\n\n## Impact Assessment\n\n### Customer Impact\n- **Scope**: All customers using web and mobile apps\n- **Severity**: Complete service outage\n- **Duration**: 1h 15m\n- **Affected Features**: All authenticated features\n\n### Business Impact\n- **Revenue Loss**: Estimated $XX,XXX\n- **SLA Breach**: Yes (99.9% monthly target affected)\n- **Customer Complaints**: 127 support tickets\n\n## Timeline\n\n| Time (UTC) | Event |\n|------------|-------|\n| 14:32 | First customer reports of errors |\n| 14:35 | PagerDuty alert for 5xx spike |\n| 14:38 | Incident declared, Sarah Chen IC |\n| 14:40 | Investigation begins |\n| 14:45 | Identified: DB connection pool exhausted |\n| 14:52 | Root cause: Runaway query from batch job |\n| 15:00 | Mitigation: Batch job killed |\n| 15:10 | Connection pool recovering |\n| 15:30 | 50% traffic restored |\n| 15:47 | Full service restored |\n| 15:50 | Monitoring confirms stable |\n| 16:00 | Incident closed |\n\n## Root Cause\n\n**Summary**: A scheduled batch job contained an inefficient query that held database connections indefinitely, exhausting the connection pool.\n\n**Details**:\n- Batch job deployed at 14:00 with new query\n- Query had missing index, causing full table scan\n- Each scan held connection for 30+ seconds\n- 100 concurrent requests × 30s = pool exhausted\n- New requests could not get connections → 5xx errors\n\n**Contributing Factors**:\n1. Missing index migration in batch job deploy\n2. No query timeout configured\n3. Connection pool size not tuned for load\n4. Batch job ran during peak hours\n\n## Resolution\n\n**Immediate Actions**:\n1. Killed runaway batch job\n2. Restarted application servers to reset connections\n3. Verified service restoration\n\n**Permanent Fixes** (follow-ups):\n- [ ] Add missing index (INC-001-01)\n- [ ] Configure query timeouts (INC-001-02)\n- [ ] Increase connection pool size (INC-001-03)\n- [ ] Move batch jobs to off-peak hours (INC-001-04)\n- [ ] Add connection pool monitoring alerts (INC-001-05)\n\n## Communication Log\n\n| Time | Channel | Message |\n|------|---------|---------|\n| 14:45 | #incident-2025-001234 | Incident declared, investigating API failures |\n| 15:00 | Status Page | Investigating service disruption |\n| 15:15 | Status Page | Identified cause, implementing fix |\n| 15:30 | #incident-2025-001234 | Service recovering, 50% restored |\n| 15:50 | Status Page | Service fully restored |\n| 16:00 | Email to customers | Incident resolved, apology + explanation |\n\n## Post-Incident Review\n\n**Scheduled**: 2025-12-10 10:00 UTC\n**Attendees**: Response team + Engineering Manager\n**Document**: .aiwg\u002Fincidents\u002FINC-2025-001234-pir.md\n\n## Lessons Learned\n\n### What Went Well\n- Fast detection (3 minutes)\n- Clear incident commander\n- Good team coordination\n\n### What Could Improve\n- Batch job should have been tested with prod-like data\n- Missing connection pool alerts\n- No query timeout safety net\n\n## Action Items\n\n| ID | Action | Owner | Due | Status |\n|----|--------|-------|-----|--------|\n| INC-001-01 | Add missing index | Elena | 2025-12-09 | Done |\n| INC-001-02 | Configure query timeouts | David | 2025-12-10 | In Progress |\n| INC-001-03 | Tune connection pool | Sarah | 2025-12-12 | Planned |\n| INC-001-04 | Reschedule batch jobs | David | 2025-12-15 | Planned |\n| INC-001-05 | Add pool monitoring | Sarah | 2025-12-12 | Planned |\n```\n\n## Usage Examples\n\n### Declare Incident\n\n```\nUser: \"Production is down, API returning 500 errors\"\n\nSkill initiates:\n1. Gather details\n2. Classify severity\n3. Create incident record\n4. Notify responders\n\nOutput:\n\"? INCIDENT DECLARED: INC-2025-001234\n\nSeverity: SEV1 (Critical) - Complete API failure\nImpact: All customers affected\n\nImmediate Actions:\n1. ✅ Incident record created\n2. ✅ Paging on-call: Sarah Chen (SRE)\n3. ✅ Slack channel: #incident-2025-001234\n4. ⏳ Assembling response team\n\nYou are Incident Commander until relieved.\n\nQuick Checklist:\n- [ ] What changed in last 2 hours?\n- [ ] Check: logs, metrics, recent deploys\n- [ ] Status page update needed?\n\nUpdate command: 'incident update \u003Cmessage>'\"\n```\n\n### Severity Assessment\n\n```\nUser: \"Is this SEV1 or SEV2? Users can't checkout but browsing works\"\n\nSkill evaluates:\n- Core function affected: Yes (checkout = revenue)\n- Workaround: No (can't complete purchase)\n- Customer %: All attempting checkout\n- Revenue impact: Direct\n\nOutput:\n\"Severity Assessment: SEV1 (Critical)\n\nRationale:\n✓ Revenue-impacting feature down\n✓ No workaround for affected flow\n✓ Checkout is business-critical path\n✓ Affects all customers attempting purchase\n\nSEV1 Criteria Met:\n- Complete feature outage: checkout\n- Revenue impact: direct\n- No workaround: cannot complete purchases\n\nResponse Requirements:\n- 15-minute update cadence\n- Executive notification: immediate\n- Customer communication: within 30 minutes\n- Target resolution: 4 hours\"\n```\n\n### Status Update\n\n```\nUser: \"Incident update: found the issue, deploying fix\"\n\nSkill logs:\n1. Add to timeline\n2. Update status\n3. Notify stakeholders\n\nOutput:\n\"Incident Update: INC-2025-001234\n\nStatus: Mitigating\nTime: 15:15 UTC\n\nUpdate Logged:\n'Found root cause, deploying fix'\n\nNext Actions:\n- [ ] Update status page\n- [ ] Notify executive stakeholders\n- [ ] Continue timeline documentation\n\nTime Since Start: 43 minutes\nNext Update Due: 15:30 UTC\"\n```\n\n## Integration\n\nThis skill uses:\n- `project-awareness`: Context for system topology\n- `artifact-metadata`: Track incident artifacts\n\n## Agent Orchestration\n\n```yaml\nagents:\n  incident_commander:\n    agent: incident-responder\n    focus: Overall coordination and decisions\n\n  technical_lead:\n    agent: debugger\n    focus: Root cause investigation\n\n  reliability:\n    agent: reliability-engineer\n    focus: System stability and monitoring\n\n  communications:\n    agent: support-lead\n    focus: Customer and stakeholder communication\n```\n\n## Configuration\n\n### Notification Channels\n\n```yaml\nnotifications:\n  sev1:\n    pagerduty: true\n    slack: \"#incidents-critical\"\n    email: [engineering-leads, on-call-manager]\n    sms: [incident-commander, vp-engineering]\n\n  sev2:\n    pagerduty: true\n    slack: \"#incidents\"\n    email: [engineering-leads]\n\n  sev3:\n    slack: \"#incidents\"\n    email: [team-lead]\n\n  sev4:\n    slack: \"#incidents-low\"\n```\n\n### Escalation Paths\n\n```yaml\nescalation:\n  sev1:\n    - {time: 0, to: on-call-engineer}\n    - {time: 15m, to: engineering-manager}\n    - {time: 30m, to: vp-engineering}\n    - {time: 1h, to: cto}\n\n  sev2:\n    - {time: 0, to: on-call-engineer}\n    - {time: 1h, to: engineering-manager}\n    - {time: 4h, to: vp-engineering}\n```\n\n## Output Locations\n\n- Incident records: `.aiwg\u002Fincidents\u002FINC-{year}-{id}.md`\n- Post-incident reviews: `.aiwg\u002Fincidents\u002FINC-{year}-{id}-pir.md`\n- Action items: `.aiwg\u002Fincidents\u002Faction-items.md`\n- Metrics: `.aiwg\u002Fincidents\u002Fmetrics\u002F`\n\n## References\n\n- Incident response template: agentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Ftemplates\u002Ftest\u002Fdefect-card.md\n- Post-incident review template: agentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Ftemplates\u002Fmanagement\u002Fsprint-retrospective-template.md\n- On-call schedule: .aiwg\u002Fteam\u002Fon-call.yaml\n- Runbooks: .aiwg\u002Fdeployment\u002Frunbooks\u002F\n","# incident-triage\n\nRapid incident classification, severity assessment, and response coordination.\n\n## Triggers\n\n\nAlternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):\n\n- \"P0\" \u002F \"P1\" \u002F \"SEV1\" \u002F \"SEV2\" → severity-based incident triage\n- \"we got paged\" → production incident response\n- \"war room\" → incident coordination setup\n\n## Purpose\n\nThis skill provides rapid incident response coordination by:\n- Classifying incident type and severity\n- Assembling response team\n- Coordinating initial response actions\n- Tracking timeline and status\n- Facilitating communication\n- Preparing post-incident review\n\n## Behavior\n\nWhen triggered, this skill:\n\n1. **Gathers incident details**:\n   - What is happening?\n   - When did it start?\n   - Who\u002Fwhat is affected?\n   - What changed recently?\n\n2. **Classifies severity**:\n   - Assess customer impact\n   - Determine scope\n   - Assign severity level\n   - Calculate business impact\n\n3. **Assembles response team**:\n   - Identify required responders\n   - Notify on-call personnel\n   - Establish incident commander\n\n4. **Initiates response**:\n   - Create incident channel\u002Fbridge\n   - Start timeline documentation\n   - Coordinate initial diagnosis\n\n5. **Manages communication**:\n   - Internal status updates\n   - Customer communication (if needed)\n   - Executive notifications (for high severity)\n\n6. **Tracks resolution**:\n   - Document actions taken\n   - Track mitigation progress\n   - Confirm resolution\n   - Schedule post-incident review\n\n## Severity Levels\n\n### SEV1 \u002F P0 - Critical\n\n```yaml\nsev1:\n  name: Critical\n  alias: [P0, SEV1, Critical]\n\n  criteria:\n    - Complete service outage\n    - Data loss or corruption\n    - Security breach\n    - >50% customers affected\n    - Revenue-impacting\n\n  response:\n    response_time: 15 minutes\n    update_frequency: 15 minutes\n    executive_notification: immediate\n    customer_communication: within 30 minutes\n\n  escalation:\n    - incident_commander: required\n    - engineering_manager: required\n    - vp_engineering: within 30 minutes\n    - cto: within 1 hour (if unresolved)\n\n  target_resolution: 4 hours\n```\n\n### SEV2 \u002F P1 - High\n\n```yaml\nsev2:\n  name: High\n  alias: [P1, SEV2, High]\n\n  criteria:\n    - Major feature unavailable\n    - Significant degradation\n    - 10-50% customers affected\n    - Workaround exists but painful\n\n  response:\n    response_time: 30 minutes\n    update_frequency: 30 minutes\n    executive_notification: within 1 hour\n    customer_communication: within 2 hours (if extended)\n\n  escalation:\n    - incident_commander: required\n    - engineering_manager: within 1 hour\n\n  target_resolution: 8 hours\n```\n\n### SEV3 \u002F P2 - Medium\n\n```yaml\nsev3:\n  name: Medium\n  alias: [P2, SEV3, Medium]\n\n  criteria:\n    - Feature partially degraded\n    - \u003C10% customers affected\n    - Workaround available\n    - Non-critical path affected\n\n  response:\n    response_time: 2 hours\n    update_frequency: 2 hours\n    executive_notification: daily summary\n    customer_communication: as needed\n\n  escalation:\n    - team_lead: within 4 hours\n\n  target_resolution: 24 hours\n```\n\n### SEV4 \u002F P3 - Low\n\n```yaml\nsev4:\n  name: Low\n  alias: [P3, SEV4, Low]\n\n  criteria:\n    - Minor issue\n    - Cosmetic problem\n    - Edge case affected\n    - Easy workaround\n\n  response:\n    response_time: next business day\n    update_frequency: daily\n    executive_notification: weekly summary\n\n  escalation: standard ticket flow\n\n  target_resolution: 1 week\n```\n\n## Incident Response Flow\n\n```\n┌─────────────────────────────────────────────────────────────┐\n│ 1. DETECTION & TRIAGE                                       │\n│    • Alert received or issue reported                       │\n│    • Gather initial details                                 │\n│    • Classify severity                                      │\n│    • Create incident record                                 │\n│    • Time: \u003C15 minutes                                      │\n└─────────────────────────────────────────────────────────────┘\n                          │\n                          ▼\n┌─────────────────────────────────────────────────────────────┐\n│ 2. MOBILIZATION                                             │\n│    • Page on-call responders                                │\n│    • Establish incident commander                           │\n│    • Create communication channel                           │\n│    • Notify stakeholders per severity                       │\n│    • Time: \u003C5 minutes after triage                          │\n└─────────────────────────────────────────────────────────────┘\n                          │\n                          ▼\n┌─────────────────────────────────────────────────────────────┐\n│ 3. INVESTIGATION                                            │\n│    • Review recent changes                                  │\n│    • Check monitoring\u002Flogs                                  │\n│    • Identify affected components                           │\n│    • Form hypothesis                                        │\n│    • Time: ongoing, status updates per SLA                  │\n└─────────────────────────────────────────────────────────────┘\n                          │\n                          ▼\n┌─────────────────────────────────────────────────────────────┐\n│ 4. MITIGATION                                               │\n│    • Implement workaround if available                      │\n│    • Rollback if change-related                             │\n│    • Scale resources if capacity issue                      │\n│    • Isolate affected components                            │\n│    • Goal: Reduce customer impact                           │\n└─────────────────────────────────────────────────────────────┘\n                          │\n                          ▼\n┌─────────────────────────────────────────────────────────────┐\n│ 5. RESOLUTION                                               │\n│    • Implement permanent fix                                │\n│    • Verify fix is effective                                │\n│    • Monitor for recurrence                                 │\n│    • Update status to resolved                              │\n└─────────────────────────────────────────────────────────────┘\n                          │\n                          ▼\n┌─────────────────────────────────────────────────────────────┐\n│ 6. POST-INCIDENT                                            │\n│    • Schedule post-incident review                          │\n│    • Document timeline and actions                          │\n│    • Identify root cause                                    │\n│    • Create follow-up action items                          │\n│    • Update runbooks\u002Fdocumentation                          │\n└─────────────────────────────────────────────────────────────┘\n```\n\n## Incident Record Format\n\n```markdown\n# Incident Report: INC-2025-001234\n\n## Summary\n\n| Field | Value |\n|-------|-------|\n| Title | Database connection pool exhaustion |\n| Severity | SEV1 (Critical) |\n| Status | Resolved |\n| Start Time | 2025-12-08 14:32 UTC |\n| Detected | 2025-12-08 14:35 UTC |\n| Resolved | 2025-12-08 15:47 UTC |\n| Duration | 1h 15m |\n| Impact | 100% of API requests failing |\n| Customers Affected | ~45,000 |\n\n## Incident Commander\n\n**Name**: Sarah Chen\n**Role**: Senior SRE\n\n## Response Team\n\n| Role | Name | Joined |\n|------|------|--------|\n| Incident Commander | Sarah Chen | 14:38 |\n| Backend Lead | David Kim | 14:40 |\n| DBA | Elena Rodriguez | 14:45 |\n| Comms Lead | James Wilson | 14:50 |\n\n## Impact Assessment\n\n### Customer Impact\n- **Scope**: All customers using web and mobile apps\n- **Severity**: Complete service outage\n- **Duration**: 1h 15m\n- **Affected Features**: All authenticated features\n\n### Business Impact\n- **Revenue Loss**: Estimated $XX,XXX\n- **SLA Breach**: Yes (99.9% monthly target affected)\n- **Customer Complaints**: 127 support tickets\n\n## Timeline\n\n| Time (UTC) | Event |\n|------------|-------|\n| 14:32 | First customer reports of errors |\n| 14:35 | PagerDuty alert for 5xx spike |\n| 14:38 | Incident declared, Sarah Chen IC |\n| 14:40 | Investigation begins |\n| 14:45 | Identified: DB connection pool exhausted |\n| 14:52 | Root cause: Runaway query from batch job |\n| 15:00 | Mitigation: Batch job killed |\n| 15:10 | Connection pool recovering |\n| 15:30 | 50% traffic restored |\n| 15:47 | Full service restored |\n| 15:50 | Monitoring confirms stable |\n| 16:00 | Incident closed |\n\n## Root Cause\n\n**Summary**: A scheduled batch job contained an inefficient query that held database connections indefinitely, exhausting the connection pool.\n\n**Details**:\n- Batch job deployed at 14:00 with new query\n- Query had missing index, causing full table scan\n- Each scan held connection for 30+ seconds\n- 100 concurrent requests × 30s = pool exhausted\n- New requests could not get connections → 5xx errors\n\n**Contributing Factors**:\n1. Missing index migration in batch job deploy\n2. No query timeout configured\n3. Connection pool size not tuned for load\n4. Batch job ran during peak hours\n\n## Resolution\n\n**Immediate Actions**:\n1. Killed runaway batch job\n2. Restarted application servers to reset connections\n3. Verified service restoration\n\n**Permanent Fixes** (follow-ups):\n- [ ] Add missing index (INC-001-01)\n- [ ] Configure query timeouts (INC-001-02)\n- [ ] Increase connection pool size (INC-001-03)\n- [ ] Move batch jobs to off-peak hours (INC-001-04)\n- [ ] Add connection pool monitoring alerts (INC-001-05)\n\n## Communication Log\n\n| Time | Channel | Message |\n|------|---------|---------|\n| 14:45 | #incident-2025-001234 | Incident declared, investigating API failures |\n| 15:00 | Status Page | Investigating service disruption |\n| 15:15 | Status Page | Identified cause, implementing fix |\n| 15:30 | #incident-2025-001234 | Service recovering, 50% restored |\n| 15:50 | Status Page | Service fully restored |\n| 16:00 | Email to customers | Incident resolved, apology + explanation |\n\n## Post-Incident Review\n\n**Scheduled**: 2025-12-10 10:00 UTC\n**Attendees**: Response team + Engineering Manager\n**Document**: .aiwg\u002Fincidents\u002FINC-2025-001234-pir.md\n\n## Lessons Learned\n\n### What Went Well\n- Fast detection (3 minutes)\n- Clear incident commander\n- Good team coordination\n\n### What Could Improve\n- Batch job should have been tested with prod-like data\n- Missing connection pool alerts\n- No query timeout safety net\n\n## Action Items\n\n| ID | Action | Owner | Due | Status |\n|----|--------|-------|-----|--------|\n| INC-001-01 | Add missing index | Elena | 2025-12-09 | Done |\n| INC-001-02 | Configure query timeouts | David | 2025-12-10 | In Progress |\n| INC-001-03 | Tune connection pool | Sarah | 2025-12-12 | Planned |\n| INC-001-04 | Reschedule batch jobs | David | 2025-12-15 | Planned |\n| INC-001-05 | Add pool monitoring | Sarah | 2025-12-12 | Planned |\n```\n\n## Usage Examples\n\n### Declare Incident\n\n```\nUser: \"Production is down, API returning 500 errors\"\n\nSkill initiates:\n1. Gather details\n2. Classify severity\n3. Create incident record\n4. Notify responders\n\nOutput:\n\"? INCIDENT DECLARED: INC-2025-001234\n\nSeverity: SEV1 (Critical) - Complete API failure\nImpact: All customers affected\n\nImmediate Actions:\n1. ✅ Incident record created\n2. ✅ Paging on-call: Sarah Chen (SRE)\n3. ✅ Slack channel: #incident-2025-001234\n4. ⏳ Assembling response team\n\nYou are Incident Commander until relieved.\n\nQuick Checklist:\n- [ ] What changed in last 2 hours?\n- [ ] Check: logs, metrics, recent deploys\n- [ ] Status page update needed?\n\nUpdate command: 'incident update \u003Cmessage>'\"\n```\n\n### Severity Assessment\n\n```\nUser: \"Is this SEV1 or SEV2? Users can't checkout but browsing works\"\n\nSkill evaluates:\n- Core function affected: Yes (checkout = revenue)\n- Workaround: No (can't complete purchase)\n- Customer %: All attempting checkout\n- Revenue impact: Direct\n\nOutput:\n\"Severity Assessment: SEV1 (Critical)\n\nRationale:\n✓ Revenue-impacting feature down\n✓ No workaround for affected flow\n✓ Checkout is business-critical path\n✓ Affects all customers attempting purchase\n\nSEV1 Criteria Met:\n- Complete feature outage: checkout\n- Revenue impact: direct\n- No workaround: cannot complete purchases\n\nResponse Requirements:\n- 15-minute update cadence\n- Executive notification: immediate\n- Customer communication: within 30 minutes\n- Target resolution: 4 hours\"\n```\n\n### Status Update\n\n```\nUser: \"Incident update: found the issue, deploying fix\"\n\nSkill logs:\n1. Add to timeline\n2. Update status\n3. Notify stakeholders\n\nOutput:\n\"Incident Update: INC-2025-001234\n\nStatus: Mitigating\nTime: 15:15 UTC\n\nUpdate Logged:\n'Found root cause, deploying fix'\n\nNext Actions:\n- [ ] Update status page\n- [ ] Notify executive stakeholders\n- [ ] Continue timeline documentation\n\nTime Since Start: 43 minutes\nNext Update Due: 15:30 UTC\"\n```\n\n## Integration\n\nThis skill uses:\n- `project-awareness`: Context for system topology\n- `artifact-metadata`: Track incident artifacts\n\n## Agent Orchestration\n\n```yaml\nagents:\n  incident_commander:\n    agent: incident-responder\n    focus: Overall coordination and decisions\n\n  technical_lead:\n    agent: debugger\n    focus: Root cause investigation\n\n  reliability:\n    agent: reliability-engineer\n    focus: System stability and monitoring\n\n  communications:\n    agent: support-lead\n    focus: Customer and stakeholder communication\n```\n\n## Configuration\n\n### Notification Channels\n\n```yaml\nnotifications:\n  sev1:\n    pagerduty: true\n    slack: \"#incidents-critical\"\n    email: [engineering-leads, on-call-manager]\n    sms: [incident-commander, vp-engineering]\n\n  sev2:\n    pagerduty: true\n    slack: \"#incidents\"\n    email: [engineering-leads]\n\n  sev3:\n    slack: \"#incidents\"\n    email: [team-lead]\n\n  sev4:\n    slack: \"#incidents-low\"\n```\n\n### Escalation Paths\n\n```yaml\nescalation:\n  sev1:\n    - {time: 0, to: on-call-engineer}\n    - {time: 15m, to: engineering-manager}\n    - {time: 30m, to: vp-engineering}\n    - {time: 1h, to: cto}\n\n  sev2:\n    - {time: 0, to: on-call-engineer}\n    - {time: 1h, to: engineering-manager}\n    - {time: 4h, to: vp-engineering}\n```\n\n## Output Locations\n\n- Incident records: `.aiwg\u002Fincidents\u002FINC-{year}-{id}.md`\n- Post-incident reviews: `.aiwg\u002Fincidents\u002FINC-{year}-{id}-pir.md`\n- Action items: `.aiwg\u002Fincidents\u002Faction-items.md`\n- Metrics: `.aiwg\u002Fincidents\u002Fmetrics\u002F`\n\n## References\n\n- Incident response template: agentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Ftemplates\u002Ftest\u002Fdefect-card.md\n- Post-incident review template: agentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Ftemplates\u002Fmanagement\u002Fsprint-retrospective-template.md\n- On-call schedule: .aiwg\u002Fteam\u002Fon-call.yaml\n- Runbooks: .aiwg\u002Fdeployment\u002Frunbooks\u002F\n",{"name":5,"namespace":47,"platforms":48,"description":7},"aiwg",[49],"all","main","a602706fc62ff1cfcb18001358ac39647b08acf5","agentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Fskills\u002Fincident-triage",36,"https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg","https:\u002F\u002Faiwg.io","https:\u002F\u002Fgithub.com\u002Fjmagly","https:\u002F\u002Fintegrolabs.io","ml\u002Fai, industrial automation, safety\u002Fsecurity, ssi\r\n\r\nmagly.net\r\nintegrolabs.io\r\naiwg.io\r\nfortemi.com\r\npagenary.com\r\nbytecask.com","2026-11-14 10:46:34",{"source":9,"skillName":5,"commands":61,"prompt":71,"zipAvailable":72},[62,65,68],{"tool":63,"command":64},"npx","npx skills add jmagly\u002Faiwg --skill incident-triage",{"tool":66,"command":67},"bunx","bunx skills add jmagly\u002Faiwg --skill incident-triage",{"tool":69,"command":70},"pnpm","pnpm dlx skills add jmagly\u002Faiwg --skill incident-triage","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Fskills\u002Fincident-triage\u002FSKILL.md",true,[],[75,83,88,115,135,140],{"skillNo":76,"name":77,"nameZh":17,"description":78,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":82},"01M78KW7PZJ9YQZQMW84SN2YD4","plugin-search","Search marketplaces for plugins using configured local manifests and directory caches; rank matching plugins by observed installs, review tier and cache dates without installing or fetching anything","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Futils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":84,"name":77,"nameZh":17,"description":78,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":82},"01M78KSEZS9ZNNFESY9ANW22S0","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":17,"description":91,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":42},"01M70QA0BSYJ49EES9V4RE8QH1","host-hardening","Read-only system hardening baseline and plan-first host hardening recommendations for SSH, Docker bind addresses, firewall persistence, datastores, exporters and audit retention.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114],"hardening","host","host hardening","verification","secrets","read","request","remediation","recommendations","audit","plan","port","bind","Bash","access","only","retention","re","never","firewall",{"skillNo":116,"name":117,"nameZh":17,"description":118,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":42},"01M70PNT2Z4HMZPRBTAF6073NN","exposure-analysis","Read-only firewall analysis and effective host exposure reconstruction for Docker published ports, UFW bypass, stale rules, CDN scope, IPv6 asymmetry and external probe allowlists.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fforensics\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[122,123,124,125,126,127,100,128,106,113,108,129,96,130,110,131,132,114,133,134],"analysis","exposure analysis","collection","reconstruction","operator","write","credentials","unknown","internet","local","scope","ports","ufw",{"skillNo":136,"name":90,"nameZh":17,"description":91,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":42},"01M70P8QATMPKA78E4FT5D2TNA","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[95,96,97,112,113,114,107,111,103,99,100,101,102,104,105,106,98,108,109,110],{"skillNo":141,"name":117,"nameZh":17,"description":118,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":142,"categories":143,"keywords":144,"publishedAt":42},"01M70NMPVJ5H0JH131P60FW4R8","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[122,123,134,133,126,132,131,110,125,127,100,128,106,124,108,129,96,114,113,130]]