ln-641-pattern-analyzer

Solid

Analyzes single pattern implementation, calculates compliance/completeness/quality scores, identifies gaps. Use when auditing a specific pattern.

AI & Automation 479 stars 67 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 94/100

Stars 20%
89
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

> **Paths:** File paths (`shared/`, `references/`, `../ln-*`) are relative to skills repo root. If not found at CWD, locate this SKILL.md directory and go up one level for repo root. If `shared/` is missing, fetch files via WebFetch from `https://raw.githubusercontent.com/levnikolaevich/claude-code-skills/master/skills/{path}`. # Pattern Analyzer **Type:** L3 Worker L3 Worker that analyzes a single architectural pattern against best practices and calculates 4 scores. ## Purpose & Scope - Analyze ONE pattern per invocation (receives pattern name, locations, best practices from coordinator) - Find all implementations in codebase (Glob/Grep) - Validate implementation exists and works - Calculate 4 scores: compliance, completeness, quality, implementation - Identify gaps and issues with severity and effort estimates - Return structured analysis result to coordinator **Out of Scope** (owned by ln-624-code-quality-auditor): - Cyclomatic complexity thresholds (>10, >20) - Method/class length thresholds (>50, >100, >500 lines) - Quality Score focuses on pattern-specific quality (SOLID within pattern, pattern-level smells), not generic code metrics ## Inputs ``` - pattern: string # Pattern name (e.g., "Job Processing") - locations: string[] # Known file paths/directories - bestPractices: object # Best practices from MCP Ref/Context7/WebSearch - output_dir: string # e.g., ".hex-skills/runtime-artifacts/runs/{run_id}/audit-report" ``` > **Note:** All patte...

Details

Author
levnikolaevich
Repository
levnikolaevich/claude-code-skills
Created
7 months ago
Last Updated
yesterday
Language
JavaScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category