agentleFS
hazarsozerhazarsozer/ren-os/skills/retrospective/SKILL.md

retrospective

Skill2 starsChanged 2 months agoMITView on GitHub

Use when the friend (or a scheduled routine) wants a retrospective pass: mine instrumentation + journal + recent session history for repeated corrections, wrap-gate failures, and repeated task shapes that aren't skills yet — propose each as a queue diff. Triggers on /ren:retrospective [--since <date>]. NOT an eval-scored iteration loop — one deterministic pass, optionally judgment-enriched by the live session before proposing.

69 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use dev-story, team-level and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • lilangMaxSkill

    dev-story

    Read a story file and implement it. Loads the full context (story, GDD requirement, ADR guidelines, control manifest), routes to the right programmer agent for the system and engine, implements the code and test, and confirms each acceptance criterion. The core implementation skill — run after /story-readiness, before /code-review and /story-done.

    Also in 12 projects that use this

  • CoralGameSkill

    team-level

    Orchestrate level design team: level-designer + narrative-director + world-builder + art-director + systems-designer + qa-tester for complete area/level creation.

    Also in 12 projects that use this

  • CoralGameSkill

    team-narrative

    Orchestrate the narrative team: coordinates narrative-director, writer, world-builder, and level-designer to create cohesive story content, world lore, and narrative-driven level design.

    Also in 12 projects that use this

  • lilangMaxSkill

    create-stories

    Break a single epic into implementable story files. Reads the epic, its GDD, governing ADRs, and control manifest. Each story embeds its GDD requirement TR-ID, ADR guidance, acceptance criteria, story type, and test evidence path. Run after /create-epics for each epic.

    Also in 11 projects that use this

  • +7 more from lilangMax
  • +1 more from CoralGame

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 58 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Call analyze(gathered) — get the deterministic findings list.

    line 64

“Common” is measured: kept by at least 6 in 10 of the 58 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

retrospective

Spec §3.7's minimal retrospective engine + v2.1 D-2's skill-candidate mining, in one pass: gather → analyze → (live session may enrich) → propose_all. No eval-scored iteration — this runs once per invocation, not a tuning loop.

The three deterministic rules (analyze)

Finding kindFires whenWhat it proposes
lessonA page has been corrected (journaled UPDATE with supersedes) ≥2 times"This page keeps being corrected — capture the stable truth"
instruction-tweak≥3 classifier fail_closed events recorded"Wrap gate failing often — check llm_call wiring"
skill-candidate (D-2)A task-shape phrase recurs across ≥3 distinct sessions{task, frequency, proposed_shape, proposed_scaffold} — a repeated pattern that isn't a skill yet, with an executable script scaffold (SKILL.md layout + lib/run.py stub) so the reviewer sees exactly what would be built

All three are pure, deterministic functions over gather()'s output — no LLM call inside lib.analyze. The judgment layer belongs to the LIVE SESSION running this skill, not the library: read each finding, optionally enrich it (a sharper lesson statement, a more concrete proposed skill shape) before calling propose_all.

When to use this skill

  • Friend invokes /ren:retrospective for a fresh pass
  • Friend invokes /ren:retrospective --since 2026-01-01 to scope the metrics window
  • A scheduled routine invokes it periodically (via skills/routine-init's allowlist mechanism, capabilities: ["retrospective"])

Behavior

  1. Call skills.retrospective.lib.gather(since=...).
  2. Call analyze(gathered) — get the deterministic findings list.
  3. Enrich each finding — in a worker subagent when possible (execution_tier: worker): findings are self-contained, so spawn a cheap worker-model subagent (worker-class or classifier-class) to sharpen messages and refine proposed skill shapes, and take its output back. Parse its returned JSON with lib.adapter.worker.parse_worker_json — it tolerates a ```json fence or leading prose despite raw-JSON-only instructions, and raises WorkerOutputError (carrying the raw text) if the output still isn't valid JSON. Fall back to enriching inline only when subagents aren't available; the lib layer stays mechanical either way.
  4. Call propose_all(findings, session) → (entries, suggestions). lesson/instruction-tweak findings are data-plane (descriptive): each queues an ADD proposal (producer="retrospective", writer="retrospective") through propose_and_apply and lands applied immediately (entries). skill-candidate findings are instruction-plane suggestions by intent (Task 16, 0.4.2): each is recorded into the durable suggestion store (lib.suggestions.record, kind page_write) instead of the queue — fingerprinted, so re-running never re-nags a pending or already-decided candidate (suggestions).
  5. Render the result to the friend: what auto-applied (already saved — say "undo <write_id>" to revert), and which skill-candidate suggestions were newly recorded for review later (via the suggestion surface).

Why writer="retrospective" is not quarantined

lib.memory.queue.apply/apply_auto's auto-quarantine (Task 2.4) only fires for writer="llm-auto". Retrospective findings are their OWN provenance class — a deterministic mining pass, judgment-enriched by a live session, is a different trust shape than raw unreviewed LLM output. Whether a finding auto-applies or waits pending is governed by the v2.2 two-plane intent split (data vs. instruction), not by quarantine — see the Behavior section above.

What this skill does NOT do

  • Auto-apply a skill-candidate finding. That's an instruction-plane suggestion by intent — it always stays pending for a human's OK, regardless of which page it targets.
  • Iterate against an eval score. That's explicitly out of scope per spec §3.7 — this is one pass, not a tuning loop.
  • Scan transcripts unboundedly. gather() caps at the last 10 transcripts for the current project (MAX_SESSIONS_SCANNED).

References

  • Task 3.1 (lib/instrument/collect.py) — the metrics surface + the transcript family this reads (same files harvest_session_usage reads, mined here for task phrases instead of token counts)
  • Task 2.1 (lib/memory/queue.py) — the single write-queue every finding proposes through
  • Task 2.4 (queue's auto-quarantine) — why writer="retrospective" bypasses it, see above
  • skills/insights/scripts/collect.py (donor, ~/Dev/startup-framework) — the topic-extraction pieces (STOPWORDS, word regex, secret guard) adapted here
  • lib/memory/revert.py — the one-step undo a friend uses on what this skill auto-applies, invoked conversationally ("undo <write_id>"), not through a queue skill

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.