pattern-recognition

Extract reusable code patterns from completed implementations and index them for reuse.

206|32|Updated Jul 25, 2025
One-click install
npx skills add https://github.com/VAMFI/claude-user-memory --skill pattern-recognition
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pattern-recognition
Source: https://github.com/VAMFI/claude-user-memory/tree/main/.claude/skills/pattern-recognition
Command: npx skills add https://github.com/VAMFI/claude-user-memory --skill pattern-recognition

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill transforms every successful implementation into reusable knowledge, preventing repetitive work and accelerating future development. It proactively suggests proven patterns, ensuring consistency and efficiency across projects.

Core Features & Use Cases

  • Adaptive Pattern Suggestion: Before starting a task, Claude suggests high-confidence patterns based on past successful implementations, tailored to your current context.
  • Automated Knowledge Capture: After a successful implementation, the Skill analyzes the work, identifies reusable patterns, and documents them in your knowledge-core.md.
  • Bayesian Confidence Scoring: Patterns are ranked by success rate, recency, and evidence, ensuring only the most reliable and relevant patterns are suggested.
  • Use Case: When you ask Claude to "Add payment processing with Stripe," this Skill might suggest a "Stripe Checkout Integration" pattern, complete with code examples and best practices learned from previous projects, making the implementation 30-40% faster.

Quick Start

The system automatically suggests patterns based on context

/workflow Add payment processing with Stripe

Frequently Asked Questions about pattern-recognition

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

FAQPage Schema
How do I extract and reuse code patterns from past implementations?

Pattern recognition identifies reusable patterns from successful code implementations and documents them in your knowledge core. After completing a feature, the Skill analyzes the work, validates patterns through tests, and indexes them so Claude suggests proven approaches on future tasks, accelerating development by 30-40%.

Can Claude suggest patterns automatically before I start coding?

Yes. Adaptive pattern suggestion triggers before you begin work—Claude analyzes your task context and recommends high-confidence patterns from past successful implementations, complete with code examples and best practices tailored to your current project.

How does the Skill decide which patterns to suggest?

Bayesian confidence scoring ranks patterns by success rate, recency, and evidence strength. Only the most reliable and relevant patterns bubble up, ensuring suggestions are grounded in validated implementations rather than speculation.

When does the Skill capture patterns automatically?

Pattern capture triggers after successful integrations, at end-of-session stops, or on explicit request. The Skill extracts pattern data from code, validates it through tests, updates your knowledge core, and indexes patterns for future discovery and reuse.

Does pattern recognition work across different projects and teams?

Pattern recognition preserves institutional knowledge by extracting reusable patterns across feature implementations, code reviews, and architecture synthesis. Indexed patterns become accessible for future work, preventing repetitive effort and ensuring consistency across contexts.