agentleFS
intent-hqintent-hq/intent/.agents/skills/repo-retrospective/SKILL.md

repo-retrospective

Skill477 starsChanged 45 days agoApache-2.0View on GitHub

Reflect on a completed workspace, identify evidence-backed repository friction, and turn accepted findings into deduplicated, enforceable follow-up work.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. mizchi/skills★ 425same name

    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.

  • In this repositoryOne other file it gives its agents.

The file

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 9 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    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. Distinctive:

    Run this retrospective after the work has merged or shipped and before writing the final workspace status message.

    line 17
  2. Distinctive:

    Use actual workspace evidence.

    line 28
  3. Distinctive:

    Catch it mechanically before merge: add a focused lint, CI check, or test.

    line 47
  4. Distinctive:

    Add a prose rule: use AGENTS.md only as a last resort and cite the incident.

    line 50
  5. Distinctive:

    Write for the person deciding whether to approve the work.

    line 58
  6. Distinctive:

    Start the task with two short paragraphs: the observed problem and why it matters, then the proposed change and what it will improve.

    line 63
  7. Distinctive:

    Put essential technical facts at the end, one fact per bullet.

    line 72
  8. Distinctive:

    Use this shape once per finding.

    line 75
  9. Very specific:

    Before accepting a finding, deduplicate it with four checks: sibling workspaces (ws.crossWorkspace.listSiblings), open intent-hq/intent …

    line 106
  10. Distinctive:

    If merged work already covers the finding, narrow it to the remaining gap or drop it.

    line 112

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “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

Repository Retrospective

When to run

Run this retrospective after the work has merged or shipped and before writing the final workspace status message. Also run it whenever a user explicitly requests a repository or workspace retrospective.

The reflection prompt

Think hard about what would have made this workspace easier to research, implement, and test. Treat the repository as one coherent system: a tower of linked abstractions (protocol docs → goldens → services → transport → FE). Ask what would have let you understand the situation accurately and control it with the least resource expenditure.

Use actual workspace evidence. Review each phase separately:

  • Research: What did you have to discover that a routing table, focused document, or invariant ledger should have told you? Where did linked abstractions disagree?
  • Implement: What convention did you learn only after correction, review feedback, or a failed attempt? What safer path should have been the obvious path?
  • Verify: What broke that an automated check should have caught? Which gate was slow, flaky, overly broad, or missing, and what evidence demonstrates that cost?
  • Ship: Which release, merge, queue, pin, or status step was ambiguous? What would have made the handoff and shipped-version check deterministic?

Discard observations without a concrete incident, cost, and actionable repository change. Combine observations that share one root cause into one finding.

Enforcement ladder

Each finding must target the strongest feasible rung:

  1. Make the mistake impossible: encode it in types, goldens, or a protocol contract.
  2. Catch it mechanically before merge: add a focused lint, CI check, or test.
  3. Make the right path discoverable: improve a routing table, Makefile target, or script that guides agents to the supported path.
  4. Add a prose rule: use AGENTS.md only as a last resort and cite the incident.

Name the proposed rung for every finding. Explain why each stronger rung is infeasible; for rung 1, state that it is already the strongest rung. Prefer upgrading or replacing an existing weaker rule over adding another instruction agents must remember.

Output template

Write for the person deciding whether to approve the work. Assume they have not read the conversation and do not know the implementation. Use a short title that describes the improvement, such as "Keep database upgrade tests reliable" instead of "Stabilize historical migration fixtures".

Start the task with two short paragraphs: the observed problem and why it matters, then the proposed change and what it will improve. Use everyday words before technical terms. For example, say "tests for upgrades from older databases" before "migration fixtures". The first few sentences must explain the value without paths, hashes, commands, or internal labels such as "Finding" and "Proposed rung".

The task appears in a plain text box. Use short paragraphs, simple labels, and a few bullets. Avoid Markdown heading markers and code fences. Aim for about 150 words; add only the detail needed for the new agent to work without the original transcript. Put essential technical facts at the end, one fact per bullet. Link to longer evidence instead of copying an investigation into the card.

Use this shape once per finding. Replace every placeholder:

<What is going wrong and its practical cost, in plain English.>

<What to improve, why it helps, and why it belongs in a separate workspace.>

What to do:
- <Concrete step in plain English.>
- <Concrete step in plain English.>

Implementation notes:
- <Essential code locations and linked evidence for the observed problem.>
- <Chosen enforcement rung and why stronger rungs are infeasible.>
- <Check to run and the expected result.>
- <Sibling workspaces, open issues, merged PRs, and recent commits checked, with results.>

For example, the opening for the database finding can be:

Tests for upgrades from older databases currently break when unrelated features add
new fields. This creates extra repair work before we can check whether upgrades work.

Give these tests a way to create an old database directly. They can then check the
upgrade itself and keep working as the app changes. This is separate test cleanup
that will make future database changes easier to check.

Where it goes

Before accepting a finding, deduplicate it with four checks: sibling workspaces (ws.crossWorkspace.listSiblings), open intent-hq/intent issues, recently merged PRs (gh pr list --repo <owner/repo> --state merged --search "<keywords>" on intent-hq/intent, plus intent-hq/intentd or intent-hq/cloudlands-fe when the finding names their files), and recent commits to the named files (git log --since=<incident date> -- <files> in the repo or submodule that owns them). If merged work already covers the finding, narrow it to the remaining gap or drop it. Record all four checks in the template, including related work that narrows or supersedes the proposal.

For each accepted, non-duplicate finding, a foreground top-level agent proposes one follow-up workspace with ws.workspace.proposeSibling({ title, initialPrompt }). Use a short outcome-oriented title and the readable task above as the self-contained initialPrompt. Keep the plain English reason in the opening of that task. The user must approve the proposal; do not claim the workspace exists.

Delegated or background agents must instead send the completed finding to their parent with ws.agent.reportToParent; the parent decides whether to propose it. Outside Intent, file an issue labeled agent-workflow and agent-filed instead. Never edit AGENTS.md inside the feature PR to land a retrospective finding.

Anti-patterns

  • Adding prose without a cited incident or without evaluating stronger rungs.
  • Adding a rule that duplicates an existing lint, CI check, test, or type constraint.
  • Putting coordinator-internal sequencing terminology into committed documentation.
  • Quoting the literal breaking-change footer token while merely discussing its hazard.
  • Bundling retrospective cleanup into the feature PR instead of proposing follow-up work.

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.