agentleFS
JeremyDev87JeremyDev87/codingbuddy/.claude/skills/retro/SKILL.md

retro

Skill31 starsChanged 7 months agoMITView on GitHub

Use after completing parallel/batch work, multi-step plan execution, or any session where surprises occurred (good or bad) and learnings should be captured before context fades.

193 other projects use a version of this.

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

Show its rules and text

We split this skill into the rules it gives an agent

20 rules. 0 are common, 18 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 171 edited versions we read keep these.

  • 18

    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:

    Follow every step in order.

    line 17
  2. Distinctive:

    Learnings decay: If a retrospective doesn't happen immediately after the work, the insights are lost.

    line 21
  3. Distinctive:

    After completing parallel/batch work (taskmaestro waves, swarm, ultrawork)

    line 32
  4. Distinctive:

    After a multi-step plan execution (PLAN → ACT → EVAL cycle)

    line 33
  5. Distinctive:

    After a significant debugging session

    line 34
  6. Distinctive:

    After any session where something surprising happened (good or bad)

    line 35
  7. Distinctive:

    When the user explicitly asks to reflect on recent work

    line 36
  8. Distinctive:

    No context.md or session history exists to analyze

    line 40
  9. Very specific:

    Read the session history from docs/codingbuddy/context.md:

    line 44
  10. Distinctive:

    If the file does not exist or is empty, check for alternative sources:

    line 50
  11. Distinctive:

    If no context is found, stop and tell the user: "No session history found.

    line 54
  12. Distinctive:

    Check if a similar feedback memory already exists:

    line 178
  13. Distinctive:

    If exists → update the existing file

    line 184
  14. Distinctive:

    If new → create the memory file and update MEMORY.md index

    line 185
  15. Distinctive:

    Use the project's established memory format (frontmatter + content)

    line 189
  16. Distinctive:

    Ask the user: "Create GitHub issues for [N] automation items?

    line 196
  17. Distinctive:

    If yes, for each item create an issue:

    line 197
  18. Distinctive:

    If the user declines, print the issue drafts so they can create them later.

    line 211
  19. Distinctive:

    Never create issues without user confirmation

    line 214
  20. Very specific:

    Add label feat for new automations, improvement for enhancements

    line 215

“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

Structured Retrospective

Analyze what happened in the current session, extract learnings, and turn them into durable improvements — rules, feedback memories, or GitHub issues.

Follow every step in order. Stop and report if any step fails.

Core Principle

Learnings decay. If a retrospective doesn't happen immediately after the work, the insights are lost. Capture them while context is fresh, classify them by type, and route them to the right destination so they compound over time.

The Iron Law

NO RETRO WITHOUT EVIDENCE.
Every Keep, Problem, and Action must cite a specific event from the session — not a general feeling.

When to Use

  • After completing parallel/batch work (taskmaestro waves, swarm, ultrawork)
  • After a multi-step plan execution (PLAN → ACT → EVAL cycle)
  • After a significant debugging session
  • After any session where something surprising happened (good or bad)
  • When the user explicitly asks to reflect on recent work

Don't use when:

  • The session was trivial (single file edit, quick fix)
  • No context.md or session history exists to analyze

Step 1: Gather Session Context

Read the session history from docs/codingbuddy/context.md:

cat docs/codingbuddy/context.md

If the file does not exist or is empty, check for alternative sources:

  1. $ARGUMENTS — the user may pass a file path or description
  2. Git log for recent commits on the current branch: git log --oneline -20
  3. If no context is found, stop and tell the user: "No session history found. Run a PLAN → ACT cycle first, or pass a context file as argument."

Collect:

  • Tasks attempted — what was planned
  • Tasks completed — what actually shipped
  • Tasks failed or blocked — what didn't work and why
  • Timeline — rough sequence of events

Step 2: Keep Analysis

Identify what went well. For each item:

FieldDescription
WhatThe specific thing that worked
EvidenceWhere in the session this happened (commit, step, decision)
Why it workedRoot cause of success — not luck, but a reproducible reason

Ask:

  • What practices should we repeat?
  • What decisions saved time or prevented issues?
  • What tools or patterns proved valuable?

Output as a numbered list:

### Keeps
1. **[What]** — [Evidence]. [Why it worked].
2. ...

