Salesforce-focused compound engineering plugin for Claude Code, Cursor, and Codex. Skills-first V3 architecture with parallel agent dispatch, institutional knowledge compounding, and Apex/LWC/Flow/Integration coverage.
<span data-proof="authored" data-by="ai:claude">Use this index to find agents by topical concern. After the V3 migration, all agents live in a flat</span> <span data-proof="authored" data-by="ai:claude">`agents/`</span> <span data-proof="authored" data-by="ai:claude">directory and are named</span> <span data-proof="authored" data-by="ai:claude">`sf-<name>.agent.md`. The topical groupings below are documentation aids — they do not correspond to filesystem paths.</span>
Conditional document-review persona, selected when the Salesforce planning document has >5 requirements or implementation units, makes significant architectural decisions, covers high-stakes domains (sharing, integrations, AppExchange release), or proposes new abstractions. Spawned by sf-doc-review for Deep plans.
Conditional code-review persona, selected when the Salesforce diff is large (>=50 changed lines) or touches high-risk surfaces like sharing, profile/permset, payments, callouts, or data mutations. Actively constructs failure scenarios to break the implementation.
Expert in Apex bulk processing patterns, collection handling, and trigger context optimization
Expert in Apex error handling, exception patterns, and graceful degradation
Build, modify, debug, and deploy Agentforce agents written in Agent Script. Use when creating or modifying .agent files or aiAuthoringBundle metadata, designing subagents and actions, writing or reviewing an Agent Spec, or running sf agent generate / preview / validate / publish / activate. Trigger phrases: 'build an Agentforce agent', 'create an agent for', 'write an Agent Script', 'design subagents for', 'add an action to my agent', 'deploy this agent', 'publish my Agentforce bundle'. Do NOT trigger for plain Apex, Flow, LWC, or Prompt Template work.
Analyze production Agentforce agent behavior using STDM session traces in Data Cloud, plus a fallback path using sf agent test + sf agent preview --authoring-bundle when STDM is unavailable. Use when investigating production failures, regressions, or performance regressions; querying ssot__AiAgentSession__dlm; reproducing reported issues in preview; or improving the .agent file based on production evidence. Trigger phrases: 'why is my agent failing in production', 'analyze production sessions', 'investigate this Agentforce regression', 'what happened in this session', 'reproduce this production issue', 'find sessions where the agent misrouted'. Do NOT trigger for development-time iteration — use /agentforce-develop or /agentforce-test.
Write, run, and analyze test suites for Agentforce agents — preview-based smoke tests, Testing Center batch suites, action execution, trace diagnosis, and iterative fix loops. Use when running sf agent test create / run / run-eval / results, writing AiEvaluationDefinition test specs, building regression suites, integrating Agentforce tests into CI/CD, or interpreting test failures. Trigger phrases: 'test my Agentforce agent', 'run a smoke test on this agent', 'build a test suite for', 'write an AiEvaluationDefinition', 'why is my agent test failing'. Do NOT trigger for general Apex test class work — use sf-work / sf-review for that.
Generate Apex classes and tests with bulkification, CRUD/FLS, and the project's trigger framework wired in. Covers services, selectors, domain classes, batch / queueable / schedulable, invocable methods, REST resources, and the matching test classes with TestDataFactory + 251+ record bulk tests. Trigger phrases: 'create an Apex class', 'generate a service class', 'write a queueable for', 'scaffold a batch class', 'build an @InvocableMethod', 'add a REST resource', 'generate Apex tests for', 'cover this class with tests'. Pairs with `apex-patterns` (reference) and `test-factory` (TDF reference). Do NOT trigger for triggers themselves — use `apex-trigger-refactor` for trigger work.
Common Apex design patterns including Selector, Service, Domain, and Trigger Handler patterns
External network access
Connects to servers outside your machine
Uses power tools
Uses Bash, Write, or Edit tools
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Instruction-Based Compound Engineering for Salesforce — a multi-platform plugin (Claude Code, Cursor, Codex) where each iteration becomes smarter than the last through institutional knowledge capture and parallel agent dispatch.
v3.0.0 is a BREAKING release. Skills replace commands, agents flatten under
agents/<name>.agent.md, and multi-platform manifests ship for Cursor and Codex alongside Claude Code. SeeCHANGELOG.mdfor the full migration guide for v2.x users.
Multi-platform Salesforce-focused plugin for compound engineering workflows. See the Credits section at the bottom for inspiration sources.
Brainstorm → Plan (40%) → Deepen → Work (20%) → Review (20%) → Compound (20%) → Repeat
│ │ │ │ │ │
│ │ │ │ │ └── Capture to docs/solutions/
│ │ │ │ └── Parallel agent dispatch (59 agents)
│ │ │ └── Implement with pre-research + test checks
│ │ └── Enhance plan with section-level parallel research
│ └── Research & design using 45 skills + parallel research agents
└── Explore requirements through collaborative dialogue
All seven entry points (
/sf-brainstorm,/sf-plan,/sf-deepen,/sf-work,/sf-review,/sf-compound,/sf-lfg) are skills in V3 — they auto-route from natural-language phrases via theirdescriptionfrontmatter, and direct slash invocation continues to work.
Each iteration starts smarter because learnings compound into docs/solutions/, agents, skills, and CLAUDE.md.
Principles. This plugin is opinionated. Seven principles — preserve the quality ceiling, verifiability, stay in the loop, the spec is the artifact, taste over typing, agent-native docs, outsource thinking not understanding — govern every skill and every review. See
PRINCIPLES.md. Each of the seven core workflow skills declares which principles it enforces in its frontmatter.
# Add as a Claude Code plugin
/plugin marketplace add https://github.com/sangameshgupta/sf-compound-engineering-plugin
# Install
/plugin install sf-compound-engineering
# GitHub Copilot
bunx @sangameshgupta/sf-compound-plugin install sf-compound-engineering --to copilot
# Cursor
bunx @sangameshgupta/sf-compound-plugin install sf-compound-engineering --to cursor
# Windsurf
bunx @sangameshgupta/sf-compound-plugin install sf-compound-engineering --to windsurf
# Gemini CLI
bunx @sangameshgupta/sf-compound-plugin install sf-compound-engineering --to gemini
# OpenCode
bunx @sangameshgupta/sf-compound-plugin install sf-compound-engineering --to opencode
# Codex
bunx @sangameshgupta/sf-compound-plugin install sf-compound-engineering --to codex
# Kiro
bunx @sangameshgupta/sf-compound-plugin install sf-compound-engineering --to kiro
# Factory Droid
bunx @sangameshgupta/sf-compound-plugin install sf-compound-engineering --to droid
# Pi
bunx @sangameshgupta/sf-compound-plugin install sf-compound-engineering --to pi
# OpenClaw
bunx @sangameshgupta/sf-compound-plugin install sf-compound-engineering --to openclaw
# Qwen Code
bunx @sangameshgupta/sf-compound-plugin install sf-compound-engineering --to qwen
# Auto-detect and install to all detected tools
bunx @sangameshgupta/sf-compound-plugin install sf-compound-engineering --to all
# Sync from current directory to all detected tools
bunx @sangameshgupta/sf-compound-plugin sync
npx claudepluginhub sangameshgupta/sf-compound-engineering-plugin --plugin sf-compound-engineeringHarness-native ECC operator layer - 67 agents, 271 skills, 92 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
Comprehensive feature development workflow with specialized agents for codebase exploration, architecture design, and quality review
Reliable automation, in-depth debugging, and performance analysis in Chrome using Chrome DevTools and Puppeteer
Access thousands of AI prompts and skills directly in your AI coding assistant. Search prompts, discover skills, save your own, and improve prompts with AI.
Tools to maintain and improve CLAUDE.md files - audit quality, capture session learnings, and keep project memory current.