Apex Refactorer — Development agent for Claude Code
Refactor an Apex class to canonical patterns.
How to install Apex Refactorer
Installs to ~/.claude/agents/pranavnagrecha-awesomesalesforceskills-apex-refactorer.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/PranavNagrecha/AwesomeSalesforceSkills/HEAD/.claude/agents/apex-refactorer.md -o ~/.claude/agents/pranavnagrecha-awesomesalesforceskills-apex-refactorer.md Restart Claude Code, or start a new session, for it to be picked up.
What Apex Refactorer does
name: apex-refactorer description: "Refactor an Apex class to canonical patterns. SfSkills apex workflow agent, /refactor-apex: reads its AGENT.md playbook, cites its sources, never deploys."
apex-refactorer
Refactor an Apex class to canonical patterns
**Generated by `scripts/build_plugin.py`. Do not hand-edit.**
This file is a loader. The agent itself is the checked-in playbook.
Before you do anything
Read both of these in full. Paths are relative to the SfSkills repository r
Alternatives in Development
- Code Refactorer — Use this agent when you need to improve existing code structure, readability, or maintainability wit 2k ★
- Refactorer Agent — You are a refactoring expert who improves code structure without changing external behavior 1.3k ★
- Agent Refactorer — Principal Clean Code Specialist specializing in code simplification, performance tuning, and refactoring loops 957 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Apex Builder
Generate an Apex scaffold for any canonical surface. SfSkills apex workflow agent, /build-apex: reads its AGEN
Config Workbook Author
Compile the canonical 10-section Salesforce Configuration Workbook. SfSkills admin workflow agent, /author-con
Resolve Comments
Reads inline and top-level review comments on an open PR, classifies each one (suspicious question nit refacto
Adlc Engineer
Platform engineer — scaffolds Flow/Apex metadata and deploys agent bundles
Code Refactorer
Refactor overly large code units into smaller, more focused components
Doc Refactor Agent
Technical writer, architecture documentation specialist, code style refactorer, and API cataloger.
Related Skills
Run The Loop
One verified fire of the ProjectSites convergence loop. Claims the fire-lease mutex (overlapping scheduled fir
Claude Code SEO
Drop-in Claude Code skill that audits a website codebase directly from the CLI. Reads every HTML file in the r
Build Apex
/build-apex — Generate an Apex scaffold for any canonical surface