change-recap
Skill0 starsChanged 3 months agoMITView on GitHub
After a piece of work, explicitly review and extract knowledge worth sedimenting (recurring pitfalls / reusable patterns / decisions affecting future work) into project docs. Explicit trigger only, never auto-runs. Use when the user says 'sediment the pitfalls from this', 'lock this experience into docs', 'what's worth recording from this work'.
In this repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skill-recapSkill
- comm-link-debuggingSkill
- deep-comparison-analysisSkill
- industry-practice-surveySkill
- tech-selection-convergenceSkill
- dev-recap-docsSkill
- guide-and-manualSkill
- readme-syncSkill
- code-reviewSkill
- error-handlingSkill
- legacy-code-dispositionSkill
- phase-trackingSkill
- repo-hygieneSkill
- workspace-consistencySkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
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 14
After a piece of work wraps up (feature complete / error handling / milestone archive / a refactor), explicitly invoke this skill to review …
- Very specific: line 50
If a candidate was already sedimented by error-handling stage 4/5 in this session (code-review item / test), mark "already sedimented by …
≈ “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
Change Recap — Work retrospective → Knowledge sedimentation
When to use
After a piece of work wraps up (feature complete / error handling / milestone archive / a refactor), explicitly invoke this skill to review and extract knowledge worth sedimenting, then persist it to project docs for reuse by future development and review.
When NOT to use
- During in-flight work — this is an end-of-work retrospective, not a mid-task logger.
- For project progress / phase state changes — use
phase-tracking. - For bug prevention specifics that
error-handlingstage 4/5 already covered — see step 4 below.
Core principles (reasoned, not absolute)
- Each sedimentation item must be confirmed one by one — list candidates (content + location + value); write only after the user explicitly agrees. Do not default to "approve all" — every item needs a yes. Reason: silent batch writes are how scope creep and unwanted edits slip in.
- Explicit trigger only — this skill does not auto-run, and is not embedded into other flows to fire automatically. Reason: sedimentation requires reflective judgment, which auto-triggers short-circuit.
- Skip items already covered by
error-handling— if the candidate comes from a just-finishederror-handlingsession (stage 4/5 already sedimented code review / tests), mark and skip. Reason: avoid duplicate proposals for the same knowledge. - Dedup by semantic comparison (not keyword grep) — judge whether the candidate is already covered by some existing sedimented item, even if worded differently.
- Granularity rule — only extract items meeting at least one of: "a pitfall that will recur", "a pattern that will be reused", "a decision affecting future work". One-off details and items already in existing docs are not extracted.
- Mapping is a reference, not a mechanical rule — the category-to-location mapping gives "default destinations", but each candidate's placement should consider the actual situation (pitfall substance + section semantics). When in doubt, discuss with the user — do not apply the mapping blindly.
Process
1. Define the retrospective scope
Confirm with the user which stretch to review: this change / this error-handling session / this conversation / a specified range.
2. Extract candidates (four categories)
- Build / environment config pitfalls (build-toolchain versions, dependency conflicts, build parameters, environment variables, CI config).
- Code traps / API misuse (framework / library specific gotchas, concurrency / timing traps, lifecycle misuse, error-handling mistakes).
- Architecture / process decisions (chose A over B + reason; module boundary setting; conventions established).
- Temporary by-products (debug entry points / placeholders / TODOs — annotate as temporary + deletion condition).
3. Dedup (semantic comparison)
For each candidate, compare against existing sediments (any project knowledge base — progress-tracking doc, decision doc, review checklist, CLAUDE.md, etc. If none exists, skip this step). Judge at the semantic level whether the candidate is already covered; if so, drop or merge.
4. Skip items already covered by error-handling
If a candidate was already sedimented by error-handling stage 4/5 in this session (code-review item / test), mark "already sedimented by error-handling" and do not propose again.
5. Categorize → location (mapping as reference, judge by situation)
Default location mapping (if the project has no corresponding doc, first discuss with the user whether to create one or merge into an existing doc):
| Category | Default location (per project's existing structure) |
| Build / environment config pitfalls | Project's dev-environment doc / CONTRIBUTING.md / README.md dev section / progress-tracking doc's "build config" section |
| Code traps / API misuse | Project's review checklist / coding-standards doc (if any — see "trap-category example" below) |
| Architecture / process decisions | Project's ADR (decision records) / progress-tracking doc's "key constraints" section / docs/decisions/ |
| Temporary by-products | Progress-tracking doc's "temporary / pending cleanup" section (annotate as temporary + deletion condition) |
Trap-category example (map by the project's actual layers — not a fixed checklist):
| Trap involves layer | Usually maps to which chapter of the review checklist |
| UI layer (components / state / rendering) | UI chapter |
| Business logic / ViewModel / Controller | Business-logic chapter |
| Data access / Repository / DAO | Data-layer chapter |
| Infrastructure / external-service access (IPC / network / hardware / sensors) | Infrastructure chapter |
| Concurrency / async / timing | Concurrency-and-async chapter |
| Persistence / cache | Persistence chapter |
| Dependency injection / service locator | DI chapter |
| Error handling / exceptions / failure modes | Error-handling chapter |
⚠️ Mapping is only a default reference: when categorizing, judge by the pitfall's substance and the section's semantics to pick the best fit. If the project has no review checklist yet, prompt the user to consider creating one (do not fabricate content). For cross-layer cases or any doubt, discuss with the user — do not apply the mapping blindly.
6. Propose list (must wait for user confirmation)
Output:
| # | Knowledge summary | Category | Suggested location | Existing-similar reference (similar item already in the doc) | Value (why worth recording) |
- The "existing-similar reference" column points out similar items already in the doc (e.g., "concurrency chapter item 5 already covers X timing; this one is related but different"), helping the user decide dedup / merge / placement.
Wait for confirmation item by item. The user can: select all / partial / adjust wording / adjust location / reject. Items without explicit agreement are not written.
7. Write
For confirmed items, use Edit on the corresponding doc (insert into the right section, preserve existing format, do not touch unrelated content).
8. Summary
Output: what was sedimented (with locations) + what was skipped (covered by error-handling / deduped) + what the user rejected.
Boundaries
error-handlingstage 4/5 — narrow bug-specific prevention. This skill skips items it already sedimented.phase-tracking— milestone progress (numerical). No overlap with this skill.code-review— consumes the review checklist to do reviews. This skill sediments new review items into the checklist (expands its content).
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.

