Extracts reusable patterns from the current session like error fixes and debugging techniques, drafts markdown skill files, and saves to ~/.claude/skills/learned/ after confirmation.
npx claudepluginhub sallvainian/personal-plugins --plugin everything-claude-code# /learn - Extract Reusable Patterns Analyze the current session and extract any patterns worth saving as skills. ## Trigger Run `/learn` at any point during a session when you've solved a non-trivial problem. ## What to Extract Look for: 1. **Error Resolution Patterns** - What error occurred? - What was the root cause? - What fixed it? - Is this reusable for similar errors? 2. **Debugging Techniques** - Non-obvious debugging steps - Tool combinations that worked - Diagnostic patterns 3. **Workarounds** - Library quirks - API limitations - Version-speci...
/learnExtracts reusable patterns from the current session like error fixes and debugging techniques, drafts markdown skill files, and saves to ~/.claude/skills/learned/ after confirmation.
/learnAnalyzes current session for reusable patterns like error resolutions, debugging techniques, workarounds, and project insights, drafts a markdown skill file, and saves it after confirmation.
/learnExtracts reusable patterns from the current session like error fixes and debugging techniques, drafts markdown skill files, and saves to ~/.claude/skills/learned/ after confirmation.
/learnAutonomously scouts codebase, learns structure, generates or updates documentation with validation-fix loops.
/learnDisplays Claude Code best practices guide on sessions, context, memory, modes, CLI shortcuts, worktrees, and prompting. Also supports specific topics and saving session lessons to persistent memory.
/learnToggles learning mode in vibe sessions to enable/disable educational micro-explanations after each step. Accepts 'on', 'off', or no argument to toggle.
Share bugs, ideas, or general feedback.
Analyze the current session and extract any patterns worth saving as skills.
Run /learn at any point during a session when you've solved a non-trivial problem.
Look for:
Error Resolution Patterns
Debugging Techniques
Workarounds
Project-Specific Patterns
Create a skill file at ~/.claude/skills/learned/[pattern-name].md:
# [Descriptive Pattern Name]
**Extracted:** [Date]
**Context:** [Brief description of when this applies]
## Problem
[What problem this solves - be specific]
## Solution
[The pattern/technique/workaround]
## Example
[Code example if applicable]
## When to Use
[Trigger conditions - what should activate this skill]
~/.claude/skills/learned/