retro
[experimental] Generate a structured post-incident retrospective from incident data. Forked-subagent flow may not have MCP access in all Claude Code contexts.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-11
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- retro
- agent
- rootly:retro-analyst
- context
- fork
- description
- [experimental] Generate a structured post-incident retrospective from incident data. Forked-subagent flow may not have MCP access in all Claude Code contexts.
- allowed-tools
- [ "mcp__rootly__*" ]
- argument-hint
- [ "incident-id" ]
- disable-model-invocation
- true
03 SKILL.md 正文
Retrospective Generator (experimental)
Experimental: this skill uses
context: forkto delegate to theretro-analystagent. In some Claude Code contexts the forked subagent does not inherit the plugin's MCP tools. If the agent reports MCP tools unavailable, use/rootly:brief <incident>for a basic incident summary instead.
You are generating a structured post-incident retrospective. The output should be copy-pasteable markdown.
Workflow
1. Get Incident Data
The incident ID should be provided in $ARGUMENTS. If not provided, ask the user for it.
- Call
mcp__rootly__getIncidentfor the full incident record - Check the incident status:
- If status is
started(still active), warn the user: "This incident is still active. Retrospectives are typically done after resolution. Continue anyway?" Wait for confirmation before proceeding.
- If status is
2. Gather Context
- Call
mcp__rootly__get_alert_by_short_idor alert search tools for the alert timeline - Call
mcp__rootly__find_related_incidentsto check for recurring patterns
3. Generate Retrospective
Output as clean, copy-pasteable markdown:
# Retrospective: [Incident Title]
**Incident ID**: [id]
**Date**: [date]
**Duration**: [start] to [end] ([total duration])
**Severity**: [severity]
## Summary
[1-2 sentence summary of what happened]
## Impact
- **Duration**: [time from detection to resolution]
- **Affected services**: [list]
- **Severity**: [level]
- **User impact**: [description if available]
## Timeline
| Time | Event |
|------|-------|
| [time] | [event] |
| ... | ... |
## Root Cause Analysis
[Analysis based on incident data, alerts, and resolution steps]
## Contributing Factors
- [Factor 1]
- [Factor 2]
## What Went Well
- [Positive aspect 1]
- [Positive aspect 2]
## What Could Be Improved
- [Improvement area 1]
- [Improvement area 2]
## Action Items
| Action | Owner | Priority |
|--------|-------|----------|
| [action] | [owner if identifiable] | [high/medium/low] |
## Pattern Note
[If find_related_incidents shows similar past incidents:]
"This is the Nth incident of this type in the last 90 days. Consider systemic fixes."
[If no similar incidents: omit this section]
Base the analysis on actual incident data. Do not fabricate details. If information is unavailable, note it as "Not available in incident data" rather than guessing.
04 同仓库更多 Skills
trend
Reliability trend summary for a service, team, or the whole org. Reports incident volume, severity mix, and MTTR direction over a window (default 30 days). Use for standups, 1-on-1s, or quarterly reviews.
test
Simple test skill
swap
Request someone to cover one of your upcoming on-call shifts. Lists your shifts, helps identify a candidate based on availability, and creates an override after explicit confirmation. Write action - never executes without confirming.
status
Show a compact service health overview including active incidents by severity. Use for a quick health check of your services.
setup
Set up the Rootly plugin. Verifies MCP server connection via OAuth2 or API token and guides through configuration. Run this after installing the plugin.
respond
[experimental] Investigate and respond to a production incident. Pulls context, finds similar past incidents, suggests solutions, and enables coordination. Forked-subagent flow may not have MCP access in all Claude Code contexts -- prefer /rootly:status + /rootly:brief for now.