What problem does it solve?
This Skill enables AI agents to autonomously detect, store, and retrieve successful task execution patterns, building a project-specific knowledge base. It continuously improves skill selection and strategic decision-making, making your AI smarter and more efficient over time.
Core Features & Use Cases:
- Automatic Pattern Detection: Classifies tasks and extracts context (languages, frameworks, complexity) to identify successful approaches.
- Pattern Storage Structure: Organizes patterns, skill effectiveness metrics, and task history in a dedicated
.claude-patterns/ directory.
- Skill Auto-Selection Algorithm: Analyzes current tasks, queries the pattern database, and recommends optimal skills and agents based on historical success rates.
- Self-Assessment & Quality Metrics: Calculates a comprehensive quality score for each task outcome, driving continuous improvement in the learning cycle.
- Use Case: After successfully refactoring an authentication module, this skill automatically stores the approach, skills used, and quality score as a new pattern, which can then be recommended for similar future tasks, accelerating development.
Quick Start:
Explain the "Automatic Pattern Detection" process, including task categorization and context extraction.