sf-build-fix

Automate incremental fixing of Salesforce deployment errors from Apex compilation, metadata conflicts, and test failures.

13|2|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/jiten-singh-shahi/salesforce-claude-code --skill sf-build-fix
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sf-build-fix
Source: https://github.com/jiten-singh-shahi/salesforce-claude-code/tree/main/.cursor/skills/sf-build-fix
Command: npx skills add https://github.com/jiten-singh-shahi/salesforce-claude-code --skill sf-build-fix

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Fix build and deployment errors incrementally. Parse error output, classify issues, fix one at a time, re-validate.

Reference: @../_reference/DEPLOYMENT_CHECKLIST.md

Core Features & Use Cases

  • Step 1 — Capture Errors: Run a dry-run deployment or check compiler output.
  • Step 2 — Parse and Classify: Group errors by type and fix in a dependency order.
  • Step 3 — Fix One at a Time: For each error, read the file at the reported line and apply the minimal fix.
  • Step 4 — Re-validate: After all fixes, run a full or targeted deployment validation.

Quick Start

Run a dry-run deployment and paste the compiler output to begin automatic incremental fixes.

Frequently Asked Questions about sf-build-fix

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix Salesforce deployment errors blocking my Apex compilation?

Fix Salesforce deployment errors by automating the identification and incremental remediation of Apex compilation, metadata conflicts, and test failures through error parsing and one-at-a-time minimal fixes.

What causes metadata conflicts during a Salesforce project deploy validation?

Metadata conflicts during Salesforce project deploy validation arise from incompatible component changes across Apex, metadata, and dependencies, requiring dependency-aware sequencing and incremental remediation to resolve.

How do I resolve Salesforce Apex test failures stopping my deployment?

Resolve Apex test failures by parsing dry-run deployment output, classifying issues by type, and applying minimal fixes to reported file lines in a dependency-aware sequence before re-validating.

Can I automate incremental fixing of Salesforce build errors?

Yes, you can automate incremental fixing of Salesforce build errors using a deterministic workflow that parses errors, sequences remediation by dependency, applies one-at-a-time fixes, and runs targeted deployment re-validation.

What is the best way to re-validate Apex compilation fixes after a failed deployment?

The best way to re-validate Apex compilation fixes is to run a full or targeted deployment validation after applying minimal fixes to each error sequentially, ensuring all dependency conflicts are fully resolved.