Extract learnings from completed work. Trigger phrases: "run a retrospective", "extract learnings", "what did we learn", "capture lessons", "create a retro".
View on GitHubFebruary 1, 2026
Select agents to install to:
npx add-skill https://github.com/boshu2/agentops/blob/main/skills/retro/SKILL.md -a claude-code --skill retroInstallation paths:
.claude/skills/retro/# Retro Skill **YOU MUST EXECUTE THIS WORKFLOW. Do not just describe it.** Extract learnings from completed work and feed the knowledge flywheel. ## Execution Steps Given `/retro [topic] [--vibe-results <path>]`: ### Step 1: Identify What to Retrospect **If vibe results path provided:** Read and incorporate validation findings: ``` Tool: Read Parameters: file_path: <vibe-results-path> ``` This allows post-mortem to pass validation context without re-running vibe. **If topic provided:** Focus on that specific work. **If no topic:** Look at recent activity: ```bash # Recent commits git log --oneline -10 --since="7 days ago" # Recent issues closed bd list --status closed --since "7 days ago" 2>/dev/null | head -5 # Recent research/plans ls -lt .agents/research/ .agents/plans/ 2>/dev/null | head -5 ``` ### Step 2: Gather Context Read relevant artifacts: - Research documents - Plan documents - Commit messages - Code changes Use the Read tool and git commands to understand what was done. ### Step 3: Identify Learnings **If vibe results were provided, incorporate them:** - Extract learnings from CRITICAL and HIGH findings - Note patterns that led to issues - Identify anti-patterns to avoid Ask these questions: **What went well?** - What approaches worked? - What was faster than expected? - What should we do again? **What went wrong?** - What failed? - What took longer than expected? - What would we do differently? - (Include vibe findings if provided) **What did we discover?** - New patterns found - Codebase quirks learned - Tool tips discovered - Debugging insights ### Step 4: Extract Actionable Learnings For each learning, capture: - **ID**: L1, L2, L3... - **Category**: debugging, architecture, process, testing, security - **What**: The specific insight - **Why it matters**: Impact on future work - **Confidence**: high, medium, low ### Step 5: Write Learnings **Write to:** `.agents/learnings/YYYY-MM-DD-<topic>.md` ```markdown # Learning: <Shor