This skill guides strict refactoring of TS/React code, ensuring one export per file and mandatory post-refactor checks to elevate quality.
npx playbooks add skill busirocket/agents-skills --skill busirocket-refactor-workflow
Strict, step-by-step refactoring guidance for maintaining code quality.
Use this skill when:
@file workflow)types/yarn check:all)as a mandatory quality gate.
types/.When referencing @file for a one-shot refactor:
interface/type declarations in non-type files.refactor-file-workflow - @file refactor workflow (strict constraints)refactor-mandatory-checks - Mandatory checks after refactorrefactor-goals - Goals for refactoring (many small files, one export perfile)
refactor-decision-rules - Decision rules for when to split filesrefactor-never-index-files - Never use index filesrefactor-post-refactor-checks - Post-refactor checks (MANDATORY)refactor-golden-path - Golden path for post-refactor checksrefactor-file-size-guidelines - File size targets and max linesrefactor-if-something-fails - What to do if checks failrefactor-when-to-split - Fast heuristics for when to split filesbusirocket-core-conventions - File structure and boundariesbusirocket-typescript-standards - TypeScript standards to enforcebusirocket-react - Component/hook patternsRead individual rule files for detailed explanations and code examples:
rules/refactor-file-workflow.md
rules/refactor-decision-rules.md
rules/refactor-post-refactor-checks.md
Each rule file contains:
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.