Command
/replay
Automatically find and surface relevant learnings from your pro-workflow database before you start working. Like muscle memory for your coding sessions.
One command from pro-workflow.
shell
$ npx -y skills add rohitg00/pro-workflow --agent claude-codeShips with pro-workflow. Installing the plugin gets this command.
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/replay
Context preview
What this command does when you run it.
Automatically find and surface relevant learnings from your pro-workflow database before you start working. Like muscle memory for your coding sessions.
Stats
Stars2,638
Forks255
LanguageJavaScript
Command definition
replay.md
# /replay - Surface Past Learnings for Current Task Automatically find and surface relevant learnings from your pro-workflow database before you start working. Like muscle memory for your coding sessions. ## Usage ``` /replay auth middleware /replay "file path errors" /replay testing react components ``` ## How It Works 1. Extract keywords from your current task description 2. Search the learnings database using FTS5 BM25 ranking 3. Check correction history for similar file patterns 4. Surface the top learnings with context ## What You Do When the user runs `/replay <task description>`: 1. **Search learnings database**: ```bash sqlite3 ~/.pro-workflow/data.db " SELECT l.category, l.rule, l.mistake, l.correction, l.times_applied FROM learnings l JOIN learnings_fts ON l.id = learnings_fts.rowid WHERE learnings_fts MATCH '<keywords>' ORDER BY bm25(learnings_fts) LIMIT 8 " ``` 2. **Check session history for similar work**: ```bash sqlite3 ~/.pro-workflow/data.db " SELECT project, corrections_count, edit_count,
