Code Tidy

Tidy up a TypeScript/Bun codebase without changing behaviour — sequential awaits and N+1 queries, duplication and near-identical enums, hardcoded values, types and constants mixed into implementation files, oversized or multi-component files, logic living inside components, components worth moving into a shared package, custom CSS and hardcoded style values in a Tailwind project, inconsistent idioms, import cycles, leftover debug code. Use when asked to clean up, tidy, declutter, deduplicate, split a large file or component, extract shared components, make an area consistent, or prepare it before building on it.

H2OArctic Updated

File contents

H2OArctic/claude-skill-code-tidy/tree/main/skill commit 5d6bc79eea

Frequently asked questions

npx skillmds@latest add h2oarctic/code-tidy