agentleFS
ehnruizehnruiz/claude-skills/skills/retro/SKILL.md

retro

Skill3 starsChanged 29 days agoMITView on GitHub

Review a finished coding session for what slowed the agent down or let a mistake through, and turn one lesson into a test, check or doc in the project so the next session does not repeat it. Use when the user asks for a retro or retrospective, a post-mortem of a session, or "what should we change so this doesn't happen again". To carry unfinished work into a new session, use `handoff`; to prove a fix before claiming it, use `regression-proof`.

193 other projects use a version of this, 49 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use plan-tune, ios-clean 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.
  • 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 9 projects that use this

  • 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

  • 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 11 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 8 projects that use this

  • timurgaleevSkill

    document-generate

    Generate missing docs for a feature, module or project as tutorials, how-tos, reference and explanation.

    Also in 7 projects that use this

  • +1 more from Saqlain-811
  • +2 more from ShreyRavi

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 171 edited versions we read keep these.

  • 2

    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:

    Load the style guide: Call the Skill tool with writing-for-agents.

    line 14
  2. Distinctive:

    Always-loaded instructions: Should a steering instruction in CLAUDE.md or AGENTS.md move to the coding standards or to a check?

    line 25
  3. Distinctive:

    Coding standards file: read during review, not implementation.

    line 35

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

Retro

A retro improves the agent's environment: the checks, docs and pointers that the next session in this project will run into. It ends with one change made in the project, which the user reviews and commits. Credit and license: LICENSE.md in this folder.

Steps

  1. Load the style guide. Call the Skill tool with writing-for-agents. Every doc or rule this retro writes is read by an agent, and that skill says how to write one so it is followed the same way every run.
  2. Read the session. Use the session the user names; with none named, use the current one. For an earlier session, read its transcript rather than working from memory: Claude Code keeps them as .jsonl files under ~/.claude/projects/<project slug>/. Note each place the agent searched for a long time, made a mistake, retried, or lacked a fact it needed.
  3. Find candidates in the categories below. Each candidate names the moment in the session (the tool call, the error, the retry) and the change that would have prevented it.
  4. Present them to the user, most severe first. Severity is what the problem cost or would cost again: a mistake that shipped outranks a slow search, a slow search outranks a wasted tool call.
  5. Build the one the user picks. Make the change in the project: the test, the lint rule, the CI step, the doc or the pointer. Run it and report its exit code. A new check must fail on the mistake it is meant to catch before it counts, so show it red on that mistake, then green on the fixed code.

Categories

  • Navigation. How easily did the agent find the right files? Are there hidden dependencies between files? Would a navigation pointer (one line in a file the agent already reads, naming where something lives) have saved the search? Use when the session took a long time to find a piece of information.
  • Automated checks. Could a lint rule, a type check, a test or a file-layout check have caught a mistake the agent made? Read the project's own check commands first (its package scripts or build tool targets, its CI workflow), so a check that exists but is unwired or silently broken is the finding, not a reinvention. A project with no guardrail at all (no pre-commit hook and no CI job running its lint, type check or tests) is itself a finding. Use when the agent made a mistake a check could have caught, or the project has no guardrail.
  • Coding standards. Should the reviewer be given a new rule, or should an existing rule be removed or clarified? Classify the violation first. A mechanical one (a fixed syntax pattern, a banned API, an import shape, a file-location rule) gets a deterministic check: a custom rule in the project's linter, a pre-commit hook or a CI job, whichever the project's existing guardrail makes cheapest. Build the check rather than writing the rule. Keep written standards for judgment calls that no check can make, such as consistency across files or matching the surrounding style. Use when a review missed a mistake.
  • Always-loaded instructions. Should a steering instruction in CLAUDE.md or AGENTS.md move to the coding standards or to a check? Use when that file is large, in the project or in the user's global scope.
  • Tool economy. Did the agent make expensive tool calls that could be cheaper? Is a custom CLI or MCP server spending many tokens for little information? Use when the agent made an expensive tool call.
  • No-ops. Is there an instruction in a steering file that does not change what the agent does? Remove it. Use when the steering files are large.
  • Information access. Was a fact the agent needed out of its reach? Writing dev server logs to a file it can read, or read-only access to a third-party service, can fix that. Use when a crucial piece of information was not available to the agent.

Where a lesson goes

Work goes through two stages: implementation and review. The implementing agent is under the most context pressure: it explores, writes code and debugs failures. The reviewing agent receives a diff and usually neither explores nor debugs, so it has room. Coding standards belong to review, not to implementation.

  • CLAUDE.md / AGENTS.md: loaded into the context of every agent in the project. Use them sparingly, mostly for navigation pointers to other files.
  • Coding standards file: read during review, not implementation. If it grows past about 1,000 lines, move sections into docs and leave pointers.
  • Docs: reference files reached through a pointer from another file. Look for an existing doc before writing a new one.
  • Skills: for reference whose description should sit in the agent's context, or for a command the user types.
  • Checks: the first choice for anything mechanical, because a check is enforced on every run and costs no context.

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.