roam-lesson-maintenance
Skill517 starsChanged 2 months agoApache-2.0View on GitHub
Turn a reproduced or recurring Roam failure into a durable correction, regression control or narrowly scoped project skill, and reconcile conflicting lessons. Use when asked to preserve and apply lessons, not for routine note-taking, an unconfirmed allegation or every successful edit.
In this repository16 other files it gives its agents.
- AGENTS.mdAGENTS.md
- roam-agent-guidanceSkill
- roam-evidence-hardeningSkill
- roam-measurement-designSkill
- roam-milestone-planningSkill
- roam-product-writingSkill
- roam-release-readinessSkill
- prompt-optimizerSkill
- roam-agent-guidanceSkill
- roam-evidence-hardeningSkill
- roam-lesson-maintenanceSkill
- roam-measurement-designSkill
- roam-milestone-planningSkill
- roam-product-writingSkill
- roam-release-readinessSkill
- roamSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
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
- Distinctive: line 13
Read the relevant incident/source and current implementation or guidance.
- Distinctive: line 17
Verify the current path before reopening an old fix queue.
- Distinctive: line 30
Use the smallest carrier that changes the failure:
- Distinctive: line 58
Do not use wording/heading matches or a structural validator as proof of judgment quality.
- Distinctive: line 68
If a revision causes an overbroad refusal, unnecessary reading, new unsupported claim or loss of a valid case, narrow or remove it.
- Very specific: line 75
Keep skill instructions self-contained where possible and route only to relevant maintained sources.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
Roam lesson maintenance
Reduce recurrence at the boundary that caused the mistake. More instructions are not automatically better protection, and a skill is not runtime enforcement.
Establish what actually happened
Read the relevant incident/source and current implementation or guidance. Separate observed failure, suspected cause, historical repair and unverified reach. Name the input/source state, producer, consumer, wrong conclusion or action, and the consequence. A repeated symptom can have different causes. Verify the current path before reopening an old fix queue.
Find a nearby valid case: a useful empty result, appropriate refusal, narrow reference, harmless display truncation or correct unchanged behavior. State what a correction must preserve. A completed applicable scan with a stated nonzero checked population may legitimately find nothing. Zero scanned units or missing source cannot establish that a target is clean; report the actual state/applicability. An initialized empty store can still be a valid empty store, not an analysis of unscanned code. Do not convert all partial results into refusal.
Put the protection in the right owner
Use the smallest carrier that changes the failure:
- Runtime semantics or evidence delivery: implementation and a defect-specific regression with valid controls and the actual serialized consumer.
- Duplicated implementation or registry/reference drift: shared owner, helper/generator and contract checks.
- Stable product/evidence meaning: the maintained public understanding or concept document, with affected public consumers corrected as authorized.
- Recurring agent judgment/routing: amend the relevant narrow skill; add one only for a distinct reusable job the existing skills do not cover.
- Session state, approval or deployed identity: the private execution cursor and dated evidence, not a skill carrying a stale release status.
- Unconfirmed opportunity: an existing intake/card with a discriminating test.
Inspect the relevant existing skill before declaring a guidance gap. If the rule already covers the mistake, determine whether application, discoverability, a source owner or verification failed. A concrete counterexample or application check can help; duplicating the rule across five skills usually does not. Preserve useful language and bounded claims instead of banning phrases globally.
Guidance work does not by itself authorize runtime repairs or publication. If a code fix is outside the current request, record the specific required repair and continue the authorized lesson work without claiming the defect resolved.
Evaluate transfer, not obedience to a template
Apply the candidate to the triggering task, the valid counterexample and a different relevant context. Observe the decision or artifact that changed. Do not use wording/heading matches or a structural validator as proof of judgment quality. No-change, narrower guidance and rejecting a new skill can be successful outcomes.
For a runtime correction, preserve failure-before/repair-after evidence at the real boundary where feasible. For guidance, distinguish author application from independent use and comparative efficacy. An evaluator given the suspected fix is not a cold reader; a case used to tune a revision is development evidence, not untouched confirmation. Independent delegation needs applicable authority.
If a revision causes an overbroad refusal, unnecessary reading, new unsupported claim or loss of a valid case, narrow or remove it. Keep only the non-obvious guidance that survives the actual task. Do not construct a new lesson-mining, benchmark or automatic-promotion system to maintain a small skill.
Leave a maintainable result
Keep skill instructions self-contained where possible and route only to
relevant maintained sources. Use the available skill-creation instructions for
installation and validation. Put incident/evaluation records under internal/;
skills should carry reusable decisions, not private case payloads, transcripts,
temporary statuses or invented empirical guarantees.
Record the carrier, changed decision, retained counterexample, evaluation limits and what mechanism/source change would invalidate the lesson. Update the existing execution cursor, not a second backlog. Retire guidance when its cause is removed or a narrower mechanism owns it. "Known error eliminated" needs observed scope; a new instruction alone cannot support that claim.
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.

