SkillsReviewed · FlorianBruniaux

Design Patterns Analyzer for Claude Code

Design Patterns Analyzer is a Claude Code skill for TypeScript and JavaScript developers reviewing code structure, but its heuristic findings need human review and its scoring formula needs correction. It provides instructions, references and search rules for identifying 23 design patterns, suggesting framework-specific alternatives and evaluating implementations.

Researched 17 Nov 2026

In short.

Design Patterns Analyzer is a Claude Code skill for TypeScript and JavaScript developers seeking architecture and refactoring advice, but its detection rules are approximate and its quality scores are inconsistently defined. Its nine files describe detection, suggestion and evaluation modes, with references for 23 Gang of Four patterns and adaptations for eight framework or library groups. The strongest use is guided code inspection: the files provide a concrete review structure, but no execution results establish accuracy, compatibility, speed or operating cost.

Researched and written by an AI model and checked by a second AI model. How it works

The scope comprises the nine captured files under examples/skills/design-patterns at commit a6329c53d58b1777d3d2465767fb7c0e6da2d3c4, plus the captured repository-root LICENSE. Other repository content, external reference sites, host software, the specialist agent, MCP implementations and target application code are outside this scope. Nothing was executed. Installation, command handling, detection accuracy, practical language coverage, performance, permission enforcement and operating cost remain unassessed.

The overview

Identity

The resource is the examples/skills/design-patterns folder in FlorianBruniaux/claude-code-ultimate-guide. It contains SKILL.md, four reference files, three signature files and one evaluation checklist. These are assistant instructions and supporting data for examining software designs.

