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
Canonical Term Checker
Greps the working tree (or a diff) for legacy terms that violate CLAUDE.md §10 canonical naming — Recipe→Playb
Code Refactorer
Refactor overly large code units into smaller, more focused components
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
Apex Trigger
Create an Apex trigger and trigger handler class for the object: $ARGUMENTS