agentleFS
cgalliccgallic/blackbox/skills/retro/SKILL.md

retro

Skill2 starsChanged 8 months agoMITView on GitHub

Weekly development retrospective. Mines session compliance data for repeating failure patterns, proposes CLAUDE.md rule updates, and auto-manages a strict rules section. Rules are max 1 line, directive, max 10 active (5 Critical + 5 Important). Use when user says "retro", "weekly retro", "retro-dev", "analyze sessions", "what mistakes do I keep making", or "update rules".

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

We split this skill into the rules it gives an agent

7 rules. 0 are common, 6 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 110 edited versions we read keep these.

  • 6

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

    If no data exists, tell the user and stop.

    line 21
  2. Distinctive:

    recency: when was the last occurrence?

    line 28
  3. Distinctive:

    No explanations, no examples

    line 44
  4. Distinctive:

    When over the limit, archive the lowest-frequency rule.

    line 69
  5. Very specific:

    Write demoted/Watch rules to .claude/sessions/archived-rules.jsonl:

    line 73
  6. Distinctive:

    Never delete session data -- archive only

    line 93
  7. Distinctive:

    If same rule appears and mistake still happens, it needs a hook not a rule

    line 97

“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

Development Retrospective

Mine compliance data, find repeating patterns, update CLAUDE.md rules.

Process

1. Load Data

Read .claude/sessions/compliance.jsonl. Aggregate:

  • All edit_compliance events (group violations by file/pattern)
  • All commit_compliance events
  • All safety_trigger events
  • All session_summary events (score trends)
  • All override_granted events

If no data exists, tell the user and stop.

2. Find Patterns

Group violations by type. For each type, count:

  • frequency: total occurrences across all sessions
  • severity: did it cause a block? was it overridden?
  • recency: when was the last occurrence?

Deduplicate similar corrections before proposing rules.

3. Propose Rules

For patterns with 2+ occurrences, propose rules.

Rule format (strict):

- Never/Always [directive]. (Nx)

Rules must be:

  • Max 1 line
  • Directive (imperative verb)
  • No explanations, no examples
  • Include hit count in parentheses

4. Update CLAUDE.md

Find or create the ## Rules (auto-updated by /retro) section.

## Rules (auto-updated by /retro)
### Critical
- Never edit a file without reading it first. (12x)
- Never commit without running tests. (5x)

### Important
- Prefer direct implementation when user says "just do X". (7x)
- Always check exit codes after running commands. (3x)

Max 10 active rules in CLAUDE.md (5 Critical + 5 Important).

Tier rules:

  • Critical: caused a block/revert OR 6+ occurrences
  • Important: 3+ occurrences OR promoted from Watch
  • Watch: 2 occurrences — DO NOT add to CLAUDE.md, archive only

When over the limit, archive the lowest-frequency rule.

5. Archive

Write demoted/Watch rules to .claude/sessions/archived-rules.jsonl:

{"rule": "...", "hits": 2, "tier": "watch", "last_seen": "...", "archived_at": "..."}

6. Report

Development Retrospective -- YYYY-MM-DD
Sessions analyzed: N | Score trend: improving/declining/stable
Avg score: X.X

Rules Updated:
+ Added: "Never X" [Critical] (Nx)
^ Promoted: "Always Y" Important -> Critical (Nx)
- Archived: "Check Z" (not triggered in 30 days)

Rules

  • Never delete session data -- archive only
  • Show proposed changes before writing to CLAUDE.md
  • Rules must be actionable and specific
  • Deduplicate before proposing (merge "check tests" and "run tests" into one)
  • If same rule appears and mistake still happens, it needs a hook not a rule

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.