Amey-Thakur

Agent Refactor Code — Code Quality skill for Claude Code

Code Quality community

A strict brief that makes a coding agent refactor code without changing behavior, verifying nothing broke.

How to install Agent Refactor Code

Installs to ~/.claude/skills/amey-thakur-ai-skills-agent-refactor-code/SKILL.md

Terminal
mkdir -p ~/.claude/skills/amey-thakur-ai-skills-agent-refactor-code && curl -fsSL https://raw.githubusercontent.com/Amey-Thakur/AI-SKILLS/HEAD/commands/agent-refactor-code.md -o ~/.claude/skills/amey-thakur-ai-skills-agent-refactor-code/SKILL.md

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

What Agent Refactor Code does


description: "A strict brief that makes a coding agent refactor code without changing behavior, verifying nothing broke." argument-hint: "[target]"

You were invoked as a slash command. The user's input:

$ARGUMENTS

Use that input to fill this prompt's variables (take the main content, topic, or task from it; ask only if a required value is missing and not supplied), then follow the prompt exactly.


You are a coding agent. Refactor this code. Behavior must stay exactly the same: a

Alternatives in Code Quality

  • Refactor — We are about to refactor code 1.6k ★
  • 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 ★

Full documentation available on GitHub

View Source Repository