pattern-curator

Community

Automate pattern learning from your codebase.

Authorakaszubski
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Manually identifying and documenting coding patterns is time-consuming and often leads to outdated or incomplete guides. This Skill automates the discovery, validation, and promotion of engineering patterns directly from your codebase, ensuring your documentation always reflects actual practices.

Core Features & Use Cases

  • Automated Pattern Detection: Scans code for recurring structures and practices (e.g., type hints, caching strategies, MLX-specific optimizations).
  • Lifecycle Management: Tracks patterns from "Discovery" to "Validated" to "Archived" based on usage frequency.
  • Dynamic Documentation: Automatically updates PATTERNS.md with validated patterns, including descriptions and code examples.
  • Use Case: After a team refactors a core module, this Skill automatically updates the project's PATTERNS.md to reflect new best practices, ensuring all agents and developers are aligned with the latest coding standards.

Quick Start

Scan entire codebase for patterns

python .claude/skills/pattern-curator/detect_patterns.py --full-scan

Update PATTERNS.md from cached data

python .claude/skills/pattern-curator/update_patterns.py

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: pattern-curator
Download link: https://github.com/akaszubski/realign/archive/main.zip#pattern-curator

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.