agentleFS
PAIR-codePAIR-code/deliberate-lab/.agents/skills/retrospective/SKILL.md

retrospective

Skill97 starsChanged 58 days agoApache-2.0View on GitHub

Reflect on pairing sessions from the AI perspective using the FAR framework (Friction, Ambiguity, Repetition), present observations conversationally, and anchor generalizable improvements as GitHub issues or comments.

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

6 rules. 0 are common, 6 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 58 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before recommending action, filter each observation:

    line 38
  2. Distinctive:

    When the session yields an architectural trade-off, governance verdict, or engineering precedent (ADR 0001).

    line 66
  3. Distinctive:

    Never default to expanding AGENTS.md with static troubleshooting checklists.

    line 69
  4. Distinctive:

    Do not output a rigid boilerplate report or fill out empty template sections.

    line 92
  5. Distinctive:

    User Confirmation: Ask the developer whether they agree with the triage and want to file the recommended issues/comments.

    line 99
  6. Distinctive:

    Fluff-Free: Avoid mechanical boilerplate headings (e.g.

    line 106

“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

A skill for AI coding agents to reflect on recent pairing sessions, capture operational learnings from the agent's perspective, and anchor generalizable improvements into concrete GitHub issues or comments—without in-flight scope creep.


When to use

Invoke this skill when:

  • Completing a Pull Request or major feature milestone before final sign-off.
  • Wrapping up an exploratory or pairing session.
  • The developer asks for reflection: "run a retro", "what friction did you hit?", "post-action review", "reflect on this session".

Core Principles

1. The AI Perspective: The FAR Lens

Analyze the pairing trajectory through three dimensions:

DimensionWhat the AI ExperiencesExamples in Deliberate Lab
FrictionTooling & environment failuresNon-zero exit codes, missing build artifacts (utils/dist), buffer truncations, misaligned Node versions.
AmbiguityContext & governance gapsUnderspecified worktree policies, unclear layer boundaries, missing decision records, conflicting instructions.
RepetitionToil & token inefficiencyMulti-step bash ceremonies that waste round-trips and should be scripted or automated.

2. The Triage Gate: Transient vs. Generalizable

Before recommending action, filter each observation:

"The cure may be worse than the disease."

  • Transient / Anomalous Friction: One-off edge cases, network blips, or temporary bootstrapping phases (e.g. working within an active stacked PR chain that temporarily alters symlinks).
    • Action: Mention it conversationally, but explicitly recommend not building tooling or over-engineering rules.
  • Generalizable / Systemic Friction: Friction that will predictably recur across future agent sessions or for other contributors (e.g. multi-remote CLI ambiguity, uncodified PR review protocols, missing build artifacts).
    • Action: Escalate to formal Anchoring.

3. The Cardinal Rule: Anchoring (No In-Flight Fixes)

[!CRITICAL] Never apply workflow, tooling, or governance fixes directly onto an active feature branch during a feature task.

Ad-hoc workflow fixes during feature work bloat PR diffs, mix concerns, and discard provenance. Instead, route generalizable insights to appropriate capture methods:

  1. New GitHub Issue (Most common):
    • For concrete bugs, missing tooling scripts, or independent fast-follow tasks.
    • Classify using Deliberate Lab's 6 repository layers (Decision 0004):
      • area:workspace (bare repo, worktrees, overview, sync, decisions, eval-pr)
      • area:git (branch policies, conventional commits, remotes, PR review protocols)
      • area:build (monorepo compilation, packaging, linting, formatting)
      • area:test (unit & integration tests, emulators)
      • area:ci-deploy (GitHub Actions, Cloud Build)
      • runtime:* (runtime:participant-ux, runtime:experimenter-ux, runtime:agents, runtime:backend)
  2. Comment on Existing Issue or PR:
    • For direct UX/design feedback, nuance, or implementation notes on the current feature.
  3. Decision Record (.agents/decisions/):
    • When the session yields an architectural trade-off, governance verdict, or engineering precedent (ADR 0001).

The Anti-Bloat Canon (ADR 0002)

Never default to expanding AGENTS.md with static troubleshooting checklists. Prioritize active script detection and stdout remediation over documentation prose.

4. Capturing Negative Decision Space (Overturned Proposals)

To prevent the "Groundhog Day" trap—where future agents repeatedly suggest the same obvious-sounding but unwanted mitigations—explicitly note proposals that the developer declined:

  • What the agent recommended.
  • Why the developer overturned it (e.g. premature abstraction, operational overhead exceeds benefit, transient anomaly).

Preserving this rationale in the retro discussion or resulting issue prevents future agents from retreading rejected ideas.


Trajectory Telemetry Mining

Ground the reflection in objective signals from the session transcript:

  1. User Course-Corrections: Direct user interventions steering architecture, correcting assumptions, or advising against editing a file. These are the highest-value signals of underlying context ambiguity.
  2. Command / Tool Failures: Non-zero exits, failed bash commands, or output truncation traps.
  3. Repetitive Operations: Multi-step terminal ceremonies repeated multiple times across the session.

Conversational Delivery (No Rigid Forms)

Do not output a rigid boilerplate report or fill out empty template sections. Instead, conduct the retrospective conversationally:

  1. Brief Debrief: Share a concise, candid summary of what the session felt like from the AI perspective:
    • What went smoothly.
    • What friction, ambiguity, or repetition occurred (and which are transient vs. generalizable).
    • Any overturned proposals (negative decision space).
  2. Actionable Recommendations: For the generalizable concerns, present concrete capture recommendations such as a new GitHub issue or comment on an existing issue.
  3. User Confirmation: Ask the developer whether they agree with the triage and want to file the recommended issues/comments.

Safety Rules

  • Zero In-Flight Code Changes: A retrospective never makes unreviewed code changes to the active feature code. It only produces conversational reflection and drafts capture items.
  • Fluff-Free: Avoid mechanical boilerplate headings (e.g. writing "User Course-Corrections: None"). Only report genuine signals.
  • Respect User Intent: Human course-corrections are authoritative; treat them as primary learning inputs.

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.