skills/continual-learning/learning-capture/SKILL.md
Recognize and capture reusable patterns, workflows, and domain knowledge from work sessions into new skills. Use when completing tasks that involve novel approaches repeated 2+ times, synthesizing complex domain knowledge across conversations, discovering effective reasoning patterns, or developing workflow optimizations. Optimizes for high context window ROI by identifying patterns that will save 500+ tokens per reuse across 10+ future uses.
npx skillsauth add svenja-dev/claude-code-skills learning-captureInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill enables continual learning by recognizing valuable patterns during work and capturing them as new skills. It focuses on high-ROI captures: patterns that will save significant context window tokens through frequent reuse.
Monitor for these five types of learning moments:
Trigger: Develop a creative, non-obvious solution to a complex problem that could apply to similar future problems.
Strong signals:
Trigger: User requests similar tasks 2-3 times and a consistent approach emerges.
Strong signals:
Trigger: User explains company processes, terminology, schemas, or standards that span multiple conversations.
Strong signals:
Trigger: Discover a particular way of structuring thinking that consistently produces better results.
Strong signals:
Trigger: Figure out an efficient way to chain tools or steps together that produces comprehensive results.
Strong signals:
Offer capture when ALL of the following are true:
High confidence (>95%) of significant ROI:
Strong reusability signal present:
Not redundant with existing capabilities:
Do NOT offer capture when:
Consult references/decision-examples.md for concrete examples of high-confidence vs. low-confidence scenarios.
While working, monitor for recognition triggers from the framework above. Track:
Before offering capture, verify:
If all checks pass, proceed to offer. If uncertain, do NOT offer.
Timing: Offer after completing the immediate task, not mid-task.
Phrasing: Be concise and specific about what would be captured and why it's valuable.
Good examples:
Avoid:
When user agrees to capture, create a draft skill file following these steps:
/mnt/user-data/outputs/[skill-name].skill/The draft skill should be ready for user review and upload with minimal editing needed.
After creating the draft skill:
Conservative by default: Better to capture 80% of truly valuable patterns than create noise. Only offer when confidence is very high.
ROI-focused: Prioritize patterns with high reuse frequency and high token savings per reuse.
Context window awareness: Skills cost tokens to load. A skill should pay for itself within 10 uses.
Interpretable: Skills are plain text and easy to review, correct, and refine. This transparency is a feature.
User-controlled: The manual upload step ensures quality control and user agency over what gets added to the knowledge base.
Templates for structuring different types of skills based on the learning moment type. Includes:
Read this file when structuring a captured skill to use the appropriate template.
Detailed examples of high-confidence capture scenarios (where to offer) and low-confidence scenarios (where NOT to offer). Includes:
Read this file when uncertain whether a learning moment meets the capture threshold.
development
Protects design and theme files from unintended changes. Locks tailwind.config, global CSS, and theme variables. Requires explicit confirmation before modifying UI components. Activate on changes to CSS, theme config, or layout components.
tools
Proactive token budget assessment and task chunking strategy. Use this skill when queries involve multiple large file uploads, requests for comprehensive multi-document analysis, complex multi-step workflows with heavy research (10+ tool calls), phrases like "complete analysis", "full audit", "thorough review", "deep dive", or tasks combining extensive research with large output artifacts. This skill helps assess token consumption risk early and recommend chunking strategies before beginning work.
development
Erzwingt striktes Test-Driven Development mit Red-Green-Refactor Zyklus. Blockiert Code-Generierung ohne vorherige Tests. Dokumentiert 13 ungueltige Rationalisierungen. Aktivieren bei neuen Features, Bug Fixes, Refactoring.
development
Enforces TypeScript best practices when writing code. Automatically enables strict typing for TypeScript projects, prevents `any` usage, and recommends generic constraints. Activate on TS/TSX files, new features, code reviews.