Analyze codebases to identify reusable code patterns, duplications, and implementation patterns for future development. Use when refactoring code, identifying technical debt, finding opportunities for abstraction, or documenting common patterns in a directory or module. Outputs pattern catalogs, refactoring suggestions, and reusable template code.
76
71%
Does it follow best practices?
Impact
76%
1.40xAverage score across 3 eval scenarios
Passed
No known issues
Optimize this skill with Tessl
npx tessl skill review --optimize ./skills/code-pattern-extractor/SKILL.mdPattern catalog format and categorization
Pattern name heading
25%
62%
Type field present
0%
75%
Frequency field present
100%
100%
Impact field present
0%
100%
Description field present
100%
100%
File:line references
60%
0%
Common variations listed
0%
100%
High/Medium/Low categorization
40%
20%
Pattern types used
0%
0%
Summary section
50%
100%
Pattern Catalog section
0%
100%
Refactoring Suggestions section
0%
100%
Next Steps section
0%
100%
High-frequency first
50%
75%
Duplication thresholds and structural similarity analysis
3+ occurrences threshold
50%
16%
5+ lines threshold
100%
100%
Structural similarity focus
100%
91%
Variable name difference acknowledged
100%
90%
fetchOrderWithRetry excluded
100%
100%
Notifications pattern excluded or noted as different
100%
100%
File:line references
40%
100%
Methodology section
100%
100%
High-frequency patterns first
100%
50%
Impact categorization
0%
90%
Refactoring suggestions and JSDoc template code generation
Refactoring heading format
0%
37%
Current state field
12%
75%
Proposed solution field
16%
100%
Benefits bullet list
33%
100%
Numbered implementation steps
62%
62%
utils/ target path in steps
50%
50%
Unit tests step
16%
50%
Estimated effort field
0%
83%
JSDoc template code
90%
100%
Template includes error handling
75%
75%
Trade-offs documented
100%
100%
Migration path included
100%
100%
Only high-value patterns templated
50%
50%
0f00a4f
Table of Contents
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.