learn
Learn Session Patterns
Analyze the current session and extract any patterns worth saving as skills.
What To Extract
Look for:
- Error Resolution Patterns
- What error occurred?
- What was the root cause?
- What fixed it?
- Is this reusable for similar errors?
- Debugging Techniques
- Non-obvious debugging steps
- Tool combinations that worked
- Diagnostic patterns
- Workarounds
- Library quirks
- API limitations
- Version-specific fixes
- Project-Specific Patterns
- Codebase conventions discovered
- Architecture decisions made
- Integration patterns
Output Format
Present findings in this structure:
## Skill Name
**What**: Brief description of the pattern/problem being solved
**Why**: Why this pattern is valuable (when to use it)
**How**: Step-by-step explanation of the technique
**Examples**:
1. Example scenario where this applies
2. Another concrete example
Verification Checklist
Before proposing a skill, confirm:
- Solves a real, recurring problem
- Not a one-time fix or typo
- Saves time in future sessions
- Can be applied to new contexts
Process
- Review the session for extractable patterns
- Identify the most valuable reusable insight
- Draft the skill file
- Ask user to confirm before saving
- Save to
skills/learned/
Notes
- Don't extract trivial fixes, such as typos or simple syntax errors.
- Don't extract one-time issues, such as specific API outages.
- Focus on patterns that will save time in future sessions.
- Keep skills focused: one pattern per skill.
More from flpbalada/fb-skills
progressive-disclosure
Reduce complexity by revealing information progressively. Use when designing
6discuss-task
Clarify ambiguous tasks before action. Use when goal, scope, success criteria, constraints, or risks are unclear.
4cognitive-fluency-psychology
Apply cognitive fluency principles to improve clarity, trust, and conversion.
4react-useeffect-avoid
Guides when NOT to use useEffect and suggests better alternatives. Use when reviewing React code, troubleshooting performance, or considering useEffect for derived state or form resets.
4discuss-code
Critically discuss code issues with compact findings. Use when code needs review for logic, simplicity, structure, naming, or maintainability.
4routing
Send inputs to specialized prompts, tools, or models based on input type. Use when different request classes need different handling paths.
3