pattern-learning

Detects and stores successful task execution patterns in a repository for reuse.

27|16|Updated Oct 20, 2025
One-click install
npx skills add https://github.com/bejranonda/LLM-Autonomous-Agent-Plugin-for-Claude --skill pattern-learning
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pattern-learning
Source: https://github.com/bejranonda/LLM-Autonomous-Agent-Plugin-for-Claude/tree/main/skills/pattern-learning
Command: npx skills add https://github.com/bejranonda/LLM-Autonomous-Agent-Plugin-for-Claude --skill pattern-learning

SYSTEM DOCUMENTATION & REQUIREMENTS

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.

Frequently Asked Questions about pattern-learning

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically detect and store successful task patterns in my projects?

Pattern learning detects successful task execution patterns by classifying tasks, extracting context like languages and frameworks, then stores them in a `.claude-patterns/` directory. This creates a project-specific knowledge base that improves future skill selection and decision-making.

Can pattern learning work across different programming languages and frameworks?

Yes. Pattern learning applies to refactoring, bug fixes, feature development, optimization, documentation, testing, and security tasks across diverse languages and frameworks, automatically extracting context to identify and categorize successful approaches.

How does continuous improvement work with pattern learning?

The skill calculates a quality score for each task outcome and stores patterns with skill effectiveness metrics. These historical success rates drive the skill auto-selection algorithm, recommending optimal skills for similar future tasks and accelerating development cycles.

What happens after a task completes successfully with pattern learning?

The skill automatically stores the approach, skills used, quality score, and task history as a new pattern in the centralized repository, making that solution available for recommendation on similar future tasks.

Do I need existing task history to use pattern learning?

No. Pattern learning builds your knowledge base from scratch, starting with your first successful task. As more patterns accumulate, recommendations and skill selection become increasingly data-driven and accurate.

What metrics does pattern learning track for each task?

Pattern learning tracks skill effectiveness metrics, quality scores, task categorization, extracted context (languages and frameworks), and execution history. These metrics feed the auto-selection algorithm to recommend optimal skills for future tasks.