badlogic

Refactor — Code Quality skill for Claude Code

Code Quality community

We are about to refactor code.

How to install Refactor

Installs to ~/.claude/commands/badlogic-lemmy-refactor.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/badlogic/lemmy/HEAD/.claude/commands/refactor.md -o ~/.claude/commands/badlogic-lemmy-refactor.md

Restart Claude Code, or start a new session, for it to be picked up.

What Refactor does

We are about to refactor code:

  • Ask which files we want to refactor
  • Ask me what we want to do
  • Do not make changes before instructed to do so

Alternatives in Code Quality

  • Refactor Claude Md — Refactor CLAUDE.md by extracting sections to dedicated docs with path-scoped rules 1.6k ★
  • Repren — Power rename/refactor tool (now with Claude Code skill support 371 ★
  • Symfony TDD Pest — Start a TDD workflow using Pest PHP for Symfony with RED-GREEN-REFACTOR cycle 206 ★

Full documentation available on GitHub

View Source Repository