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"
}
}