retro

Analyze session friction and build learnings into setup changes verified to prevent recurrence.

579|76|Updated Oct 29, 2026
Ready to run
npx skills add https://github.com/phuryn/product-engineering --skill retro-phuryn
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: retro
Source: https://github.com/phuryn/product-engineering/tree/main/agent-harness/skills/retro
Command: npx skills add https://github.com/phuryn/product-engineering --skill retro-phuryn

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? At the end of agent sessions, friction and errors fade from memory before they can be prevented. This Skill captures what slowed work down or went wrong, finds its root cause, and implements a fix in code, instructions, or routing—then verifies it works. ## Core Features & Use Cases - Friction Capture: List only this session's actual slowdowns with the moment each occurred, not guesses about the future. - Root Cause Analysis: Distinguish between missing rules, rules not applied, tool gaps, skill advice issues, or one-off errors. - Verified Fixes: Prefer code-based solutions (scripts, hooks, validation) over prose rules; improve routing before adding new rules; verify each fix where it applies. - Use Case: An agent ran tests against the wrong server twice in one session. Rather than writing "always check the server", the Skill adds a validation script that rejects the wrong server and a router line requiring it be read before test execution. ## Quick Start At the end of a session, invoke the retro skill and describe the friction you noticed, then follow the steps to list what happened, find its cause, fix it in code or instructions with verification, and report the result.

Frequently Asked Questions about retro

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I use retro to fix repeated agent mistakes?▼

List the specific moment the agent made the mistake, determine if the rule was missing, present but not applied, or a tool failed, then add code (script, hook, validation) to prevent it at that decision point. Verify with test cases before closing.

When should I use code instead of writing a new instruction?▼

Always prefer code: scripts, validation hooks, required arguments, and tests hold fixes more reliably than prose. Use instructions only to improve routing or clarify existing rules, not to add new ones without evidence from this session.

What counts as friction worth fixing?▼

Only friction from this session with a specific moment: agent missed a rule, owner corrected the agent, work was redone, an assumption was wrong, a tool failed, or the owner waited on something the agent could have done. Exclude guesses and successes.

How do I know if my fix actually works?▼

Test the fix where it applies: pipe a payload that must trigger the fix through a hook and verify it fires; for scripts, run them with sample data; for routing changes, confirm the agent reads the improved instruction at the right moment.

Should I file fixes back to plugin skills or keep them local?▼

Keep fixes in your project's own agent instructions if the issue is how a skill is used. Draft corrections for the source repository only when the skill itself gives wrong advice—include the receipt and proposed replacement text for the owner to file.

Why should friction go into code instead of a rule list?▼

Written conventions are forgotten or ignored. A two-line bug fixed with a sentence reappeared five weeks later in a scheduled job. Code-based fixes (validation, hooks, required arguments) enforce compliance at the moment a decision must change.