From ceh-lessons-learned
Use this skill to extract lessons learned from the current conversation and append them to LESSONS_LEARNED.md in the working directory. Triggers when the user asks to "extract lessons learned", "do a retrospective", "capture what went wrong", "write up lessons learned", or any similar request to reflect on mistakes, misunderstandings, or corrections made during the session. Also trigger proactively at the end of a session that involved notable errors or rework — the user may not think to ask, but the lessons are worth capturing.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ceh-lessons-learned:lessons-learnedThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Review the full conversation history, identify moments where something went wrong or required
Review the full conversation history, identify moments where something went wrong or required
correction, and append structured lessons to docs/claude_logs/LESSONS_LEARNED.md in the current working directory.
Scan the conversation for:
Do NOT capture:
The target audience for each lesson is a future LLM reading it cold — write so the next session avoids repeating the same mistake, not as a narrative for the human.
Each lesson uses this structure:
## YYYY-MM-DD — <short title describing the mistake>
**What happened:** One or two sentences describing the concrete mistake or misunderstanding
that occurred in this session.
**Lesson:** One or two sentences stating the actionable rule or check to apply next time
to avoid repeating this.
date command if needed)docs/claude_logs/LESSONS_LEARNED.md exists in the current working directory# Lessons Learned
---
old_string anchor so the insertion lands at the true end.Tell the user:
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub cheneeheng/agent-skills --plugin ceh-lessons-learned