agentleFS
SuckzooSuckzoo/skills/review-current-session/SKILL.md

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).

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
  1. Distinctive:

    After completing work on a ticket

    line 13
  2. Very specific:

    When /do-that-shit finishes (either completion or early stop)

    line 15
  3. Very specific:

    If argument provided, use $ARGUMENTS as the ticket number

    line 21
  4. Distinctive:

    If still unclear, ask the user

    line 23
  5. Distinctive:

    Test patterns or conventions specific to this codebase

    line 38
  6. Very specific:

    Create file at: ~/tmp/dora-plans/{ticket-number}/lessons-learned-{epoch}.md

    line 58
  7. Distinctive:

    If nothing significant to capture, create a minimal file noting "Clean session, no significant lessons"

    line 105
  8. Distinctive:

    Don't over-document obvious things

    line 106

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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-shit finishes (either completion or early stop)

Step 1: Identify Ticket Number

Determine the ticket/branch identifier:

  1. If argument provided, use $ARGUMENTS as the ticket number
  2. Otherwise, check git branch: git branch --show-current
  3. 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 +%s

Create 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

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.