Incident template

From XSpoonAi/spoon-awesome-skill · View interactive version

Incident template is an AI agent skill from the GitHub repository XSpoonAi/spoon-awesome-skill. Emit incident response templates with structured timeline sections. Provides templates for incident documentation, root cause analysis, and action items.

How to use this skill

Skill file

Description

Emit incident response templates with structured timeline sections. Provides templates for incident documentation, root cause analysis, and action items.

Inputs

{
  "incident_type": "outage|security|data-loss",
  "severity": "critical|high|medium"
}

Outputs

{
  "ok": true,
  "data": {
    "template": "Incident response markdown template"
  }
}

Usage

Demo Mode

python scripts/main.py --demo

Generate Incident Template

echo '{"incident_type": "outage", "severity": "critical"}' | python3 scripts/main.py

Examples

Example 1: Critical Outage Template

$ echo '{"incident_type": "outage", "severity": "critical"}' | python3 scripts/main.py
{
  "ok": true,
  "data": {
    "template": "# Incident Report\n\n## Summary\n\n## Timeline\n\n## Impact\n\n## Root Cause\n\n## Action Items"
  }
}

Error Handling

When an error occurs, the skill returns:

{
  "ok": false,
  "error": "Error description",
  "details": {
    "incident_type": "Invalid incident type"
  }
}
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.