lessons-learned
Skill1 starsChanged 9 months agoMITView on GitHub
Analyze lessons-learned files for the current ticket and suggest enhancements to docs, CLAUDE.md, or codebase patterns.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- lklimek/claudiustheir own version, first seen Sep 23, 2026
- mavrovde/thekotlin.comtheir own version, first seen Sep 5, 2026
- shalomb/agent-skillstheir own version, first seen Aug 23, 2026
- pfeff/claude-skillstheir own version, first seen Aug 3, 2026
- lgbarn/shipyardtheir own version, first seen Jun 19, 2026
- kenmulford/PMSkillstheir own version, first seen Apr 19, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- lgbarn/shipyard★ 66same name
- aplaceforallmystuff/minervia-starter-kit★ 18same name
- shalomb/agent-skills★ 3same name
- pfeff/claude-skills★ 2same name
- lklimek/claudius★ 1same name
- kenmulford/PMSkills★ 0same name
- mavrovde/thekotlin.com★ 0same 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 repository4 other files it gives its agents.
- do-that-shitSkill
- plan-that-shitSkill
- push-that-shitSkill
- review-current-sessionSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 8 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
8
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
- Very specific: line 15
If argument provided, use $ARGUMENTS as the ticket number
- Distinctive: line 17
If still unclear, ask the user
- Distinctive: line 27
Read all found files.
- Distinctive: line 29
If no files found, inform user and stop.
- Distinctive: line 61
Use the Explore agent or direct file reads to:
- Distinctive: line 78
Create a summary report. Present to user (don't write to file unless asked).
- Distinctive: line 118
Ask user what they'd like to do:
- Distinctive: line 127
If user chooses to archive:
- Distinctive: line 139
Don't suggest changes that conflict with user's established preferences
“Common” is measured: kept by at least 6 in 10 of the 6 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
Lessons Learned
Consolidate lessons-learned files for the current ticket into actionable enhancement suggestions.
Step 1: Identify Ticket Number
Determine the ticket/branch identifier:
- If argument provided, use
$ARGUMENTSas the ticket number - Otherwise, check git branch:
git branch --show-current - If still unclear, ask the user
Step 2: Gather Lessons Learned Files
Find lessons-learned files for this ticket:
ls ~/tmp/dora-plans/{ticket-number}/lessons-learned-*.mdRead all found files.
If no files found, inform user and stop.
Step 3: Categorize Findings
Group insights from all files into categories:
3.1 CLAUDE.md Updates
- Missing patterns or conventions
- Outdated information
- Gaps in documentation
3.2 Codebase Documentation
- Missing README sections
- Undocumented utilities or helpers
- API documentation gaps
3.3 Tooling / Automation
- Repetitive tasks that could be skills
- Hook opportunities
- Script improvements
3.4 Code Patterns
- Recurring gotchas to document
- Best practices discovered
- Anti-patterns to avoid
3.5 User Preference Conflicts
- Consistent overrides of system guidance
- Patterns where user prefers different approach
Step 4: Explore Codebase for Context
Use the Explore agent or direct file reads to:
- Check current CLAUDE.md files for overlap/gaps:
- Root
CLAUDE.md - Service-specific
apps/*/CLAUDE.md
- Root
- Verify suggestions are still relevant:
- Has the issue already been fixed?
- Is the pattern still used?
- Find related documentation:
- Existing READMEs
- Inline documentation
- Comments that could be promoted to docs
Step 5: Generate Enhancement Report
Create a summary report. Present to user (don't write to file unless asked).
Report Structure
# Enhancement Suggestions
**Reviewed**: {N} lessons-learned files from {date range or ticket list}
## High Priority
{Most impactful suggestions - things that would save significant time}
### 1. {Enhancement title}
**Category**: CLAUDE.md / Docs / Tooling / Code Pattern
**Source**: lessons-learned from {ticket(s)}
**Current state**: {what exists now}
**Suggestion**: {specific change}
**Impact**: {why this matters}
## Medium Priority
{Useful but not urgent}
## Low Priority / Nice to Have
{Minor improvements}
## Already Addressed
{Items from lessons-learned that have been fixed since}
## Conflicts to Resolve
{Cases where user preferences consistently differ from documented guidance}
{Recommend: update docs to match actual practice, or discuss with user}Step 6: Offer Actions
Ask user what they'd like to do:
- Apply specific suggestions - Make the changes now
- Create issues/tickets - Track as future work
- Archive processed lessons - Move lessons-learned files to
archived/subdirectory - Dismiss - Just informational, no action needed
Step 7: Cleanup (if requested)
If user chooses to archive:
mkdir -p ~/tmp/dora-plans/{ticket}/archived
mv ~/tmp/dora-plans/{ticket}/lessons-learned-*.md ~/tmp/dora-plans/{ticket}/archived/Notes
- Focus on patterns that appear multiple times - single occurrences may be one-offs
- CLAUDE.md improvements are highest value - they help all future sessions
- Be specific in suggestions - "improve docs" is too vague, "add section on X pattern in apps/api/CLAUDE.md" is actionable
- Don't suggest changes that conflict with user's established preferences
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.

