AI SummaryExtract non-obvious discoveries into reusable skills that persist across sessions. Invoke when you encounter: Before creating a skill, answer these questions:
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to install the "learn" skill in my project. Please run this command in my terminal: # Install skill into your project mkdir -p .claude/skills/learn && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/learn/SKILL.md "https://raw.githubusercontent.com/pedrohcgs/claude-code-my-workflow/main/.claude/skills/learn/SKILL.md" Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.
Description
Extract reusable knowledge from the current session into a persistent skill. Use when you discover something non-obvious, create a workaround, or develop a multi-step workflow that future sessions would benefit from.
/learn — Skill Extraction Workflow
Extract non-obvious discoveries into reusable skills that persist across sessions.
When to Use This Skill
Invoke /learn when you encounter: • Non-obvious debugging — Investigation that took significant effort, not in docs • Misleading errors — Error message was wrong, found the real cause • Workarounds — Found a limitation with a creative solution • Tool integration — Undocumented API usage or configuration • Trial-and-error — Multiple attempts before success • Repeatable workflows — Multi-step task you'd do again • User-facing automation — Reports, checks, or processes users will request
PHASE 1: Evaluate (Self-Assessment)
Before creating a skill, answer these questions: • "What did I just learn that wasn't obvious before starting?" • "Would future-me benefit from this being documented?" • "Was the solution non-obvious from documentation alone?" • "Is this a multi-step workflow I'd repeat?" Continue only if YES to at least one question.
PHASE 2: Check Existing Skills
Search for related skills to avoid duplication: `bash
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster