Agent skill

ln-641-pattern-fitness-auditor

Audits whether one implemented architectural pattern fits project needs and best practices. Use when checking pattern fitness.

majiayu000github.com/majiayu000GitHub ↗
claude-codecan modify filesMIT
Install
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.

Facts
Files in the skill folder: 2
SKILL.md size: 7 KB
Bundled scripts: none
Allowed tools: ReadGrepGlobBashmcp__hex-graph__find_implementationsmcp__hex-graph__find_symbolsmcp__hex-line__read_filemcp__hex-line__grep_searchmcp__hex-line__outline
Path: skills/analysis/ln-641-pattern-fitness-auditor/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

> **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

What's inside
Steps it walks through
  1. Purpose & Scope
  2. Inputs
  3. Workflow
  4. Phase 1: Find Implementations
  5. Phase 2: Read and Analyze Code
  6. Phase 3: Calculate 4 Scores
  7. Phase 4: Identify Issues and Gaps
  8. Phase 5: Calculate Score
  9. Phase 6: Write Report
  10. Phase 7: Return Summary
  11. Critical Rules
  12. Definition of Done
  13. Reference Files
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
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.

Keep going