Skip to content
Back to skills

Retro

ASecurity

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.

  • 8 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 3, 2026
ai-agentsgodocumentation

Works with

  • cli

Security analysis

A100/100

Scanned November 30, 2026

npx -y skills add mickeyyaya/evolve-loop --skill retro --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Retro?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Retro
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mickeyyaya-retro/badge)](https://www.skillsdirectory.com/skills/mickeyyaya-retro)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.