agentleFS
michielvandermeermichielvandermeer/skills/skills/retro/SKILL.md

retro

Skill9 starsChanged 19 days agoMITView on GitHub

Look at a finished session, apply high-priority changes this repository owns, file the structural ones as Issues, and summarise the rest.

We split this skill into the rules it gives an agent

5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 169 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Steering files: always include the repo's AGENTS.md / CLAUDE.md and the host's global always-loaded agent files, plus any file this session …

    line 24
  2. Very specific:

    Write the rule into the repo's existing Coding standards: the file in .agents/refs/ that holds them, else a root CODING_STANDARDS.md or …

    line 49
  3. Distinctive:

    Check every item. *Use when* is the evidence bar.

    line 53
  4. Very specific:

    Do not start /code-review on these edits.

    line 73
  5. Distinctive:

    Done: when those lists are in the chat, or that one line is.

    line 97

“Common” is measured: kept by at least 6 in 10 of the 169 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

A Retrospective applies High-priority environment changes to Owned files without asking, files each Structural fix as an Issue, then summarises. /code-review still reviews the product diff; /retro reads it only to find Corrections.

Apply and present only when the skill the user typed — or, when they typed none, the outermost skill the agent loaded — is this /retro or has reached its own done condition.

Run /writing-for-agents for how a steering edit is written, and read technical-writing/SKILL.md and follow it before an Issue or the summary — /technical-writing does not load as a skill. Which mechanism a lesson gets follows "Encode lessons in structure" in code-review/PRINCIPLES.md: agents copy what exists and take the shortest path, so code that makes the wrong thing impossible beats a check, and a check beats prose.

Issues live in the repo's Tracker: carry out each operation on one — file, list, comment — as .agents/refs/tracker.md says, or as setup/LOCAL.md says when the repo has no ref.

The argument names a session, or is empty for the current one.

Sources

The host's session logs for the current or named session, plus the steering files that session used, plus the session's code changes. Look up log paths for this host. If the named session cannot be found, stop and say so. If logs for the current session are not on disk, work from what this conversation holds.

Steering files always include the repo's AGENTS.md / CLAUDE.md and the host's global always-loaded agent files, plus any file this session actually reached.

The session's code changes are the commits the session log records for the current or named session, plus any uncommitted changes still in the working tree. Take the commits from the session log. An implement run's change is its landing commit: once the run lands, its other commits are on no branch.

Corrections

A Correction is a change to old code where the session also shows the old code was wrong: the user said so, a bug was being fixed, a test failed, or a review flagged it. An edit to an existing Verify skill is a Correction too: an agent edits one only when it steered the agent wrong. Who wrote the old code, a person or an agent, does not matter.

Old code is a line the session's diff removed or changed that was committed before the session's first commit, or was already in HEAD when the session made no commits. git blame on the pre-change version names that commit. A change that follows a changed requirement is new work.

Code the session itself wrote stays with the session's own review loop, however soon it was fixed. Only a mistake in it that the reviewer let through reaches a rule, through the reviewer-missed-a-mistake bar under Coding standards.

A lesson is a Correction whose fix points to a pattern future code could repeat. Route each Correction to the first outcome that fits:

  • a Verify skill edit → a check in that skill's Doctor section when a check could have caught what steered the agent wrong, else record nothing — the edit already holds the lesson;
  • a mistake a change to the code's shape could rule out → a Structural fix (see File);
  • a mistake a check could catch → Automated checks;
  • the old code broke a rule the Coding standards already hold → the reviewer-missed-a-mistake bar;
  • a one-off fact, such as a wrong constant → record nothing;
  • any other lesson → a new Coding standards rule.

For each lesson, search the codebase for other copies of the corrected pattern: the next agent copies what it finds. The copies go into the lesson's Issue, else onto the not-applied list as High-priority.

A lesson that contradicts a rule already written changes or removes that rule, so the Coding standards keep one rule on the point.

Write the rule into the repo's existing Coding standards: the file in .agents/refs/ that holds them, else a root CODING_STANDARDS.md or CONTRIBUTING.md, else create .agents/refs/coding-standards.md. A Correction in a file this repo does not own still writes its rule here.

Categories

