Create a new ESLint rule with tests for eslintPluginScraps. Use when asked to "create a lint rule", "add an eslint rule", "scaffold a rule", "write a new scraps rule", or "new design system lint rule". Covers rule creation, test authoring, registration, and autofix implementation.
94
92%
Does it follow best practices?
Impact
96%
1.14xAverage score across 3 eval scenarios
Passed
No known issues
Template text analysis archetype selection
Uses createQuasiScanner
0%
100%
Does NOT use createStyleCollector
100%
100%
Uses ESLintUtils.RuleCreator.withoutDocs
50%
100%
Kebab-case rule name
100%
100%
CamelCase export name
80%
100%
Correct file paths
100%
100%
RuleTester from @typescript-eslint
100%
100%
No autofix implemented
100%
100%
index.ts registration
100%
100%
eslint.config.ts registration
40%
100%
Valid test cases
100%
100%
Invalid test cases
100%
100%
Config-driven rule extension and reverse-mapping awareness
Config file only change
100%
90%
No rule logic changes
100%
90%
Typography category defined
100%
100%
Reverse-mapping side effects noted
100%
80%
Valid test cases added
100%
100%
Invalid test cases added
100%
100%
shouldAnalyze pattern noted
0%
50%
Config file location correct
100%
100%
Import rewrite archetype with autofix
Uses ImportDeclaration visitor
100%
100%
Autofix implemented
100%
100%
fixable declared in meta
100%
100%
Uses ESLintUtils.RuleCreator.withoutDocs
62%
100%
Kebab-case rule name
100%
100%
CamelCase export name
80%
100%
RuleTester from @typescript-eslint
100%
100%
Invalid tests have output field
100%
100%
index.ts registration
100%
100%
eslint.config.ts registration
33%
100%
Autofix safety noted
100%
100%
552fb5c
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.