agentleFS
svyatovsvyatov/supermatt/skills/retro/SKILL.md

retro

Skill2 starsChanged 2 months agoMITView on GitHub

Conduct a retrospective on a coding session.

128 other projects use a version of this, 24 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use document-release, plan-ceo-review 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.
  • AICreator-WindSkill

    document-release

    技术作家工具。更新项目文档。

    Also in 10 projects that use this

  • CodeWithBehnamSkill

    plan-ceo-review

    CEO/founder-mode plan review. Rethink the problem, find the 10-star product, challenge premises, expand scope when it creates a better product. Three modes: SCOPE EXPANSION (dream big), HOLD SCOPE (maximum rigor), SCOPE REDUCTION (strip to essentials).

    Also in 15 projects that use this

  • AICreator-WindSkill

    design-consultation

    设计合作伙伴工具。构建完整设计系统,提供专业设计建议。

    Also in 11 projects that use this

  • CodeWithBehnamSkill

    setup-browser-cookies

    Import cookies from your real browser (Comet, Chrome, Arc, Brave, Edge) into the headless browse session. Opens an interactive picker UI where you select which cookie domains to import. Use before QA testing authenticated pages.

    Also in 9 projects that use this

  • ayudaySkill

    autoplan

    Auto-review pipeline — reads the full CEO, design, and eng review skills from disk and runs them sequentially with auto-decisions using 6 decision principles. Surfaces taste decisions (close approaches, borderline scope, codex disagreements) at a final approval gate. One command, fully reviewed plan out. Use when asked to "auto review", "autoplan", "run all reviews", "review this plan automatically", or "make the decisions for me". Proactively suggest when the user has a plan file and wants to run the full review gauntlet without answering 15-30 intermediate questions.

    Also in 10 projects that use this

  • seek888Skill

    design-html

    Design finalization: generates production-quality Pretext-native HTML/CSS. Works with approved mockups from /design-shotgun, CEO plans from /plan-ceo-review, design review context from /plan-design-review, or from scratch with a user description. Text actually reflows, heights are computed, layouts are dynamic. 30KB overhead, zero deps. Smart API routing: picks the right Pretext patterns for each design type. Use when: "finalize this design", "turn this into HTML", "build me a page", "implement this design", or after any planning skill. Proactively suggest when user has approved a design or has a plan ready. (gstack) Voice triggers (speech-to-text aliases): "build the design", "code the mockup", "make it real".

    Also in 5 projects that use this

  • +3 more from AICreator-Wind
  • +1 more from CodeWithBehnam

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 110 edited versions we read keep these.

  • 3

    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:

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

    line 13
  2. Distinctive:

    Look for candidates for improvement in these categories.

    line 17
  3. Distinctive:

    Information access: look for opportunities to increase the agent's access to information.

    line 26

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

The user has asked for a retrospective. You are suggesting improvements to the coding agent's environment to improve future runs.

