/sfskills:debug-lwcfrom SfSkills — Salesforce AI Skill Library
Diagnoses a failing Salesforce LWC bundle from a symptom description. Collects bundle path and symptom, then returns ranked hypotheses with skill citations, read-only diagnostic probes, and a proposed before/after fix.
Claude never picks this command on its own
Its frontmatter has no description. Without a description, Claude Code leaves it out of the list Claude chooses from. Typing /sfskills:debug-lwc still runs it.
Wraps agents/lwc-debugger/AGENT.md. Takes a bundle + a symptom, returns a ranked hypothesis list, read-only diagnostic probes, and a proposed fix.
Ask:
1. Path to the LWC bundle directory?
Example: force-app/main/default/lwc/accountDetail
2. Symptom — what's happening, in as much concrete detail as you can give (≥ 10 words)?
Example: "Record page tile renders blank — no console error — but handleRecord logs the expected payload."
3. Optional — paste any error text, stack trace, or Lightning Inspector event.
4. Optional — where does it reproduce?
record-page / flow-screen / quick-action / experience-cloud / app-page / home-page / utility-bar / local-jest
5. Optional — which files did you change most recently?
6. Optional — may the agent suggest temporary console.log / debugger; probes? (y/N)
Read agents/lwc-debugger/AGENT.md fully + the cited LWC skills and templates/lwc/.
Follow the 5-step plan:
allow_transient_edits=true)/audit-lwc — once the immediate bug is fixed, run a full static pass on the bundle./build-lwc — if the fix implies a ground-up rewrite./gen-tests / /scan-security — if the backing Apex is the real offender./audit-lwc for a full static audit.What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub pranavnagrecha/awesomesalesforceskills --plugin sfskills94 commands in this plugin
/add-skill/add-skill — one command, topic in, landed skill outYou give it a topic. It works out everything else./add-to-backlog/add-to-backlog — add one ask to the release plan```/analyze-field-impact/analyze-field-impact — Score the blast radius of renaming or deleting a fieldWraps [`agents/field-impact-analyzer/AGENT.md`](../agents/field-impact-analyzer/AGENT.md). Returns a risk-scored inventory of every place a field is referenced./analyze-flow/analyze-flow — Flow vs Apex routing + bulkification reviewWraps [`agents/flow-analyzer/AGENT.md`](../agents/flow-analyzer/AGENT.md). For a Flow or an sObject, routes via `standards/decision-trees/automation-selection.md`, checks bulkification, and flags trigger/flow co-existence risks./architect-perms/architect-perms — Design or audit Permission Sets + Permission Set GroupsWraps [`agents/permission-set-architect/AGENT.md`](../agents/permission-set-architect/AGENT.md). Two modes: `design` (from a persona) or `audit` (against the live org)./assess-org/assess-org — Org Health Assessment CommandTriggers the **org-assessor** agent.Other plugins' commands for the same job