Gang of Four patterns are reusable approaches to object creation, composition and communication. This skill connects those concepts to TypeScript, JavaScript and common frameworks. Its original source location is [https://github.com/FlorianBruniaux/claude-code-ultimate-guide/tree/main/examples/skills/design-patterns].

Assessment

It offers a useful starting structure for an assisted architecture review: identify the stack, search for candidates, read the surrounding code and explain possible improvements. Its preference for existing framework features can help reviewers avoid adding unnecessary classes.

Adoption needs two qualifications. The checklist contains a definite scoring inconsistency, and text searches cannot establish design intent by themselves. Treat its findings as review candidates and resolve the scoring definition before comparing numerical results. Installation compatibility and practical reliability were not assessed.

Users

The intended users are developers reviewing or refactoring TypeScript and JavaScript projects, including React, Angular, NestJS, Vue and Express applications. Additional mappings cover RxJS, Redux-related state libraries and object-relational mapping libraries.

Beginners can use the definitions, examples and common-mistake notes to understand unfamiliar patterns. Experienced developers get search signatures, confidence thresholds and explicit evaluation criteria. It is less suitable for someone expecting automatic fixes, support for other programming languages or independently established detection accuracy.

Capabilities

Detection mode describes a JSON report containing the detected stack, candidate patterns, file locations, confidence values and classifications as framework-native, custom or library-provided. The index enumerates five creational, seven structural and eleven behavioral patterns.

Suggestion mode maps possible design problems to changes, such as replacing repeated type-based branching with Strategy or grouping long parameter lists. Evaluation mode scores correctness, testability, single responsibility, extensibility and documentation.

The stated operating boundary is analysis and recommendations: no code modification or file creation. Example commands and output formats document intended behavior; they do not establish that every option is implemented or consistently followed.

Using it

Requirements

The assistant needs access to the target project's source, dependency declarations and relevant configuration files. The front matter names Read, Grep, Glob and mcp__grepai__grepai_search as allowed tools. It also requests a forked context, an agent named specialist and high effort.

The selected folder supplies neither the specialist agent definition nor setup instructions for the named MCP service. Whether that service is required or can be omitted is unknown. Minimum Claude Code and model versions, operating systems and hardware requirements are not specified.

Mechanism

The proposed sequence starts with package.json, framework configuration files, tsconfig.json and file extensions to infer the stack. Filename searches then locate candidates, regular expressions look for structural signals, and reading the code is intended to validate relationships and intent.

The YAML files supply signal weights, minimum signal counts, confidence thresholds, smell-to-pattern mappings and framework adaptations. One example is searching for a private constructor and static getInstance method as Singleton signals, then considering dependency injection or framework context.

The folder contains no standalone scanning engine or command parser. An assistant must interpret these instructions and reference files. Confidence values are heuristic scores; no calibration evidence establishes them as probabilities of correctness.

Setup

Acquire the complete skill folder with its original relative paths. SKILL.md explicitly references files under reference, signatures and checklists, so obtaining only the main instruction file leaves out supporting material. Preserve the repository licence and source attribution.

The supplied files do not give an installation directory or a complete registration procedure. Use the host's supported skill-loading mechanism and confirm how it resolves the named specialist agent and MCP tool. The documentation suggests narrowing the directory scope for projects exceeding 500 files; that threshold is guidance, not a demonstrated performance limit.

Example

For a payment module with branching on payment type, the documentation gives /design-patterns suggest src/payment/. The intended response identifies the branching, proposes interchangeable payment strategies and shows a framework-adapted example. For a specific implementation, /design-patterns evaluate src/services/api-client.ts requests a quality assessment.

These are documented examples, not observed results. The sample file counts, scan duration, confidence values, complexity reductions, line reductions and effort estimates do not establish outcomes for another codebase. The illustrative code was not executed.

Assessment & evidence

Limitations

The quality checklist defines overall scoring inconsistently. It initially describes an average, but later gives a weighted sum whose weights total 1 and then divides that sum by 5. Applied literally, this formula cannot exceed 2 on the stated 0–10 scale. Its example reports 6.8, matching the unweighted average of its five scores; the weighted sum would be 6.85.

Some search rules are visibly limited. The deep-inheritance rule searches for repeated extends clauses within one declaration instead of tracing inheritance across declarations. Many filename patterns and structural signatures specifically target TypeScript, leaving practical JavaScript coverage uncertain.

Framework alternatives also require contextual judgment. By inspection, replacing a global singleton with a React provider can change instance lifetime and sharing. A suggested framework feature therefore needs a behavior-preservation review. Accuracy, false-positive rates, runtime and enforcement of the intended read-only boundary are unassessed.

Reasoning

The useful design choice is combining broad searches with a required reading step: similar names and method signatures can suggest a pattern without proving its purpose. The references give the assistant questions about relationships, testability and simpler alternatives that text matching alone cannot answer.

This supports using the resource as a guided inspection aid. It does not establish exhaustive coverage or justify architecture decisions from scores alone. That assessment follows from the documented mechanism and visible inconsistencies; no skill execution or benchmark comparison was performed.

Alternatives

For learning or a manual review, the included creational, structural and behavioral references can be read directly without assistant integration. The checklist provides concrete review questions, although its overall-score definition still needs correction.

For implementation, the resource itself proposes dependency injection, React Context and hooks, Vue composables, Express middleware, RxJS subjects and framework-managed services as alternatives to custom pattern classes. Which option fits depends on the project's behavior and constraints. No comparative evidence establishes superiority over external analysis tools.

Evidence

The captured source includes all nine selected skill files: SKILL.md, the pattern index, three pattern references, three signature files and the evaluation checklist. The repository-root LICENSE is included as a related notice outside the folder. All are tied to commit a6329c53d58b1777d3d2465767fb7c0e6da2d3c4.

The files establish the resource's instructions, examples, rules and stated constraints. They contain no independent validation of the advertised capabilities. Sample reports and numerical examples should not be read as evidence of actual scans.

Access & freshness

Costs

Operating cost is unknown. The files specify no assistant subscription, model price, token budget, MCP hosting charge or measured consumption. They request high effort and a forked context without quantifying their cost.

The supplied licence grants royalty-free reuse of covered material under its conditions. That permission does not establish the price of running Claude Code or any supporting service.

Rights

The captured repository-root LICENSE supplies Creative Commons Attribution-ShareAlike 4.0 International terms. It permits copying, sharing and adapting covered material subject to its conditions. When sharing, retain supplied attribution and notices, provide the licence text or address, and identify modifications.

Shared adaptations must use a licence permitted by the ShareAlike terms. Additional restrictions that prevent recipients exercising the licensed rights are prohibited. The material is supplied without warranties, including warranties of accuracy. This licence does not establish rights to the assistant service or third-party libraries mentioned in the examples.

Freshness

SKILL.md identifies version 1.0.0 and a last-updated date of 2026-01-21. The YAML reference and signature files also identify version 1.0.0. The source snapshot was captured on 2026-11-17 at 07:25:55.151 UTC.

Those dates identify the documented version and acquisition time. They do not establish compatibility with current assistant releases or every framework version. Later changes and maintenance activity beyond the captured revision are unknown.

Actions

Obtain the complete folder at the captured revision, retain its relative paths and licence, and confirm the host can resolve its tool and specialist-agent declarations. The pinned folder is available at [https://github.com/FlorianBruniaux/claude-code-ultimate-guide/tree/a6329c53d58b1777d3d2465767fb7c0e6da2d3c4/examples/skills/design-patterns].

Before using quality scores, choose and document a consistent calculation. Start with a small directory whose design is familiar, inspect cited code locations and confirm that recommendations preserve behavior. Validate any later code changes separately; the skill's documented role stops at analysis and suggestions.

Evidence for this report

LICENSEnotice · checked 2026-11-17
examples/skills/design-patterns/SKILL.mdselected · checked 2026-11-17