review-current-session
Skill1 starsChanged 9 months agoMITView on GitHub
Review the current session for lessons learned, conflicts, and enhancement opportunities. Creates a timestamped lessons-learned file. Use at session end (handoff or completion).
In this repository4 other files it gives its agents.
- do-that-shitSkill
- lessons-learnedSkill
- plan-that-shitSkill
- push-that-shitSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 5 are distinctive, and 3 are 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.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
After completing work on a ticket
- Very specific: line 15
When /do-that-shit finishes (either completion or early stop)
- Very specific: line 21
If argument provided, use $ARGUMENTS as the ticket number
- Distinctive: line 23
If still unclear, ask the user
- Distinctive: line 38
Test patterns or conventions specific to this codebase
- Very specific: line 58
Create file at: ~/tmp/dora-plans/{ticket-number}/lessons-learned-{epoch}.md
- Distinctive: line 105
If nothing significant to capture, create a minimal file noting "Clean session, no significant lessons"
- Distinctive: line 106
Don't over-document obvious things
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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
Review Current Session
Review the entire session and capture lessons learned, conflicts, and enhancement opportunities.
When to Use
- After completing work on a ticket
- During orchestrator handoff (context limits)
- When
/do-that-shitfinishes (either completion or early stop)
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: Review the Session
Reflect on the current conversation and identify:
2.1 Conflicts Between Directions
- Did the user's instructions conflict with CLAUDE.md guidance?
- Did the user override any default patterns or conventions?
- Were there any "do it this way instead" moments?
2.2 Lessons About Code Patterns
- Discovered patterns in the codebase not documented in CLAUDE.md
- Gotchas or pitfalls encountered during implementation
- Useful utilities or helpers found that weren't obvious
- Test patterns or conventions specific to this codebase
2.3 Enhancement Opportunities
- Missing documentation that would help future work
- CLAUDE.md gaps or outdated information
- Tooling improvements (skills, hooks, etc.)
- Repetitive tasks that could be automated
2.4 Decisions Made
- Any architectural or design decisions during this session
- Tradeoffs considered and why one approach was chosen
Step 3: Create Lessons Learned File
Generate the current Unix epoch timestamp:
date +%sCreate file at: ~/tmp/dora-plans/{ticket-number}/lessons-learned-{epoch}.md
Expand to absolute path (e.g., /Users/suckzoo/tmp/dora-plans/ves-965/lessons-learned-1738765432.md)
File Structure
# Lessons Learned: {ticket-number}
**Session Date**: {human readable date}
**Work Summary**: {brief 1-2 sentence summary of what was done}
## Conflicts / Overrides
{List any conflicts between system guidance and user direction}
{If none, write "None identified."}
## Code Pattern Insights
{Patterns discovered, gotchas, useful utilities}
{If none, write "None identified."}
## Enhancement Opportunities
{Suggestions for docs, CLAUDE.md, tooling, automation}
{If none, write "None identified."}
## Key Decisions
{Decisions made during this session and rationale}
{If none, write "None identified."}
## Notes
{Any other observations worth capturing}Step 4: Report Summary
Briefly tell the user:
- File created at:
{path} - Key highlights (1-3 bullet points of most significant findings)
Notes
- Be concise - this is a quick capture, not a detailed report
- Focus on actionable insights that help future sessions
- If nothing significant to capture, create a minimal file noting "Clean session, no significant lessons"
- Don't over-document obvious things
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.

