ln-641-pattern-fitness-auditor
Audits whether one implemented architectural pattern fits project needs and best practices. Use when checking pattern fitness.
npx skills add majiayu000/claude-skill-registry --skill ln-641-pattern-fitness-auditor --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
> **Paths:** File paths (`references/`, `../ln-*`) are relative to this skill directory. # Pattern Fitness Auditor **Type:** L3 Worker L3 Worker that analyzes a single architectural pattern against best practices and project needs. ## Purpose & Scope - Analyze ONE pattern per invocation (receives pattern name, locations, best practices) - 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 - Emit `KEEP_PATTERN`, `SIMPLIFY_PATTERN`, `COMPLETE_PATTERN`, or `REPLACE_PATTERN` **Out of Scope:** - 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_i
- Purpose & Scope
- Inputs
- Workflow
- Phase 1: Find Implementations
- Phase 2: Read and Analyze Code
- Phase 3: Calculate 4 Scores
- Phase 4: Identify Issues and Gaps
- Phase 5: Calculate Score
- Phase 6: Write Report
- Phase 7: Return Summary
- Critical Rules
- Definition of Done
- Reference Files
What does the ln-641-pattern-fitness-auditor skill do?
Audits whether one implemented architectural pattern fits project needs and best practices. Use when checking pattern fitness.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill ln-641-pattern-fitness-auditor --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
