Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Detects, suggests, and evaluates GoF design patterns in TypeScript/JavaScript codebases, adapting to React, Angular, NestJS, and Vue.
50% 73%+23 ptsof test cases passed
Passed 16 of 22 test cases with the skill, and 11 of 22 without it.
This test ran on v2. v3 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
Purpose: Detect, suggest, and evaluate Gang of Four (GoF) design patterns in TypeScript/JavaScript codebases with stack-aware adaptations.
This skill runs in a forked, read-only-by-intent subagent (context: fork, agent: general-purpose) that starts without the conversation history, so the task and path must come from the arguments. The reference files named below live under ${CLAUDE_SKILL_DIR}: read them from there, not from the working directory.
Trigger: User requests pattern detection or analysis Output: JSON report of patterns found with confidence scores and stack context
Workflow:
1. Stack Detection (package.json, tsconfig.json, framework files)
2. Pattern Search (Glob for candidates -> Grep for signatures -> Read for validation)
3. Classification (native to stack vs custom implementations)
4. Confidence Scoring (0.0-1.0 based on detection rules)
5. JSON Report Generation
Example invocation:
/design-patterns detect src/
/design-patterns analyze --format=json
Trigger: User requests pattern suggestions or refactoring advice Output: Markdown report with prioritized suggestions and stack-adapted examples
Next to this one in the catalogue, plus more from the same author.