CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

design-patterns

Detect, suggest, and evaluate GoF design patterns in TypeScript/JavaScript codebases. Use when refactoring code, applying singleton/factory/observer/strategy patterns, reviewing pattern quality, or finding stack-native alternatives for React, Angular, NestJS, and Vue.

61

Quality

77%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./examples/skills/design-patterns/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

63%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A well-structured, highly actionable body with clear mode workflows and concrete search heuristics, but it is overlong due to full sample output reports and undermines its own progressive disclosure: it cites eight bundle files that don't exist while inlining the very content it says those files hold. Trimming the sample outputs and actually splitting (or removing) the dangling references would lift both the conciseness and structure scores.

Suggestions

Replace the three full sample output reports (detection JSON, suggestion markdown, evaluation JSON, ~250 lines combined) with condensed schema sketches showing field names and one short entry each — the full reports are padding that duplicates the format contract.

Resolve the dangling references: either ship the eight cited files (reference/*.md, signatures/*.yaml, checklists/pattern-evaluation.md) and move the inlined detection rules, code-smell mappings, adaptation logic, and evaluation criteria into them, or delete the citations and keep the content inline — currently the body claims 'from signatures/...' for content that lives in SKILL.md itself.

Add an explicit validation checkpoint to the detection workflow (e.g., 'Re-read the full file before reporting a pattern with confidence <0.7 to rule out false positives'), which would also justify the existing confidence-tier gate.

DimensionReasoningScore

Conciseness

The body is ~550 lines and mostly operational (regexes, detection rules, workflows), but the three full sample output reports (detection JSON ~65 lines, suggestion markdown ~125 lines, evaluation JSON ~60 lines) are heavily padded — condensed schema sketches would convey the same contract for a fraction of the tokens. It does not explain concepts Claude already knows, so it clears anchor 2 but fits 'mostly efficient... could be tightened' rather than anchor 4's 'minor instances'.

3 / 5

Actionability

Concrete, executable guidance throughout: named glob patterns, grep regexes (e.g., 'switch (.*type)', 'function \w+\([^)]{60,}\)'), quantified confidence bands, a stack-adaptation table, and example invocations per mode. Falls short of anchor 5 because the TypeScript examples contain placeholder bodies ('/* credit logic */') and several detection rules are deferred to signature files that are not present, leaving minor gaps.

4 / 5

Workflow Clarity

Each of the three modes has a clearly sequenced numbered workflow, and the detection pipeline (Glob → Grep → Read with confidence-score bands acting as a false-positive gate) is well ordered. As a read-only skill the destructive/batch cap doesn't apply, but there are no explicit verify/re-validate checkpoints (e.g., re-reading a candidate file before reporting a pattern), which keeps it at anchor 4 rather than 5.

4 / 5

Progressive Disclosure

The 'Reference files' section clearly signals one-level-deep references, but none of the eight cited files (reference/*.md, signatures/*.yaml, checklists/pattern-evaluation.md) exist in the bundle, and the body simultaneously inlines ~150 lines of that supposed reference content (detection rules, code-smell mappings, adaptation logic, evaluation criteria). This matches anchor 3 — references present, but content that should live in separate files is inline and the navigation paths are dangling.

3 / 5

Total

14

/

20

Passed

Description

83%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description: explicit 'Use when' clause with concrete triggers, third-person voice, and a clearly framed TS/JS GoF-pattern niche. Minor room to improve by making the actions more artifact-concrete (e.g., mentioning detection reports or quality scoring) and adding synonyms like 'code smells' or 'Gang of Four'.

DimensionReasoningScore

Specificity

The description lists several specific actions ("Detect, suggest, and evaluate GoF design patterns") in a named domain ("TypeScript/JavaScript codebases"), but the verbs are more abstract than anchor-5 examples like 'extract text, fill forms, merge documents' and omit what artifacts are produced (JSON reports, prioritized suggestions, quality scores). It sits above anchor 3 (only 1-2 actions) but the minor coverage gap keeps it below anchor 5.

4 / 5

Completeness

It explicitly answers both what ("Detect, suggest, and evaluate GoF design patterns in TypeScript/JavaScript codebases") and when ("Use when refactoring code, applying singleton/factory/observer/strategy patterns, reviewing pattern quality, or finding stack-native alternatives") with concrete trigger phrases, matching the anchor-5 example pattern exactly.

5 / 5

Trigger Term Quality

Good natural keyword coverage: "design patterns", "GoF", "singleton/factory/observer/strategy", "refactoring", "reviewing pattern quality", plus framework names (React, Angular, NestJS, Vue). A few natural terms are missing — 'code smells', 'Gang of Four' spelled out, and file extensions like .ts/.tsx — so it fits anchor 4 rather than the comprehensive synonym-plus-extension coverage of anchor 5.

4 / 5

Distinctiveness Conflict Risk

The GoF-pattern niche with named frameworks is mostly distinct, but the trigger "Use when refactoring code" is broad and creates minor overlap risk with generic refactoring/code-review skills. The pattern-specific triggers (singleton/factory/observer/strategy, pattern quality) keep it clearly above anchor 3 but short of anchor 5's minimal-conflict profile.

4 / 5

Total

17

/

20

Passed

Validation

87%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

skill_md_line_count

SKILL.md is long (567 lines); consider splitting into references/ and linking

Warning

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

14

/

16

Passed

Repository

FlorianBruniaux/claude-code-ultimate-guide

Path

examples/skills/design-patterns/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.