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

retro

Skill31 starsChanged 8 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.

128 other projects use a version of this.

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

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 110 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 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

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.