Deep analysis of Salesforce code — answer questions about behavior, logic, and data flow
From claude-sfdx-iqnpx claudepluginhub bhanu91221/claude-sfdx-iq --plugin claude-sfdx-iq/analyzeAnalyzes project code across quality, security, performance, and architecture domains, producing severity-rated findings, actionable recommendations, metrics, and reports.
/analyzeAnalyzes stock ticker fundamentals, news, price action, institutional holders, and delivers valuation, risks, catalysts, and investment recommendation.
Answer specific questions about any Salesforce code artifact: Apex classes, triggers, LWC components, Flows, SOQL queries. Understands the code's behavior, logic flow, and data relationships.
Status__c through all the code that touches it"Load context — Invoke the context-assigner agent with the description of this analysis task. Display the announcement block (loaded skills, rules, token count) to the user before proceeding.
Identify the target
--file <path> is provided, use that file--field <fieldName> is provided, search the codebase for all code that reads or writes that fieldforce-app/**/classes/<name>.cls, force-app/**/triggers/<name>.triggerforce-app/**/lwc/<name>/<name>.jsforce-app/**/flows/<name>.flow-meta.xmlRead and understand the target file(s)
--field flag: also read all files that reference the field (grep for field API name across the codebase)Answer the user's question
Field tracing (--field <SObject.FieldAPIName> or --field <FieldAPIName>)
Data flow analysis (triggered by questions like "what happens when", "trace", "follow")
Output format
| File | Line | Operation | Condition |
|---|---|---|---|
| AccountTrigger.trigger | 12 | Write (before insert) | Always |
| AccountService.cls | 47 | Write | if (record.Type == 'Partner') |
| AccountValidation.cls | 23 | Read | Validation check |
| Flag | Description | Default |
|---|---|---|
--file <path> | File to analyze | Active editor file or prompt |
--field <name> | Field API name to trace across codebase (e.g., Status__c or Account.Status__c) | None |
--question <text> | Specific question to answer (alternative to inline question) | User's message |
/analyze --file force-app/main/default/triggers/AccountTrigger.trigger
/analyze --file force-app/main/default/lwc/opportunityTiles/opportunityTiles.js
/analyze --field Status__c
/analyze --field Account.AnnualRevenue
/analyze --file AccountService.cls --question "when does this send an email?"