lesson-review
Skill0 starsChanged 5 months agoMITView on GitHub
Run the weekly lesson-harvest pass — sweep project repos for lessons, rules, defect write-ups and repo-agnostic checkers that are stranded in one project, filter for the portable ones, mechanise what can run, verify the existing shared rules still hold, and publish to the shared agentic-ai-rules-and-skills repo. Use when the user asks to review/harvest/share lessons, when a week has passed since the last pass, at the end of a project phase or remediation, or when a task produced a defect write-up or a reusable checker worth sharing.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- cheyuriy/codelabgentheir own version, first seen Oct 25, 2026
- dawn840705/claude-code-studiostheir own version, first seen Aug 28, 2026
- dawn840705/codex-code-studiostheir own version, first seen Aug 28, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- dawn840705/codex-code-studios★ 17same name
- cheyuriy/codelabgen★ 1same name
- dawn840705/claude-code-studios★ 1same name
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 repository57 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- ask-mattSkill
- cast-memberSkill
- check-feedbackSkill
- codebase-designSkill
- content-pipeline-initSkill
- content-pipelineSkill
- data-analystSkill
- decision-mappingSkill
- diagnosing-bugsSkill
- domain-modelingSkill
- draft-asset-promptsSkill
- edit-articleSkill
- fableSkill
- game-concept-interviewSkill
- git-guardrails-claude-codeSkill
- global-guidelinesSkill
- grillingSkill
- grill-meSkill
- grill-with-docsSkill
- handoffSkill
- implementSkill
- improve-codebase-architectureSkill
- karpathy-guidelinesSkill
- launch-sessionSkill
- link-claude-skillsSkill
- loop-meSkill
- migrate-to-shoehornSkill
- obsidian-vaultSkill
- opusSkill
- prototypeSkill
- publish-metadataSkill
- resolving-merge-conflictsSkill
- retrieve-lessonsSkill
- reviewSkill
- rotate-sessionSkill
- run-buildSkill
- run-clipsSkill
- scaffold-exercisesSkill
- session-sandboxSkill
- setup-matt-pocock-skillsSkill
- setup-pre-commitSkill
- setup-status-lineSkill
- showrunner-shortSkill
- sonnetSkill
- tddSkill
- teachSkill
- to-issuesSkill
- to-prdSkill
- triageSkill
- verify-outputsSkill
- wrap-allSkill
- wrapSkill
- writing-beatsSkill
- writing-fragmentsSkill
- writing-great-skillsSkill
- writing-shapeSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
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
- Very specific: line 14
Run harvest.py for the mechanical parts, then apply judgement to what it surfaces.
- Very specific: line 58
6. Publish: Commit, push, and append one line to lessons/_review-log.md with the date and what was harvested.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Lesson Review
The weekly pass that keeps the shared rules repo alive. Full policy in that repo's
CADENCE.md; this is how to execute it.
Shared repo: https://github.com/surasakcho/agentic-ai-rules-and-skills
Run harvest.py for the mechanical parts, then apply judgement to what it surfaces. The
script finds candidates and checks health; it deliberately does not decide what is
portable — that is the part that needs a reader.
python -X utf8 harvest.py --projects <dir-holding-your-project-repos> --shared <clone-of-the-shared-repo>Paths are arguments, never hardcoded here: a machine path in a public repo publishes a username and a directory layout. See sanitise-before-sharing.
The pass, in order
1. Harvest. The script lists candidates changed since the last pass: LESSONS.md,
DEFECTS.md, Q-and-A.md, research/*.md, new numbered rules in project CLAUDE.md
files, and scripts that look repo-agnostic (no hardcoded project paths, a CLI, a
__main__). Read them. Most stay where they are.
2. Filter — the hard part, and it is yours. A lesson belongs in the shared repo only if it is true outside the project that produced it:
- Would it hold with different data, a different domain, a different language?
- Does it name a real incident with a cost? Advice without a scar is opinion.
- Is it already covered? Then strengthen the existing rule rather than adding a second one that will drift out of agreement with it.
3. Mechanise what can fail. prose < checklist < test < gate. Before writing a rule as
text, ask whether it can be a check that runs. If it can, it goes to skills/ as code with
a self-test. Roughly half of what gets harvested can be; be honest about the other half
rather than writing a crude proxy and calling it enforcement.
4. Verify what is already shared. harvest.py --check runs the health pass: every skill's
self-test executes, every internal link resolves, and every rule is checked for an incident
reference. A rule later contradicted by experience gets deleted, not hedged — git keeps
the history, and a hedged rule is one nobody can act on.
5. Sanitise before pushing — blocking. --deny the private repo names and collaborator
names so the scan is specific to what must stay out; it already catches absolute paths, emails
and links that escape the repo. Then read for the one thing no scan can judge: whether a
number is a defect count or somebody's unpublished result. Never publish a raw write-up
next to its redacted version. See
sanitise-before-sharing.
6. Publish. Commit, push, and append one line to lessons/_review-log.md with the date
and what was harvested.
Recording an empty pass
A pass that harvests nothing is a valid outcome and must still be logged. Three empty passes in a row is a signal worth reading: either the projects are genuinely quiet, or lessons are not being written down anywhere the sweep can find them — which is a different and more serious problem.
What good looks like
A harvested rule reads like this, not like a style guide:
The conditional that never fires. A colour map was registered under
if "flag" not in colormaps:— butflagis a library builtin, so the branch never ran and 30 figures silently drew inverted. Cost: 30 wrong figures, invisible in code review. Guard: if you writeif X: do_important_thing, prove X is ever true.
Mechanism, incident, cost, guard. If you cannot write the cost, you probably do not have a lesson yet — you have a preference.
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.

