pattern-curator

Detect recurring coding patterns and update PATTERNS.md documentation.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/akaszubski/realign --skill pattern-curator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pattern-curator
Source: https://github.com/akaszubski/realign/tree/main/.claude/skills/pattern-curator
Command: npx skills add https://github.com/akaszubski/realign --skill pattern-curator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

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