By bhanu91221
Complete Salesforce DX plugin for Claude Code — agents, commands, and hooks for Apex, LWC, SOQL, Flows, and SFDX CI/CD
Create, review, refine, or debug Apex classes (service, selector, controller, utility, domain)
Create or improve Apex test classes with coverage targeting and Salesforce best practices
Create, refine, or debug async Apex (Batch, Queueable, Schedulable, Future methods)
Full code review across Apex, LWC, and Flows using specialized agents
Show available sfdx-iq commands and usage help
Use this agent to review Apex code (classes, triggers, batch, queueable, schedulable) for best practices, governor limit risks, bulkification, SOQL performance, naming conventions, security, and code quality. Produces a structured review with severity-rated findings.
Use this agent for Salesforce DevOps tasks including deployment strategy, test patterns (TDD, TestDataFactory, mocks), org health analysis, metadata dependency mapping, technical debt identification, and CI/CD pipeline configuration.
Use this agent to analyze Salesforce Flows for best practices including DML optimization, fault path coverage, before-save vs after-save patterns, subflow decomposition, variable naming, and recursion prevention.
Use this agent for Salesforce integration patterns including Named Credentials, REST/SOAP callouts, Platform Events, Change Data Capture, async callout patterns, retry with exponential backoff, and circuit breaker implementation.
Use this agent to review Lightning Web Components for best practices including proper decorator usage, lifecycle hooks, event handling, accessibility, CSS patterns, import conventions, and component composition.
Modifies files
Hook triggers on file write and edit operations
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.
This plugin gives Claude Code deep Salesforce expertise. When you install it, Claude understands Salesforce best practices -- security, governor limits, permission models, flows, deployments -- and applies them automatically to everything it builds or reviews for you.
Ask Claude to review your Apex code, design a data model, check your flows, build a trigger, or plan a feature -- and it will follow Salesforce platform rules without you having to remind it.
| If you are... | This plugin helps you... |
|---|---|
| A Salesforce Admin | Review flows, design permission sets, analyze data models, check org health -- all through plain English conversation with Claude |
| A Salesforce Developer | Write bulkified Apex, build secure LWC, create triggers, catch governor limit violations, scaffold components with tests |
| A DevOps / Release Manager | Plan deployments, manage packages, run CI/CD checks |
You can install this plugin two ways -- pick whichever you are most comfortable with.
Add the marketplace (one-time)
claude plugin marketplace add bhanu91221/sfdx-iq
Install the plugin
claude plugin install sfdx-iq
Add the marketplace (one-time)
/plugin marketplace add bhanu91221/sfdx-iq
Install the plugin
/plugin install sfdx-iq
After installing the plugin, copy the plugin configuration into each Salesforce project you work on. This is a one-time step per project.
Open a terminal, navigate to your Salesforce project folder, and run:
npx sfdx-iq setup-project
Open Claude Code cli in your Salesforce project and type:
/setup-project
This is a good option if npm is blocked on your network (corporate VPN).
Download the plugin files from GitHub, then copy the following into the .claude folder inside your Salesforce project:
your-salesforce-project/
.claude/
settings.json <-- copy from plugin's .claude-project-template/ folder
CLAUDE.md <-- copy from plugin's .claude-project-template/ folder
For detailed manual copy commands, see the Installation Guide.
After installation and project setup, open your Salesforce project in Claude Code and try these commands.
| Command | What it does |
|---|---|
/flow --review | Checks your flows for performance issues and missing fault paths |
/org-health | Analyzes your org's permissions, sharing rules, and metadata for technical debt |
/data-model | Helps design or analyze object relationships and field architecture |
/security-scan | Scans for CRUD/FLS, sharing, and injection vulnerabilities |
/status | Shows plugin status and org connection |
Try typing /org-health in Claude Code. The plugin will analyze your org's permission model, sharing rules, and metadata structure, then give you a report with specific recommendations.
| Command | What it does |
|---|---|
/apex-class --review | Reviews Apex code for quality, bulkification, and security |
/trigger --new | Scaffolds a complete trigger + handler + test (3 files) |
/lwc --new | Scaffolds an LWC component with JS, HTML, CSS, meta, and test |
/security-scan | Scans for CRUD/FLS, sharing, and injection vulnerabilities |
/code-review --apex --all | Full Apex review with specialist agents running in parallel |
Run /help for the full command list, or see the Command Reference.
Note: If you see "Not an SFDX project", make sure you are in a directory with
sfdx-project.jsonand you have run the setup-project step above.
The plugin adds two layers of Salesforce intelligence to Claude:
Commands (21 self-contained tools) -- Each command includes its own domain standards inline. When you run /apex-class --review, the command already knows Apex bulkification rules, SOQL standards, governor limits, and error handling patterns. No context loading step required.
Agents (7 specialists) -- Think of these as 7 Salesforce consultants that Claude can call on. Commands invoke them automatically when deeper expertise is needed. You never call agents directly.
npx claudepluginhub bhanu91221/sfdx-iq --plugin sfdx-iqClaude Code skill pack for Salesforce (30 skills)
Complete Salesforce expertise system across ALL platforms and integration scenarios with Windows/Git Bash compatibility. PROACTIVELY activate for: (1) ANY Salesforce task (API/data/Apex/Lightning/Flow), (2) SOQL/SOSL query design and optimization, (3) REST/SOAP API integration and authentication, (4) Apex development (classes/triggers/batch/scheduled) with Spring '25 features, (5) Lightning Web Components with lightning/graphql module and Aura development, (6) Data model design and schema management (objects/fields/relationships), (7) Integration patterns (source-to-Salesforce, Salesforce-to-target), (8) Deployment and metadata management (change sets/SFDX/CLI) with Windows/Git Bash path handling, (9) Security model implementation (profiles/permissions/sharing), (10) Flow/Process Builder/Flow Orchestrator automation, (11) Agentforce 2.0 AI agents and autonomous automation, (12) Data Cloud Vector Database with semantic search, (13) Hyperforce public cloud architecture. Provides: comprehensive SFDC object schema knowledge (standard/custom objects, all fields, relationships), complete API reference (REST/SOAP/Bulk/Streaming) for API 63.0/64.0, Apex language mastery with Compression and FormulaEval namespaces (Spring '25 GA), Lightning platform expertise with Winter '26 GraphQL updates and SLDS 2.0 dark mode, SOQL/SOSL optimization, authentication methods (OAuth/JWT/Session), limits and best practices, governor limits handling, integration patterns (ETL/real-time/batch/Data Cloud), metadata API operations, SFDX CLI commands with cross-platform path conversion (MSYS_NO_PATHCONV, shell detection, cygpath), version-specific guidance, platform event architecture, Agentforce 2.0 development with LLM Open Connector, Data Cloud Vector Database for unstructured data and hybrid search, Flow Orchestrator multi-user workflows, Hyperforce cloud-native architecture, and Windows Git Bash/MINGW compatibility for SF CLI deployments. Ensures production-ready, scalable, secure Salesforce solutions following Spring '25/Summer '25 best practices and Well-Architected Framework.
All Salesforce platform skills from forcedotcom/sf-skills: Apex, LWC, metadata, Flows, OmniStudio, Data Cloud, Agentforce, UI bundles, integrations, diagrams, and more. Sourced directly from the public upstream repo so it stays current as Salesforce adds or changes skills.
Agentforce Agent Development Life Cycle — author, discover, scaffold, deploy, test, secure, and optimize .agent files
Agentforce Agent Development Life Cycle — author, discover, scaffold, deploy, test, and optimize .agent files
Use this agent when you need to bridge technical and sales requirements for B2B enterprise deals. This agent specializes in technical demos, POC development, RFP responses, solution architecture for sales, and technical objection handling. Handles complex enterprise sales cycles with technical evaluation phases. Examples: