rohitg00/replay-learnings
Surface past learnings relevant to the current task before starting work. Searches correction history, recalls past mistakes, and applies prior patterns. Use when starting a task, saying "what do I know about", "previous mistakes", "lessons learned", or "remind me about".
npx skills add https://github.com/rohitg00/pro-workflow --skill replay-learnings
Like muscle memory for your coding sessions. Find and surface relevant learnings before you start working.
Use when starting a new task, saying "what do I know about", "before I start", "replay", or "remind me about".
auth, middleware, refactor). grep -i "auth\|middleware" .claude/LEARNED.md 2>/dev/null
grep -i "auth\|middleware" .claude/learning-log.md 2>/dev/null
grep -A2 "\[LEARN\]" CLAUDE.md | grep -i "auth\|middleware"
REPLAY BRIEFING: <task>
=======================
Past learnings (ranked by relevance):
1. [Testing] Always mock external APIs in auth tests (applied 8x)
Mistake: Called live API in tests, caused flaky failures
2. [Navigation] Auth middleware is in src/middleware/ not src/auth/ (applied 5x)
3. [Quality] Add error boundary around auth state changes (applied 3x)
Session history for similar work:
- 2026-02-01: auth refactor — 23 edits, 2 corrections (8.7% rate)
- 2026-01-28: auth middleware — 15 edits, 4 corrections (26.7% rate)
^ Higher correction rate — review patterns before starting
Suggested approach:
- Mock external APIs (learning #1)
- Check src/middleware/ first for auth code (learning #2)
Take rohitg00/replay-learnings from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.