Review recent sessions for the current project to identify recurring patterns, systemic issues, and improvements across multiple sessions.
Analyzes recent project sessions to identify recurring patterns and systemic issues across multiple conversations.
npx claudepluginhub maxnoller/claude-code-pluginsThis skill is limited to using the following tools:
Session ID: ${CLAUDE_SESSION_ID}
Use Glob to locate the current session file:
~/.claude/projects/**/${CLAUDE_SESSION_ID}.jsonl
Take its parent directory and glob all *.jsonl files there — these are all sessions for this project. Sort by modification time and take the 10 most recent (excluding the current session).
For each session file, use Grep to extract conversation turns ("type":"user" and "type":"assistant" lines) to reconstruct what happened. Note the timestamp and approximate length of each session.
Look for patterns that appear across multiple sessions — single-session issues belong in a regular /session-review. Focus on:
Recurring mistakes — the same wrong assumption or error appearing in 2+ sessions. Strong signal that something needs fixing in the codebase, tooling, or context file.
Persistent friction — the same awkward workflow showing up repeatedly. A script or hook could likely automate it.
Knowledge gaps — things the agent keeps having to look up or ask about that should be self-evident from the code.
Drift — something that worked well in early sessions but degraded later, or vice versa.
What's consistently smooth — patterns worth preserving.
For each finding, assign exactly one of:
Output format:
Sessions analyzed: N (date range)
Recurring findings (seen in 2+ sessions, prioritized by frequency and impact):
What's consistently smooth (brief)
A pattern appearing once is noise. Appearing twice is a coincidence. Appearing three times is a system problem — fix the system, not the symptoms.
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.