Refactoring — Claude Code Tools
Browse 162 Claude Code tools tagged "Refactoring".
Showing top 50 of 162 results, ranked by popularity.
Improve Codebase Architecture
Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.
by mattpocock
Tdd
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
by mattpocock
Codebase Design
Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, deci...
by mattpocock
Migrate To Shoehorn
Migrate test files from `as` type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace `as` in tests, or nee...
by mattpocock
Setup Ts Deep Modules
Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its e...
by mattpocock
Implement Spec
Implement the result of /to-spec and /to-tickets in code.
by mattpocock
Remotion To Hyperframes
Port an existing Remotion (React) composition's source to HyperFrames HTML. Use ONLY on an explicit ask to port/convert/migrate/translate a Remotio...
by heygen-com
Redesign Existing Projects
Upgrades existing websites and apps to premium quality. Audits current design, identifies generic AI patterns, and applies high-end design standard...
by leonxlnx
Request Refactor Plan
Create a detailed refactor plan with tiny commits via user interview, then file it as a GitHub issue. Use when user wants to plan a refactor, creat...
by mattpocock
Vercel Composition Patterns
React composition patterns for scaling components and avoiding boolean prop proliferation.
by vercel-labs
Prisma Upgrade V7
Complete migration guide from Prisma ORM v6 to v7 covering all breaking changes. Use when upgrading Prisma versions, encountering v7 errors, or mig...
by prisma
Prisma Mongodb Upgrade
Decision and migration guide for Prisma ORM MongoDB projects on v6, which have no upgrade path to v7. Use when a MongoDB project asks about upgradi...
by prisma
Explore Code
Rigor Improve implementation leaf skill for auditable candidate implementation in deep learning research repositories. Use when the researcher expl...
by lllllllama
Review Animations
Reviews animation and motion code against a high craft bar derived from Emil Kowalski's design engineering philosophy. Default to flagging; approva...
by emilkowalski
Python Patterns
Pythonic idioms, PEP 8 standards, type hints, and best practices for building robust, efficient, and maintainable Python applications.
by affaan-m
Golang Patterns
Idiomatic Go patterns, best practices, and conventions for building robust, efficient, and maintainable Go applications.
by affaan-m
Tdd Workflow
Use this skill when writing new features, fixing bugs, or refactoring code. Enforces test-driven development with 80%+ coverage including unit, int...
by affaan-m
Cpp Coding Standards
C++ coding standards based on the C++ Core Guidelines (isocpp.github.io). Use when writing, reviewing, or refactoring C++ code to enforce modern, s...
by affaan-m
Rust Patterns
Idiomatic Rust patterns, ownership, error handling, traits, concurrency, and best practices for building safe, performant applications.
by affaan-m
Ponytail
Forces the laziest solution that actually works, simplest, shortest, most minimal. Channels a senior dev who has seen everything: question whether...
by DietrichGebert
Improve Animations
Survey a codebase's animation and motion code as a senior motion advisor, then produce a prioritized audit and self-contained implementation plans...
by emilkowalski
Karpathy Guidelines
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid overcomplication, make surgic...
by multica-ai
Tdd Workflow
tdd workflow
by affaan-m
Ponytail Review
Code review focused exclusively on over-engineering. Finds what to delete: reinvented standard library, unneeded dependencies, speculative abstract...
by DietrichGebert
Strategic Compact
strategic compact
by affaan-m
Content Hash Cache Pattern
content hash cache pattern
by affaan-m
Kotlin Patterns
kotlin patterns
by affaan-m
Rust Patterns
rust patterns
by affaan-m
Ponytail Audit
Whole-repo audit for over-engineering. Like ponytail-review, but scans the entire codebase instead of a diff: a ranked list of what to delete, simp...
by DietrichGebert
Safe Refactor
Restructure code while preserving behavior. Use for extraction, consolidation, ownership moves, or cleanup where verification must bracket structur...
by juliusbrussee
Surgical Patch
Fix bugs and small behavior changes at the narrowest responsible layer. Use when regression proof, preserved surrounding behavior, and task-relevan...
by juliusbrussee
Ponytail Debt
Harvest every `ponytail:` comment in the codebase into a debt ledger, so the deliberate shortcuts and deferrals ponytail leaves behind get tracked...
by DietrichGebert
Code Review And Quality
Conducts multi-axis code review. Use before merging any change. Use when reviewing code written by yourself, another agent, or a human. Use when yo...
by addyosmani
Code Simplification
Simplifies code for clarity. Use when refactoring code for clarity without changing behavior. Use when code works but is harder to read, maintain,...
by addyosmani
Incremental Implementation
Delivers changes incrementally. Use when implementing any feature or change that touches more than one file. Use when you're about to write a large...
by addyosmani
Source Driven Development
Grounds every implementation decision in official documentation. Use when you want authoritative, source-cited code free from outdated patterns. Us...
by addyosmani
Distill
Strip designs to their essence by removing unnecessary complexity. Great design is simple, powerful, and clean. Use when the user asks to simplify,...
by pbakaus
Deprecation And Migration
Manages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. U...
by addyosmani
Next Cache Components Adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cach...
by vercel
Normalize
Audits and realigns UI to match design system standards, spacing, tokens, and patterns. Use when the user mentions consistency, design drift, misma...
by pbakaus
Extract
Extract and consolidate reusable components, design tokens, and patterns into your design system. Identifies opportunities for systematic reuse and...
by pbakaus
Typescript Advanced Types
Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building typ...
by wshobson
Arrange
Improve layout, spacing, and visual rhythm. Fixes monotonous grids, inconsistent spacing, and weak visual hierarchy. Use when the user mentions lay...
by pbakaus
Smart Explore
Token-optimized structural code search using tree-sitter AST parsing. Use instead of reading full files when you need to understand code structure,...
by thedotmack
Pathfinder
Map a codebase into feature-grouped flowcharts, identify duplicated concerns across features, and propose a unified architecture. Use when asked to...
by thedotmack
Next Best Practices
Comprehensive Next.js development guidelines covering file structure, RSC patterns, data fetching, optimization, and error handling.
by vercel-labs
Zustand
LobeHub Zustand store conventions. Use when editing src/store, store slices, public/internal actions, dispatch actions, flattenActions, optimistic...
by lobehub
Typescript
LobeHub TypeScript style and type-safety guide. Use when editing TS/TSX/MTS, fixing types, choosing interface vs type, avoiding any/object, import...
by lobehub
Python Performance Optimization
Profile and optimize Python code using cProfile, memory profilers, and performance best practices. Use when debugging slow Python code, optimizing...
by wshobson
Architecture Patterns
Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design. Use this skill when...
by wshobson