learn
Skill4 starsChanged 5 months agoMITView on GitHub
Use at the end of T3 work, after an incident/rollback, or when the user asks for a retro — turns what happened into recorded learnings that live in the repo (CHANGELOG entry, typed LEARNINGS.md entries, follow-up tasks, and — only with explicit user approval — new RULES).
133 other projects use a version of this.
Adopted by
Most recently taken up by
- garrytan/gstacktheir own version, first seen Oct 7, 2026
- wardawgmalvicious/agent-configtheir own version, first seen Oct 7, 2026
- prathish-ks/isthmustheir own version, first seen Oct 6, 2026
- Boxline-dev/examplestheir own version, first seen Oct 5, 2026
- morodomi/dev-crewtheir own version, first seen Oct 5, 2026
- ContextLab/claude-skill-compoundertheir own version, first seen Oct 4, 2026
Used with
Projects with it also use open-gstack-browser, design-html 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.
seek888Skillopen-gstack-browser
Launch GStack Browser — AI-controlled Chromium with the sidebar extension baked in. Opens a visible browser window where you can watch every action in real time. The sidebar shows a live activity feed and chat. Anti-bot stealth built in. Use when asked to "open gstack browser", "launch browser", "connect chrome", "open chrome", "real browser", "launch chrome", "side panel", or "control my browser". Voice triggers (speech-to-text aliases): "show me the browser".
Also in 6 projects that use this
seek888Skilldesign-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 7 projects that use this
chloropineSkillsetup-gbrain
Set up gbrain for this coding agent: install the CLI, initialize a local PGLite or Supabase brain, register MCP, capture per-remote trust policy. One command from zero to "gbrain is running, and this agent can call it." Use when: "setup gbrain", "connect gbrain", "start gbrain", "install gbrain", "configure gbrain for this machine". (cgstack)
Also in 4 projects that use this
TomGranotSkilladd-anydoc
Add local office-document-to-Markdown conversion to NanoClaw agent containers with the pinned Firecrawl AnyDoc CLI. Use when agents need to read attached Word, PowerPoint, Excel, OpenDocument, RTF, EPUB, CSV, or text-based PDF files without uploading them to a hosted parser.
Also in 3 projects that use this
TomGranotSkilladd-clidash
Add clidash — a zero-dependency, read-only web dashboard that derives its tabs and tables at runtime from any CLI that lists resources as JSON. Ships pre-wired for NanoClaw's ncl CLI (agent groups, sessions, channels, users, roles), plus message-activity charts, a log tail, and a read-only file viewer for group skills/CLAUDE.md/profiles.
Also in 3 projects that use this
chloropineSkillplan-tune
Self-tuning question sensitivity + developer psychographic for cgstack (v1: observational). Review which AskUserQuestion prompts fire across cgstack 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 4 projects that use this
- +1 more from seek888
- +5 more from TomGranot
Other versions133 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 133
- garrytan/gstack★ 143ksame name
- rohitg00/ai-engineering-from-scratch★ 64ksame name
- nanocoai/nanoclaw★ 31ksame name
- tigerless-labs/autoharness★ 7.8ksame name
- tw93/Waza★ 7.1ksame name
- HughYau/AcademicForge★ 2.6ksame name
- pedrohcgs/claude-code-my-workflow★ 1.6ksame name
- nagisanzenin/engram★ 1.4ksame name
- fancyboi999/ai-engineering-from-scratch-zh★ 1.2ksame name
- nykooi1/vibe-wise★ 1.1ksame name
123 more not listed
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 repository15 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- architectureSkill
- briefSkill
- browser-qaSkill
- debugSkill
- delegateSkill
- designSkill
- grill-meSkill
- planSkill
- securitySkill
- setupSkill
- shipSkill
- tddSkill
- verify-doneSkill
- workflowSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 4 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 114 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 36
If the window returns zero or suspiciously few commits, stop and ask the user to confirm the date range or the branch — do not fabricate a …
- Very specific: line 39
If the retro is about a specific incident, locate the exact commits involved (git log --follow <file>, git show <hash>) and quote them.
- Very specific: line 68
Before writing new entries, read the existing .handoff/context/LEARNINGS.md and recent CHANGELOG.md.
- Very specific: line 76
All durable output goes into the repo's .handoff/ tree so it travels with the code:
- Distinctive: line 94
Create the file on first use.
- Distinctive: line 125
Conflicts: if a new learning contradicts an old one, do not add a second line — resolve it.
- Distinctive: line 130
Keep the file skimmable: one line each, prune ruthlessly.
“Common” is measured: kept by at least 6 in 10 of the 114 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.
Files
Learn
Part of the Learn phase — see the workflow skill for tiers and sequencing.
Work that ends without a recorded lesson gets re-learned the hard way. This skill closes the loop: reconstruct what actually happened (from git, not memory), find the cause, record what it taught us, and hand the user — a PM building development judgment — one thing they can carry forward.
Tier scaling — most work does NOT get a retro
| Situation | What Learn means |
| T1 / T2 | One CHANGELOG.md line + a STATUS.md update. Done. Do not run a retro; that would be ceremony the tier doesn't warrant. Only add a LEARNINGS.md entry if something genuinely surprising surfaced. |
| T3 completed | Full retro (below), even when it went well — lessons from success calibrate what to repeat. |
| Incident / rollback / user asks for a retro | Full retro, regardless of tier. |
The retro method
0. Anti-hallucination guard — verify before analyzing
The retro is built from git history, never from what you remember doing. Before analyzing anything:
git log --since="<window>" --format="%h|%ai|%s" --stat- Confirm the commits you're about to discuss actually exist in that output. Never analyze a commit you cannot see the hash of.
- If the window returns zero or suspiciously few commits, stop and ask the user to confirm the date range or the branch — do not fabricate a coherent-sounding narrative from nothing.
- If the retro is about a specific incident, locate the exact commits
involved (
git log --follow <file>,git show <hash>) and quote them.
1. Blameless framing
Analyze systems, not people. Assume every decision was reasonable given what was known at the time; ask "why was that decision reasonable?" not "who messed up?" — the fix that matters is the one that makes the next attempt succeed. Blameless does not mean toothless: action items still get owners and dates, and hard truths still get said.
2. Timeline → root cause → contributing factors → action items
- Timeline — reconstruct from commit timestamps, messages, and the session's own record. What happened, in order, with evidence for each step.
- Root cause — five whys until you hit a system-level answer (a "why" that ends at a person is not deep enough; keep going to the process or check that was missing).
- Contributing factors — what didn't cause it but made it worse or
removed a safety net: missing test, skipped
verify-doneevidence, a bug patched withoutdebugroot-causing, docs that lied. - What went well — 1–2 specific things, anchored in actual commits ("the feature flag meant the rollback was one line"), plus one specific growth opportunity framed as leveling-up, not criticism.
- Action items — specific, sized, closeable. "Improve testing" is not
an action item; "add a webhook-ordering test to
src/billing/" is.
3. Trend awareness
Before writing new entries, read the existing .handoff/context/LEARNINGS.md
and recent CHANGELOG.md. If this retro's pitfall already has an entry, that
is the finding: a repeat — raise its confidence, say so out loud, and
propose a stronger fix (often a RULES.md candidate) instead of logging a
duplicate.
Where outputs land
All durable output goes into the repo's .handoff/ tree so it travels
with the code:
| Output | Destination |
| What shipped / what broke, one dated line | .handoff/CHANGELOG.md |
| Typed learnings (schema below) | .handoff/context/LEARNINGS.md |
| A new invariant ("never X", "always Y") | .handoff/RULES.md — only after proposing it and the user explicitly accepts. Never write RULES unilaterally. |
| Action items that outlive this session | .handoff/tasks/inbox/ (one file per follow-up) |
| Current state change | .handoff/STATUS.md |
A full retro writeup can be shown in chat; the durable residue is the files above. No JSON snapshots, no home-directory state — if it isn't committed, it didn't happen.
LEARNINGS.md entry format
One line per learning, newest first, under a single # Learnings heading.
Create the file on first use.
- YYYY-MM-DD [type/confidence] insight — files-or-area (source)- type —
pattern(reusable approach that worked),pitfall(what not to do and why),preference(something the user stated they want). - confidence —
low/med/high. Be honest: verified in code = high; single observation = med; inference = low. User-stated preferences are always high. - source — provenance: the commit hash, retro, or session that taught it. This is what makes an entry checkable later.
Rejected design/refactor options (from architecture) are recorded as type
pitfall ("rejected: X because Y") — or as an ADR when the three ADR
criteria hold.
Examples:
- 2026-07-01 [pitfall/high] Stripe webhooks arrive out of order; never derive state transitions from event sequence — src/billing/webhooks.ts (rollback retro, commit 4f2a9c1)
- 2026-06-21 [pattern/med] Default-off feature flag + smoke check made the search rollout a one-line revert; reuse for risky UI work — src/flags.ts (T3 retro, commit b81d2e0)
- 2026-06-14 [preference/high] User wants preview URLs, not screenshots, as ship evidence (user-stated, session 2026-06-14)Maintenance — every time you touch the file
- Staleness: for entries whose files you can check cheaply, verify the referenced file/code still exists. If it's gone, delete the entry or rewrite it against what replaced it.
- Conflicts: if a new learning contradicts an old one, do not add a second line — resolve it. Rewrite the old entry with today's date, the new insight, and adjusted confidence, noting the reversal if it's instructive.
- Promotion: an entry that keeps proving true is a RULES.md candidate — propose it to the user.
- Keep the file skimmable: one line each, prune ruthlessly. Fifty sharp entries beat five hundred stale ones.
Teach the PM one thing
End every retro by answering, in plain product language, one question:
"What would have prevented this?" (or, for a success: "what made this go smoothly, that we should do on purpose next time?")
One takeaway, two or three sentences, no jargon — the kind of judgment a PM can apply to the next brief ("migrations are T3 even when they look small"; "ask for the rollback plan before approving anything touching billing"). That sentence is the actual product of this skill; the files are its memory.
Adapted from gstack (MIT, © Garry Tan) and rampstack-skills (MIT, © 2026 RampStack Co.); see ATTRIBUTION.md.
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
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.

