agentleFS
Kit4SomeKit4Some/Oh-my-ClaudeClaw/skills/retro/SKILL.md

retro

Skill4 starsChanged 8 months agoMITView on GitHub

Comprehensive retrospective analyzing git history, memory activity, and work patterns. Persistent history with trend tracking. Before executing this skill: Review returned memories for relevant past context, decisions, and patterns. If conflicting active tasks exist, warn the user before proceeding. If "false": do NOT proactively suggest other OpenClaw-CC skills during this session. Only run skills the user explicitly invokes. Parse argument. Default 7d. Validate format: number + d/h/w, or "compare". Detect default branch: Compute midnight-aligned start date for day/week windows. Run…

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

  • +1 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

17 rules. 0 are common, 16 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 110 edited versions we read keep these.

  • 16

    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:

    Before executing this skill:

    line 26
  2. Distinctive:

    If conflicting active tasks exist, warn the user before proceeding.

    line 39
  3. Very specific:

    If "false": do NOT proactively suggest other OpenClaw-CC skills during this session.

    line 50
  4. Distinctive:

    Only run skills the user explicitly invokes.

    line 51
  5. Distinctive:

    Run ALL commands in parallel:

    line 79
  6. Distinctive:

    Call out peak hours, dead zones, late-night patterns.

    line 153
  7. Distinctive:

    Test vs production files in list

    line 185
  8. Distinctive:

    Search memory for previous retro:

    line 220
  9. Distinctive:

    If found, show trends:

    line 225
  10. Distinctive:

    If first retro: "First retro recorded — run again next week to see trends."

    line 233
  11. Distinctive:

    Read-only operations (search, list, status)

    line 310
  12. Distinctive:

    Every skill must end with one of these status codes:

    line 326
  13. Distinctive:

    3-strike rule: After 3 failed attempts at any step, STOP and escalate to user.

    line 337
  14. Distinctive:

    Do not continue guessing. Present what was tried and ask for direction.

    line 338
  15. Distinctive:

    Scope escalation: If fix/change touches 5+ files unexpectedly, pause and confirm with the user before proceeding.

    line 340
  16. Distinctive:

    Security uncertainty: If you are unsure about a security implication, STOP and escalate.

    line 343
  17. Distinctive:

    Verification requirement: Never claim DONE without evidence.

    line 346

“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
<!-- AUTO-GENERATED from SKILL.md.tmpl — do not edit directly. Run: node scripts/gen-skill-docs.mjs -->

name: retro description: > Engineering retrospective with git + memory data analysis. Triggers on "retro", "회고", "weekly retro", "이번 주 리뷰", "what did we ship", "엔지니어링 회고", "주간 회고", "지난주 리뷰". Analyzes commits, memory activity, work patterns. Persistent history with trend tracking. allowed-tools:

  • Bash
  • Read
  • Write
  • Glob
  • AskUserQuestion

/retro — Engineering Retrospective

Comprehensive retrospective analyzing git history, memory activity, and work patterns. Persistent history with trend tracking.

Preamble

Before executing this skill:

  1. Load context from memory:
    memory_search(query: "{skill-relevant-query}", associative: true, limit: 5)
    memory_search(tag: "{skill-name}", limit: 3)
    Review returned memories for relevant past context, decisions, and patterns.
  2. Check OMC state for active work:
    state_get_status()
    If conflicting active tasks exist, warn the user before proceeding.
  3. Detect current branch (for git-related skills):
    git rev-parse --abbrev-ref HEAD 2>/dev/null || echo "not-a-git-repo"
  4. Check proactive mode:
    state_read("occ-proactive")
    If "false": do NOT proactively suggest other OpenClaw-CC skills during this session. Only run skills the user explicitly invokes.
  5. Log skill activation:
    memory_daily_log(type: "note", entry: "Skill activated: /{skill-name}")

Arguments

  • /retro — default: last 7 days
  • /retro 24h — last 24 hours
  • /retro 14d — last 14 days
  • /retro 30d — last 30 days
  • /retro compare — compare current vs prior same-length window

Parse argument. Default 7d. Validate format: number + d/h/w, or "compare".


Step 1 — Data Collection (parallel)

Detect default branch:

DEFAULT_BRANCH=$(gh repo view --json defaultBranchRef -q .defaultBranchRef.name 2>/dev/null || echo "main")

Compute midnight-aligned start date for day/week windows.

Run ALL commands in parallel:

# 1. Commits with stats
git log origin/$DEFAULT_BRANCH --since="<window>" --format="%H|%aN|%ae|%ai|%s" --shortstat

# 2. Per-commit LOC breakdown
git log origin/$DEFAULT_BRANCH --since="<window>" --format="COMMIT:%H|%aN" --numstat

# 3. Timestamps for session detection
git log origin/$DEFAULT_BRANCH --since="<window>" --format="%at|%aN|%ai|%s" | sort -n

# 4. File hotspots
git log origin/$DEFAULT_BRANCH --since="<window>" --format="" --name-only | grep -v '^$' | sort | uniq -c | sort -rn

# 5. PR numbers
git log origin/$DEFAULT_BRANCH --since="<window>" --format="%s" | grep -oE '#[0-9]+' | sort -n | uniq

# 6. Per-author commit counts
git shortlog origin/$DEFAULT_BRANCH --since="<window>" -sn --no-merges

Additionally, query memory:

memory_search_date(start: "{window_start}", end: "{today}", category: "daily-logs", limit: 50)
memory_search(tag: "done", limit: 20)
memory_search(tag: "decision", limit: 10)
memory_stats()

If task-scheduler available:

task_history()

Step 2 — Metrics Table

