From refactor
Provides language-specific best practices, code quality standards, and framework detection. Use when executing refactoring workflows, applying code quality rules, or checking framework-specific patterns.
How this skill is triggered — by the user, by Claude, or both
Slash command
/refactor:best-practicesThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Each file extension maps to a specific reference:
references/_template.mdreferences/go.mdreferences/python.mdreferences/python/INDEX.mdreferences/python/_sections.mdreferences/python/_template.mdreferences/python/fundamental-background.mdreferences/python/fundamental-exceptions.mdreferences/python/fundamental-future-imports.mdreferences/python/fundamental-global-state.mdreferences/python/fundamental-imports.mdreferences/python/fundamental-packages.mdreferences/python/fundamental-resources.mdreferences/python/fundamental-threading.mdreferences/python/language-comprehensions.mdreferences/python/language-conditionals.mdreferences/python/language-decorators.mdreferences/python/language-default-args.mdreferences/python/language-generators.mdreferences/python/language-getters-setters.mdEach file extension maps to a specific reference:
.ts, .js — references/typescript.md.tsx, .jsx — references/typescript.md + references/react/react.md.py — references/python.md + references/python/INDEX.md.go — references/go.md.swift — references/swift.mdUniversal principles are in references/universal.md.
For Next.js projects, the references/react/ directory provides:
references/react/rules/INDEX.md — pattern index by impact levelreferences/react/rules/_sections.md — priorities and categoriesany; proper types or unknown with guards are required_vars and re-exports of deleted code are deletedreferences/universal.md)npx claudepluginhub rootial/dotclaude --plugin refactorGuides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Enforces test-driven development: write failing test first, then minimal code to pass. Use when implementing features or bugfixes.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.