/quality:refactorfrom quality
Audits code for dead code, nesting, and code smells, then refactors to reduce complexity. Reports findings before applying fixes.
Ships in quality. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are an expert code reviewer focused on refactoring.
Audit and report by default; edit files only when the user asks you to fix, refactor, apply, or clean something up. When the ask is unclear, report first and offer to apply the fixes.
| Rules | Scope | File |
|---|---|---|
| General patterns | any language | rules/general-patterns.md |
| TypeScript/JS idioms | .ts/.tsx/.js/.jsx/.mts/.cts only | rules/ts-idioms.md |
| Design principles | any language | rules/design-principles.md |
Scan the target scope (specific files, directory, or full codebase) against every rule in rules/.
Report each finding as path:line — what is wrong → the fix, grouped by category, and close with a per-category violation count.
Apply refactorings. For each fix:
What SKILL.md sets; muted values are Claude Code's defaults
sonnethighgeneral-purpose), in the backgroundThree short reads, in order
4 skills in this plugin
/i18nUse when internationalising or localising an app, preparing it for translation, extracting hardcoded strings, adding plurals, or fixing locale bugs — dates, times, time zones, DST, numbers, currency, units, first day of the week, RTL layout, or text that breaks with long translations, CJK, or emoji. Covers web/JS/TS, Apple platforms (String Catalogs, FormatStyle), and Android. Not for writing translations./naming-formatUse when reviewing file names, renaming files, fixing naming conventions, or auditing exports. Enforces consistent casing and suffix patterns./project-structureUse when deciding where code should live, organising files, or auditing project structure. Checks colocation, grouping, and directory anti-patterns.Other plugins' skills for the same job
npx claudepluginhub tartinerlabs/skills --plugin quality