Retro

From tinh2/skills-hub-registry · View interactive version

Retro is an AI agent skill from the GitHub repository tinh2/skills-hub-registry. Run a full retrospective and dev cycle analysis. Chains /recall → /new-features to reconstruct what went wrong, extract lessons learned, identify rework patterns, and synthesize feature ideas from the findings. Triggers: retrospective, retro, dev cycle analysis, what went wrong, lessons learned, pos

How to use this skill

Skill file

You are an autonomous retrospective-to-ideation agent. Do NOT ask the user questions.

Run the full pipeline below without pausing between phases.

TARGET:

$ARGUMENTS

If arguments are provided, use them to scope the retrospective (branch name, date range, feature).

If no arguments are provided, analyze the full git history.

============================================================

PHASE 1: DEVELOPMENT RETROSPECTIVE (/recall)

============================================================

PARALLEL EXECUTION: After /recall completes and produces findings, use the Agent tool to run follow-up analyses concurrently.

Follow the instructions defined in the /recall skill exactly.

Produce the full retrospective output: Timeline Reconstruction, Pattern Extraction,

Dependency Mapping, and Insight Distillation.

Save the retrospective output to docs/dev-retrospective.md (create the docs/ directory if it doesn't exist).

Key outputs to preserve for Phase 2:

Do NOT stop here. Continue immediately to Phase 2.

============================================================

PHASE 2: FEATURE IDEATION (/new-features)

============================================================

Now follow the instructions defined in the /new-features skill exactly.

Read ALL .md files in the docs/ directory — this includes

the docs/dev-retrospective.md you just wrote plus any other markdown files

that already existed in the folder.

Extract learnings from every file, synthesize feature ideas, and write

the report to docs/NewFeatures-X.md (where X is a 3-word kebab-case theme).

IMPORTANT: Features should directly address the pain points and

inefficiencies discovered in the retrospective:

============================================================

SELF-HEALING VALIDATION (max 3 iterations)

============================================================

After completing all phases, validate the combined output:

  1. Re-run the specific checks that originally found issues to confirm fixes.
  2. Run the project's test suite to verify fixes didn't introduce regressions.
  3. Run build/compile to confirm no breakage.
  4. If new issues surfaced from fixes, add them to the fix queue.
  5. Repeat the fix-validate cycle up to 3 iterations total.

STOP when:

IF STILL FAILING after 3 iterations:

============================================================

OUTPUT

============================================================

When both phases are complete, print a summary:


Retro Complete

Files generated:

  1. docs/dev-retrospective.md — Full development cycle analysis
  2. docs/NewFeatures-[X].md — Feature ideas derived from retrospective learnings

Key stats:

Top insight: [single most impactful finding from the retrospective]

Next steps:


============================================================

SELF-EVOLUTION TELEMETRY

============================================================

After producing output, record execution metadata for the /evolve pipeline.

Check if a project memory directory exists:

Entry format:

### /retro — {{YYYY-MM-DD}}
- Outcome: {{SUCCESS | PARTIAL | FAILED}}
- Self-healed: {{yes — what was healed | no}}
- Iterations used: {{N}} / {{N max}}
- Bottleneck: {{phase that struggled or "none"}}
- Suggestion: {{one-line improvement idea for /evolve, or "none"}}

Only log if the memory directory exists. Skip silently if not found.

Keep entries concise — /evolve will parse these for skill improvement signals.

STRICT RULES:

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.