Refactoring skills for Claude Code and Codex

Skills for refactoring code and paying down technical debt. 897 skills on Ragspaces, ranked by real installs, GitHub stars and freshness. Free skills install into your own Claude Code or Codex with one command; paid ones run online.

Top Refactoring skills

  1. Top Design by @ninaberg ($1.00 per run): Create award-winning, immersive web experiences at the level of Awwwards-featured agencies. Use when the user mentions "Awwwards quality", "make my site stunning", "scroll animations", "parallax…
  2. ticket-writer by @path_to_ai_com (Free): Write high-quality product tickets — user stories, bugs, improvements, spikes, and technical debt items. Use this skill whenever the user wants to create, refine, split, or review a ticket for any…
  3. testing-standards by @Yoodaddy0311 (Free): Testing standards enforcing 80% coverage, Testing Pyramid, and TDD workflow. Auto-activates when: writing tests, implementing features, fixing bugs, refactoring code. Triggers: test, coverage, TDD…
  4. tdd-workflow by @Yoodaddy0311 (Free): Test-first discipline for new features, bug fixes, and coverage work. Auto-activates when tests are requested, TDD is mentioned, or refactoring needs a safety net. Triggers: test, TDD, test-driven…
  5. principles by @Yoodaddy0311 (Free): Core development principles enforcing SOLID, DRY, KISS, YAGNI, and quality-first design. Auto-activates when: writing code, making design decisions, refactoring, reviewing architecture. Triggers…
  6. persona-refactorer by @Yoodaddy0311 (Free): Code quality and technical debt management decision framework for systematic refactoring and simplification. Use when user requests refactoring, code cleanup, technical debt reduction, code smell…
  7. fp-refactor by @Yoodaddy0311 (Free): 명령형 코드를 함수형 패턴으로 전환하는 마이그레이션 가이드. Auto-activates when: fp-ts 도입, 함수형 에러 핸들링 전환, 또는 Either/Option/Task 패턴 적용 요청 시. Triggers: fp refactor, Either, Option, TaskEither, fp-ts, functional programming…
  8. graphql-expert-best-practices by @wispbit_ai (Free): GraphQL performance optimization and best practices for building scalable APIs. This skill should be used when writing, reviewing, or refactoring GraphQL schemas, resolvers, or query execution code…
  9. postgresql-expert-best-practices-code-review by @wispbit_ai (Free): PostgreSQL database design, migration, and performance optimization best practices. This skill should be used when writing, reviewing, or refactoring database schemas, migrations, or query patterns…
  10. rust-expert-best-practices-code-review by @wispbit_ai (Free): Rust best practices and code quality guidelines for writing idiomatic, safe, and performant Rust code. This skill should be used when writing, reviewing, or refactoring Rust code. Triggers on tasks…
  11. codebase-singularity by @vishalsachdev (Free): Apply the codebase singularity approach: reliable codebase understanding and change with a repeatable workflow, guardrails, and verification gates. Use for repo work (feature, bugfix, refactor…
  12. qt-qml by @TheQtCompanyRnD (Free): Applies QML best practices when producing or working with QML source code. Use whenever QML code is the primary subject: writing, fixing, refactoring, optimizing, or debugging QML files, components…
  13. playwright-page-object-model by @TheBushidoCollective (Free): Use when creating page objects or refactoring Playwright tests for better maintainability with Page Object Model patterns.
  14. test-driven-development by @TheBushidoCollective (Free): Use when writing new functions, adding features, fixing bugs, or refactoring by applying TDD principles - write failing tests before implementation code, make them pass, then refactor.
  15. refactor by @TheBushidoCollective (Free): Restructure code to improve quality without changing behavior
  16. simplicity-principles by @TheBushidoCollective (Free): Use when designing solutions, adding features, or refactoring by applying KISS, YAGNI, and Principle of Least Astonishment to write simple, predictable code.
  17. boy-scout-rule by @TheBushidoCollective (Free): Use when modifying existing files, refactoring, improving code quality, or touching legacy code by applying the Boy Scout Rule to leave code better than you found it.
  18. legacy-code-safety by @TheBushidoCollective (Free): Use when modifying, removing, or refactoring code that lacks test coverage. Emphasizes the danger of untested changes and the RGR workflow to add characterization tests before modifications.
  19. rails-dev by @tech_leads_club (Free): Opinionated Rails conventions: rich models, concerns, CRUD-everything, state-as-records, minimal dependencies, Minitest with fixtures. Load this skill BEFORE any code-level thinking, not only before…
  20. codenavi by @tech_leads_club (Free): Your pathfinder for navigating unknown codebases. Investigates with precision, implements surgically, and never assumes — if it doesn't know, it says so. Maintains a .notebook/ knowledge base that…
  21. coding-guidelines by @tech_leads_club (Free): Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, modifying, or reviewing code — implementation tasks, code changes, refactoring, bug fixes, or feature development. Do…
  22. legacy-migration-planner by @tech_leads_club (Free): Use when planning legacy system migrations, codebase modernization, monolith decomposition, microservices consolidation, cross-language rewrites, or framework upgrades. Invoke for strangler fig…
  23. tactical-ddd by @tech_leads_club (Free): Detects anemic domain models, validates and refactors them into rich domain models, and enforces tactical DDD patterns (Entities, Value Objects, Aggregates, Domain Services, Domain Events). Use when…
  24. component-common-domain-detection by @tech_leads_club (Free): Finds duplicate business logic spread across multiple components and suggests consolidation. Use when asking "where is this logic duplicated?", "find common code between services", "what can be…
  25. plan by @skaisser (Free): Create structured implementation plans with git branches and memory search. Use this skill whenever the user wants to plan a feature, fix, refactor, or any development task. Triggers on: "/plan"…
  26. bp-tdd-review by @skaisser (Free): TDD variant of plan-review — restructures the plan to follow Red/Green/Refactor cycle. Triggers on "/bp-tdd-review", "/tdd-review", "tdd plan", "test-driven review", "red green refactor", or any…
  27. uncle-bob-craft by @sickn33 (Free): Use when performing code review, writing or refactoring code, or discussing architecture; complements clean-code and does not replace project linter/formatter.
  28. repo-native-refactor by @sickn33 (Free): Review diffs without editing, or perform evidence-based cleanup while preserving authorized behavior, public contracts, and domain ownership.
  29. nerdzao-elite by @sickn33 (Free): Software engineering and product design workflow and Senior Product Designer. Full workflow with planning, architecture, TDD, clean code, and pixel-perfect UX validation.
  30. legacy-modernizer by @sickn33 (Free): Refactor legacy codebases, migrate outdated frameworks, and implement gradual modernization. Handles technical debt, dependency updates, and backward compatibility.
  31. fp-refactor by @sickn33 (Free): Comprehensive guide for refactoring imperative TypeScript code to fp-ts functional patterns
  32. codebase-cleanup-refactor-clean by @sickn33 (Free): You are a code refactoring expert specializing in clean code principles, SOLID design patterns, and modern software engineering best practices. Analyze and refactor the provided code to improve its…
  33. code-refactoring-refactor-clean by @sickn33 (Free): You are a code refactoring expert specializing in clean code principles, SOLID design patterns, and modern software engineering best practices. Analyze and refactor the provided code to improve its…
  34. codex-review by @sickn33 (Free): Professional code review with auto CHANGELOG generation, integrated with Codex AI. Use when you want professional code review before commits, you need automatic CHANGELOG generation, or reviewing…
  35. code-refactoring-context-restore by @sickn33 (Free): Resume interrupted project work from a handoff and current checkout evidence; reconcile completed work, pending changes and existing user constraints.
  36. brooks-debt by @sickn33 (Free): Tech debt assessment that identifies, classifies, and prioritizes maintainability problems — helping teams build a refactoring roadmap — drawing on twelve classic engineering books.
  37. ast-grep-codemods by @sickn33 (Free): Search and refactor code structurally with ast-grep (Tree-sitter AST rules). Replace multi-line call sites without corrupting comments or strings, preview diffs first, and verify YAML rules.
  38. andrej-karpathy by @sickn33 (Free): Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid overcomplication, make surgical changes, surface assumptions, and define…
  39. test-driven-development by @sickn33 (Free): Use a failing behavioral test to guide a feature or bug fix, then implement and refactor with relevant regression checks.
  40. improve-codebase-architecture by @sammcj (Free): Find deepening opportunities in a codebase, informed by whatever domain language and architectural decisions are already documented in the repo. Use when the user wants to improve architecture, find…

Related topics

Browse all skills · How Ragspaces works · Create a free account