Use after ship completes. Three sub-reflectors (instinct, gene, failure) run in parallel to extract lessons, update gene pool, and analyze any failures. Off the latency-critical path.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Retro?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/mickeyyaya-retro)
---
name: retro
description: Use after ship completes. Three sub-reflectors (instinct, gene, failure) run in parallel to extract lessons, update gene pool, and analyze any failures. Off the latency-critical path.
---
# retro
> Sprint 1.3 fan-out + Sprint 3 composable skill (v8.16+). Sub-reflectors merge through dedup-by-title.
## When to invoke
- After `ship` completes (PASS) or after audit FAIL/WARN (capture lessons either way)
- Cycle is in `ship` or `audit` phase, transitioning to `learn`
## When NOT to invoke
- Cycle aborted before producing any artifacts
- Pure-documentation cycles (no behavioral changes to reflect on)
## Workflow
| Step | Action | Exit criteria |
|---|---|---|
| 1 | Read build-report.md, audit-report.md, state.json | Inputs loaded |
| 2 | Dispatch 3 sub-reflectors in parallel | 3 worker artifacts |
| 3 | Aggregator dedups `## Lesson:` blocks across workers | `<workspace>/retrospective-report.md` produced |
| 4 | Optionally write to `.evolve/instincts/lessons/<slug>.yaml` | Lessons persisted |
## The three sub-reflectors
| Sub-reflector | Focus | Output style |
|---|---|---|
| `retro-instinct` | Reusable patterns across cycles | `## Lesson: <pattern title>` |
| `retro-gene` | Gene-pool updates based on cycle outcome | `## Lesson: <gene insight>` |
| `retro-failure` | Failed approaches with reproduction steps | `## Lesson: <failure pattern>` |
## Report format
`retrospective-report.md` carries deduplicated `## Lesson:` blocks. Optionally one or more YAML files in `.evolve/instincts/lessons/`.
## Keep the provenance of each lesson
The code home of the lesson schema is `research.Lesson` (`go/internal/research/lesson.go`). Today it has no provenance field, and its decoder drops each key that it does not know. So do not add a new key to a lesson YAML file.
- **Today:** each `## Lesson:` block of the report names its provenance in text: the incident record id or the cycle, the sha256 of its evidence, and the test, the guard or the gate that proves it.
- **Planned (plan I23):** `research.Lesson` gets the provenance fields and a state (`candidate`, `promoted` or `demoted`). The verb `evolve issue lesson promote` writes them, and recall leaves out a demoted lesson. This skill then cites the fields from that struct.
- Promote a lesson only as a guard, a gate or a test (ADR-0175 decision 22). Promote it only when its cause is confirmed (ADR-0175 decisions 7 to 9; [issue-analyze](../issue-analyze/SKILL.md), step 10).
- When a later failure contradicts a lesson, name the record of that failure in the report. The demotion in code is planned (I23).
- Dedup by title is a string match. Two lessons of one mechanism with two titles are one lesson. The wave retrospective of [issue-retro](../issue-retro/SKILL.md) finds them by mechanism class.
<!-- GENERATED:phase-facts BEGIN — do not edit; run `evolve skills generate`. Sources: docs/architecture/phase-registry.json · go/internal/phasecontract · .evolve/profiles/retrospective.json -->
## Phase facts
| Fact | Value |
|---|---|
| Phase | `retrospective` (control archetype, optional) |
| Persona | `agents/evolve-retrospective.md` |
| Profile | `.evolve/profiles/retrospective.json` — CLI `codex-tmux`, tier `deep`, fan-out ×3 |
| Inputs | `audit-report.md` · `build-report.md` |
| Artifact | `retrospective-report.md` (cycle workspace) |
## Output contract
`retrospective-report.md` — no required sections (classified by the phase runner).
<!-- GENERATED:phase-facts END -->
## Composition
Invoked by:
- `/evo:retro`
- `loop` macro after `/evo:ship`
Fan-out prompts live in `.evolve/profiles/retrospective.json:parallel_subtasks` (count projected into Phase facts above).
## Reference
- `.evolve/profiles/retrospective.json`
- `evolve aggregator learn <output> <worker-artifact>...` (`go/internal/aggregator`: lessons mode with dedup)
- `agents/evolve-retrospective.md`
- `skills/loop/phase6-learn.md` (legacy detailed workflow)