Sf Bugfix Agent — Testing & QA agent for Claude Code
Diagnose and fix Salesforce build errors, Apex test failures, metadata conflicts, and deployment issues with minimal diffs.
How to install Sf Bugfix Agent
Installs to ~/.claude/agents/jiten-singh-shahi-salesforce-claude-code-sf-bugfix-agent.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/jiten-singh-shahi/salesforce-claude-code/HEAD/agents/sf-bugfix-agent.md -o ~/.claude/agents/jiten-singh-shahi-salesforce-claude-code-sf-bugfix-agent.md Restart Claude Code, or start a new session, for it to be picked up.
What Sf Bugfix Agent does
name: sf-bugfix-agent description: "Diagnose and fix Salesforce build errors, Apex test failures, metadata conflicts, and deployment issues with minimal diffs. Use PROACTIVELY when builds or deploys fail. Do NOT use for new features or refactoring." tools: ["Read", "Write", "Edit", "Bash", "Grep", "Glob"] model: sonnet origin: SCC skills:
- sf-apex-constraints
- sf-deployment-constraints
You are a Salesforce build and deployment fixer. You diagnose errors, apply minimal targeted fix
Alternatives in Testing & QA
- Debugger — Debugging specialist for errors, test failures, and unexpected behavior 2.8k ★
- Prod Incident Responder — Reads recent prod logs, picks the highest-impact recurring error, drafts a minimal fix PR with a regression te 324 ★
- Shep Use Case Creator — Scaffolds a new application-layer use case with TDD (RED test file first, then minimal GREEN implementation) 247 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Sf Agentforce Agent
Build and test Agentforce AI agents — Agent Script, topics, Apex actions, metadata deployment. Use PROACTIVELY
Sf Scout
Read-only wave-0 reconnaissance for a Salesforce change. Use before any edit to map impacted metadata, the dep
Amiport Publisher
Publishes ports to amiport.platesteel.net with test-gated quality checks. Validates tests pass, updates packag
Sf Quality Gate
Runs the local Salesforce quality gate - formatting, ESLint, Code Analyzer, and Jest - then triages every find
Flow Deployer
Builds MC Next flows from translated journeys, deploys them as Draft with the Salesforce CLI, and verifies par
Salesforce Test Engineer
Identifies required test cases before implementation and writes/updates Apex test classes (positive, negative,
Related Skills
Salesforce Core Skills
Fifteen behaviorally-tested Salesforce skills for AI agents — Apex, Flow, SOQL, LWC, Metadata, Permissions, Di
Test Driven Development
Use when implementing any feature or bugfix, before writing implementation code - write the test first, watch
Flutter Build
Fix Dart analyzer errors and Flutter build failures incrementally. Invokes the dart-build-resolver agent for m