MetricValue
Commits to defaultN
ContributorsN
PRs mergedN
Total insertionsN
Total deletionsN
Net LOCN
Test LOC ratioN%
Active daysN
Sessions detectedN
Avg LOC/session-hourN
Memories createdN
Knowledge graph nodesN
Skills usedlist

Per-author leaderboard:

Contributor         Commits   +/-          Top area
You (name)              32   +2400/-300   src/
collaborator            12   +800/-150    tests/

Step 3 — Commit Time Distribution

Hourly histogram (local time):

Hour  Commits  ████████████████
 09:    4      ████
 14:    8      ████████
 22:    5      █████

Call out peak hours, dead zones, late-night patterns.


Step 4 — Work Session Detection

45-minute gap threshold between commits. Classify:

  • Deep sessions (50+ min)
  • Medium sessions (20-50 min)
  • Micro sessions (<20 min)

Calculate total active time, average session length, LOC/hour.


Step 5 — Commit Type Breakdown

Categorize by conventional prefix (feat/fix/refactor/test/chore/docs):

feat:     20  (40%)  ████████████████████
fix:      27  (54%)  ███████████████████████████
refactor:  2  ( 4%)  ██

Flag if fix ratio > 50% — may indicate review gaps.


Step 6 — Hotspot Analysis

Top 10 most-changed files. Flag:

  • Files changed 5+ times (churn hotspots)
  • Test vs production files in list

Step 7 — Memory & Decision Analysis

From memory data:

  • Key decisions made this period (from tag: "decision")
  • Completed tasks (from tag: "done")
  • Memory health: total memories, new this period, archived

Step 8 — Focus Score + Ship of the Week

Focus score: % of commits touching single most-changed directory. Higher = deeper work. Lower = scattered.

Ship of the week: Highest-impact PR/change.


Step 9 — Streak Tracking

# Consecutive days with commits
git log origin/$DEFAULT_BRANCH --format="%ad" --date=format:"%Y-%m-%d" | sort -u

Count backward from today.


Step 10 — Prior Retro Comparison

Search memory for previous retro:

memory_search(tag: "retro", limit: 1)

If found, show trends:

                    Last        Now         Delta
Test ratio:         22%    →    41%         ↑19pp
Sessions:           10     →    14          ↑4
Commits:            32     →    47          ↑47%

If first retro: "First retro recorded — run again next week to see trends."


Step 11 — Save & Report

Save retro to memory:

memory_store(
  category: "daily-logs",
  title: "Retro: {date range}",
  content: "{full retro JSON metrics}",
  tags: ["retro", "weekly-review"],
  importance: 7
)
memory_daily_log(type: "done", entry: "Weekly retro completed: {tweetable summary}")

Step 12 — Narrative Output

Structure:

Tweetable summary (first line):

Week of {date}: {commits} commits, {LOC}k LOC, {test_ratio}% tests, {sessions} sessions | Streak: {N}d

Metrics Table (Step 2)

Time & Session Patterns (Steps 3-4)

Shipping Velocity (Steps 5-6)

Memory & Decisions (Step 7)

Focus & Highlights (Step 8)

Your Week (personal deep-dive with praise + growth areas)

Top 3 Wins

3 Things to Improve (specific, anchored in data)

3 Habits for Next Week (practical, <5 min to adopt)


Notify

Messenger Notification

Send notifications for significant events via messenger:

When to Notify

EventPlatformPriority
Task/pipeline completedtelegramNormal
Verification failedtelegramHigh
Long-running task done (10+ min)telegramNormal
Critical error or blockertelegramHigh
PR created / release shippedallNormal
Importance ≥ 8 memory createdtelegramNormal

Notification Format

messenger_send(
  platform: "telegram",
  message: "[{skill-name}] {status_emoji} {brief description}\n\n{details if relevant}"
)

Status Emojis:

  • Completed successfully: ✅
  • Completed with warnings: ⚠️
  • Failed / blocked: ❌
  • Needs attention: 🔔

Do NOT Notify

  • Routine memory operations
  • Intermediate progress steps
  • Read-only operations (search, list, status)
messenger_send(platform: "telegram", message: "{tweetable summary}\n\nFull retro available in memory.")

Tone

  • Encouraging but candid
  • Specific — always anchor in actual commits/data
  • Skip generic praise — say exactly what was good
  • Frame improvements as leveling up, not criticism
  • ~2000-3500 words total

Completion Status Protocol

Every skill must end with one of these status codes:

CodeMeaningWhen to Use
DONEAll steps completed, evidence providedRoot cause found + fix verified, PR created, review finished
DONE_WITH_CONCERNSCompleted with warnings or caveatsTests pass but coverage dropped, fix applied but can't fully verify
BLOCKEDCannot proceed, requires user intervention3 failed attempts, missing permissions, external dependency down
NEEDS_CONTEXTMissing information to continueUnclear requirements, need user clarification

Escalation Rules

  1. 3-strike rule: After 3 failed attempts at any step, STOP and escalate to user. Do not continue guessing. Present what was tried and ask for direction.
  2. Scope escalation: If fix/change touches 5+ files unexpectedly, pause and confirm with the user before proceeding.
  3. Security uncertainty: If you are unsure about a security implication, STOP and escalate. Never guess on security.
  4. Verification requirement: Never claim DONE without evidence.
    • "Should work" → RUN IT. Confidence is not evidence.
    • "Already tested earlier" → Code changed since. Test again.
    • "Trivial change" → Trivial changes break production.

Output Format

═══════════════════════════════════════
Status: {DONE | DONE_WITH_CONCERNS | BLOCKED | NEEDS_CONTEXT}
Summary: {one-line description of outcome}
Evidence: {test output, verification results, or blocking reason}
═══════════════════════════════════════

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.