Check every item. Use when is the evidence bar. Every suggestion is something this session demonstrated.

  • Navigation — would a context pointer have shortened the hunt? An analyzer or lint project that no steering file points to is one. Use when the session took a long time to find a piece of information.
  • Automated checks — the strongest mechanism the repo can carry that would have caught a mistake this session made: a type that cannot hold the bad state, then a static analysis rule, test, or CI rule, then a shared helper, then a runtime check. Static analysis is a rule in the repo's own analyzer or lint project, such as a Roslyn analyzer or an ESLint plugin, or a setting in its lint config. Read the repo's own check commands first (its build tool's lint or check scripts, its CI workflow), and find where it keeps its checks through the steering files and build config: a check that already exists but is not wired in, or is silently broken, is the finding, not a new check. A check that only configures a tool the repo already runs is applied; a check that needs new code — a type, an analyzer rule, a test, a helper — is filed with the lesson (see File). Applying a check deletes the rule it now enforces from the Coding standards and AGENTS.md / CLAUDE.md. Use when the agent made a mistake a check could have caught.
  • Coding standards — a new, removed, or clarified rule for the reviewer (/code-review, .agents/refs/, or the repo's standards file). Use when the reviewer missed a mistake, or a Correction is a lesson.
  • AGENTS.md load — steering in AGENTS.md / CLAUDE.md (repo or global) that belongs in coding standards or a check instead. Use when that file is carrying more than context pointers.
  • Tool economy — expensive calls that could be cheaper, or a custom tool that wastes tokens. Use when the session made an expensive call.
  • No-ops — instructions in steering files that do not change behaviour. Use when those files are large.
  • Information access — logs, readonly third-party access, or other information the agent lacked. A running app checked by hand in a repo with no Verify skill is High-priority: run /setup verify. Use when a piece of information the session needed was unavailable.

Apply

Rank by how often the pain will recur and how much it costs. An every-turn context-load problem outranks a one-off expensive call.

High-priority is pain that will recur every turn or every session. It includes a judgement-call coding standard, a new configuration check this session demonstrated, and a lesson's rule (see Corrections). Apply those without asking to Owned files. Each edit is the smallest change that encodes what this session demonstrated. A new check that would fail on the current branch still applies.

Owned-file high-priority edits: one commit.

A file that is not an Owned file, or a write or commit that cannot complete: that item is not applied; continue the rest.

Do not start /code-review on these edits.

File

A Structural fix changes the shape of the code, wider than one type, so the mistake cannot recur: a boundary, one shared path in place of copies, a module split. It and a check that needs new code are product changes that need review, so /retro files them instead of applying them.

  1. List the open Issues. One that already covers the fix gets this session's evidence as a comment, and filing stops there.
  2. Otherwise file one Issue per lesson in needs-triage, category enhancement. Its body names the mistake the session corrected, the Structural fix, the check and where it goes with a link to the repo's own steps for adding one, and every copy of the pattern.
  3. Apply the lesson's interim guard now: the first outcome that applies without new code — a configuration check, else a Coding standards rule. The Issue names it, to delete when the fix lands.

A fix for a file this repo does not own is not filed; it stays in the summary. A filing that cannot complete moves the item to the not-applied list as High-priority, saying why.

Present

Two lists in chat: applied, then not applied. Omit an empty list.

Applied items: the path in this tree, concrete enough to undo, and each Issue filed or commented on, by its reference.

Not-applied items: High-priority first, labelled, then the rest. Each names the file to edit, concrete enough to apply by hand, and what this session did that shows the need — the reader applies it in another session that did not see this one. An Owned file is the path in this tree. A plugin skill is skills/<name>/... in this plugin. A user-global file is the host path, looked up.

Nothing to apply and nothing to list → one line that the retrospective found nothing, so it is clear it ran.

No retrospective file.

Done when those lists are in the chat, or that one line is.

Download now (ZIP)

  • Other versions192 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 192

    1. mattpocock/skills★ 309ksame name
    2. garrytan/gstack★ 139ksame name
    3. formbricks/formbricks★ 13ksame name
    4. ArcReel/ArcReel★ 6ksame name
    5. vinvcn/mattpocock-skills-zh-CN★ 5.5ksame name
    6. withcoral/coral★ 4.9ksame name
    7. bergside/awesome-design-skills★ 2.9ksame name
    8. MiniMax-AI/minimax-code★ 2.2ksame name
    9. DenchHQ/DenchClaw★ 1.7ksame name
    10. DenchHQ/ironclaw★ 1.7ksame name

    182 more not listed

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • Used alongsideProjects with it also use ios-clean, ios-fix 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.
    • Saqlain-811Skill

      ios-clean

      Remove the DebugBridge SPM package and all #if DEBUG wiring from an iOS app. (gstack)

      Also in 5 projects that use this

    • Saqlain-811Skill

      ios-fix

      Autonomous iOS bug fixer. (gstack)

      Also in 5 projects that use this

    • ShreyRaviSkill

      plan-tune

      Self-tuning question sensitivity + developer psychographic for gstack (v1: observational). Review which AskUserQuestion prompts fire across gstack skills, set per-question preferences (never-ask / always-ask / ask-only-for-one-way), inspect the dual-track profile (what you declared vs what your behavior suggests), and enable/disable question tuning. Conversational interface — no CLI syntax required.

      Also in 8 projects that use this

    • seek888Skill

      pair-agent

      Pair a remote AI agent with your browser. One command generates a setup key and prints instructions the other agent can follow to connect. Works with OpenClaw, Hermes, Codex, Cursor, or any agent that can make HTTP requests. The remote agent gets its own tab with scoped access (read+write by default, admin on request). Use when asked to "pair agent", "connect agent", "share browser", "remote browser", "let another agent use my browser", or "give browser access". (gstack) Voice triggers (speech-to-text aliases): "pair agent", "connect agent", "share my browser", "remote browser access".

      Also in 10 projects that use this

    • ShreyRaviSkill

      landing-report

      Read-only queue dashboard for workspace-aware ship. Shows which VERSION slots are currently claimed by open PRs, which sibling Conductor workspaces have WIP work likely to ship soon, and what slot /ship would pick next. No mutations — just a snapshot. Use when asked to "landing report", "what's in the queue", "show me open PRs", or "which version do I claim next". (gstack)

      Also in 7 projects that use this

    • seek888Skill

      open-gstack-browser

      Launch GStack Browser — AI-controlled Chromium with the sidebar extension baked in. Opens a visible browser window where you can watch every action in real time. The sidebar shows a live activity feed and chat. Anti-bot stealth built in. Use when asked to "open gstack browser", "launch browser", "connect chrome", "open chrome", "real browser", "launch chrome", "side panel", or "control my browser". Voice triggers (speech-to-text aliases): "show me the browser".

      Also in 8 projects that use this

    • +2 more from Saqlain-811
    • +3 more from ShreyRavi
  • In this repository26 other files it gives its agents.

Does it work?

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

Reviews can't be read right now.

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.