Step 3: Problem + Root-Cause Analysis

Identify what went wrong or could be improved. For each item:

FieldDescription
WhatThe specific problem or friction
EvidenceWhere in the session this happened
ImpactTime lost, quality degraded, or risk introduced
Root CauseApply 5-Whys — dig past the symptom

Severity classification:

SeverityDefinition
CriticalCaused data loss, broken deploy, or security issue
HighWasted > 30 minutes or required full rework
MediumCaused friction but was resolved within the session
LowMinor annoyance, cosmetic, or hypothetical risk

Output as a numbered list:

### Problems
1. **[Severity]** [What] — [Evidence]. Root cause: [5-Whys result].
2. ...

Step 4: Classify Learnings

For every Keep and Problem, classify the learning into exactly one category:

CategoryDestinationWhen to use
rule.ai-rules/ or CLAUDE.mdThe learning is a universal principle that should apply to all future sessions
memoryFeedback memory fileThe learning is specific to this user, project, or workflow preference
automationNew skill or GitHub issueThe learning can be automated — a script, hook, or skill can prevent/enforce it
noneNo action neededAlready known, already automated, or too situational to generalize

Output as a table:

### Classification

| # | Learning | Category | Destination | Action |
|---|----------|----------|-------------|--------|
| 1 | [summary] | rule | CLAUDE.md | Add rule: "..." |
| 2 | [summary] | memory | feedback_xxx.md | Save feedback: "..." |
| 3 | [summary] | automation | GitHub issue | Create issue: "..." |
| 4 | [summary] | none | — | — |

Step 5: Generate Action Items

For each learning classified as rule, memory, or automation, create a concrete action item:

For rule items:

  • Draft the exact rule text
  • Identify the target file (CLAUDE.md, .ai-rules/rules/core.md, etc.)
  • Format: Add to [file]: "[rule text]"

For memory items:

  • Draft the feedback memory content following the project's memory format:
    ---
    name: feedback_[topic]
    description: [one-line description]
    type: feedback
    ---
    
    [Rule itself]
    
    **Why:** [reason from the session]
    **How to apply:** [when this guidance kicks in]

For automation items:

  • Draft a GitHub issue body compatible with /plan-to-issues:
    ## Purpose
    [What this automation prevents or enables]
    
    ## Changes
    - [file or component to create/modify]
    
    ## Acceptance Criteria
    - [ ] [verifiable criterion]

Step 6: Save Feedback Memories

For each memory classified item from Step 4:

  1. Check if a similar feedback memory already exists:
    ls ~/.claude/projects/*/memory/feedback_*.md 2>/dev/null
    grep -rl "[keyword]" ~/.claude/projects/*/memory/ 2>/dev/null
  2. If exists → update the existing file
  3. If new → create the memory file and update MEMORY.md index

Rules:

  • One memory per learning — don't bundle unrelated learnings
  • Use the project's established memory format (frontmatter + content)
  • Memory name must be descriptive: feedback_[topic].md

Step 7: Create GitHub Issues (Optional)

For each automation classified item from Step 4:

  1. Ask the user: "Create GitHub issues for [N] automation items? (y/n)"
  2. If yes, for each item create an issue:
    gh issue create --title "feat: [title]" --body "$(cat <<'EOF'
    ## Purpose
    [from Step 5]
    
    ## Changes
    [from Step 5]
    
    ## Acceptance Criteria
    [from Step 5]
    EOF
    )"
  3. If the user declines, print the issue drafts so they can create them later.

Rules:

  • Never create issues without user confirmation
  • Add label feat for new automations, improvement for enhancements
  • Link back to the session context if relevant

Step 8: Report

Print a summary of the retrospective:

## Retro Summary

### Session
- **Branch**: [current branch]
- **Commits**: [N commits in session]
- **Context file**: docs/codingbuddy/context.md

### Results
- **Keeps**: [N] identified
- **Problems**: [N] identified ([critical], [high], [medium], [low])
- **Actions**: [N] total
  - Rules added/updated: [N]
  - Feedback memories saved: [N]
  - GitHub issues created: [N]
  - No action needed: [N]

### Action Items
1. [action summary] → [destination] ✅ Done / 📋 Draft
2. ...

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.