Agent Refactor Code
Description
--- 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
Installation
Installs to ~/.claude/skills/amey-thakur-ai-skills-agent-refactor-code/SKILL.md
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.
Full documentation available on GitHub
View Source RepositoryRelated Skills
Import Drawio
Redraw a draw.io file as an editorial diagram at a chosen format, size, and detail level
Code Quality Import Mermaid
Redraw Mermaid as an editorial diagram at a chosen format, size, and detail level
Code Quality Open Code Review
/open-code-review
Code Quality Job Stories
- Create job stories with acceptance criteria in JTBD format
Code Quality Wwas
- Create backlog items in Why-What-Acceptance format
Code Quality Code Quality Review
Review code quality in: $ARGUMENTS
Code Quality