Steps

  1. Call the Skill tool with "writing-for-agents" for the writing style guide.
  2. Read the primary sources for the session the user specifies, defaulting to the current one. Your context holds at most the current session's main thread since its last compaction; everything else is on disk. Claude Code keeps sessions under ~/.claude/projects/ (or $CLAUDE_CONFIG_DIR/projects/), with sub-agent transcripts in <stem>/subagents/ beside the session file, where <stem> is that .jsonl file's name. The current session is the newest .jsonl in the project's directory (ls -t): after a resume its name differs from the session ID your environment reports, so take <stem> from the file, never from that ID. Codex keeps them under ~/.codex/sessions/ (or $CODEX_HOME/sessions/). Dispatch one sub-agent to search what your context lacks (the part before any compaction, and every sub-agent transcript) and return only the friction excerpts: errors, denials, retries, corrections, each with its file and line. For Claude Code transcripts, give it this query as a start: it prints every failed tool call (errors, denials, hook blocks) as file:line text: jq -rc 'input_line_number as $n | .message.content? | arrays[] | select(.type=="tool_result" and .is_error==true) | "\(input_filename):\($n) \(.content|tostring|.[0:300])"' <file>.... Count a repeated mistake across all of them before step 4 judges whether it recurs. Done when every source outside your context has been searched, or the session has no compaction and no sub-agents.
  3. Look for candidates for improvement in these categories.
  • Navigation: how easy was it for the agent to find the right files? Are there hidden dependencies between files? Would a context pointer make it easier? Use when the session took a long time to find a piece of information.
  • Automated checks: are there automated checks that could catch errors the agent made? Linting, typing, tests, filesystem linters? Read the repo's own check command first (its package.json/build-tool lint/check scripts, its CI workflow), so a check that already exists but sits unwired or silently broken is the finding, not a reinvention. A repo with no guardrail (no pre-commit hook and no CI job running its lint/typecheck/test command) is itself a finding: an un-linted repo is a standing missed opportunity, not a neutral default. Use when the agent made a mistake an automated check could have caught, or the repo has no guardrail at all.
  • Coding standards: should the reviewer agent be given a new rule to enforce? Should an existing rule be removed or clarified? Classify the violation first: a mechanical one (a fixed syntactic pattern, a banned API, an import shape, a file-location rule) gets a deterministic check, full stop: a custom rule in the repo's own linter, a new pre-commit hook, or a new CI job, whichever the repo's language and existing guardrail make cheapest. Default to building the check over writing the rule. Reserve CODING_STANDARDS.md for genuine judgement calls (cross-file consistency, "matches the surrounding style," anything no guardrail could ever substitute for). Use when the reviewer agent failed to catch a mistake.
  • Global AGENTS.md: are there any steering instructions that should be moved to coding standards (or automated checks) instead? Use when the AGENTS.md file is particularly large, in the repo OR the user's global scope.
  • Tool economy: did the agent make expensive tool calls that could be streamlined? Is there any custom tooling (CLI's, MCP's) that is particularly token-inefficient? Use when the agent made an expensive tool call.
  • Drift: does a steering file the session read name a path, command, or rule the current code no longer supports? Do two steering files contradict each other? A contradiction ranks above plain staleness, because it actively misleads. Check only the steering files the session read; do not sweep the rest. Use when the agent followed a stale pointer or got two conflicting instructions.
  • Duplication and no-ops: look for instructions in steering files that don't modify the agent's behavior. Use the two writing-for-agents terms. Duplication: a named artifact already states the same rule in its own text (a lint rule, a test, a code comment, another steering file); quote that file and line. A file on a related topic is not coverage. No-op: the model already does it by default. Use when the steering files are large and unwieldy.
  • Information access: look for opportunities to increase the agent's access to information. Teeing dev server logs, readonly access to third-party services. Use when a crucial piece of information was not available to the agent.
  1. Filter the candidates. Keep only grounded ones: the candidate names the moment in the session where the friction showed (a call, an error, a correction), when it cites a steering file, the section around the cited line governs the path the session took, and when it changes a file outside the repo, that file is its source (see Outside the repo). Then keep one only if a future agent would plausibly repeat the mistake without the change, and the lesson is not already recoverable from the code, tests, types, comments, or existing docs. How long the session took or how bad it felt does not qualify a candidate. When a candidate touches an existing rule, doc, or check that was wrong or incomplete, amend that artifact instead of adding a new one.
  2. Present the surviving candidates to the user, in order of severity. If none survive, say so and name why each was dropped.

Reference

Implementation vs Review

Remember that all work goes through two stages: implementation and review. The implementation agent has the most context pressure. They are responsible for exploration, writing code, and debugging failures.

The review agent has the least context pressure: it receives a diff, so no exploration needed. It seldom writes code or debugs failures.

This means that the review agent should be responsible for imposing coding standards, not the implementation agent.

Files

You have access to several files in the repo:

  • CLAUDE.md/AGENTS.md: these files are pushed to the context window of any agent working in this repo. They should be used incredibly sparingly, usually only for context pointers to other files.
  • CODING_STANDARDS.md: this file is read during review, not implementation. Add context pointers to docs folders if the standards file gets more than 1,000 lines long.
  • Docs: use docs as references files, pointed to by other files. Look for existing docs before writing new ones.
  • Skills: use skills for docs (since their description goes into the agent's context window), or for user-invoked commands. Follow the advice in the writing-for-agents skill.
  • Outside the repo: user-global steering (~/.claude/CLAUDE.md), hook rules, and installed skills are environment too. For a hook rule, take the tool's name from the hook's block message in the session and ask that tool where its rules live (its usage text, or a subcommand that prints the ruleset). Never search the home directory (~) by content: it holds every session transcript, and a rule's name is often its file name. Before proposing an edit to one, trace its source: resolve symlinks (readlink -f) and read the owning repository's AGENTS.md/CLAUDE.md for how the file is maintained. A regular file can still be synced from a repository: when readlink -f resolves nowhere new, search the AGENTS.md/CLAUDE.md of the repository your global steering resolves into for the file's name before you call the file hand-edited. A file a tool writes (an init or install command, a plugin update) is a copy the next run overwrites: target what generates it, move the change to a file the user edits by hand, or mark the candidate upstream. A skill under ~/.claude/plugins/cache/<marketplace>/<plugin>/<version>/ is a copy the next update overwrites: name its source checkout (look <marketplace> up in ~/.claude/plugins/known_marketplaces.json), or mark the candidate upstream when the user does not maintain it.

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.