Set up the sf-compound-engineering-plugin environment for a new Salesforce developer. Validates Salesforce CLI, sfdx-project.json, MCP servers, and Claude Code plugin install. Use when onboarding to the plugin or troubleshooting install. Trigger phrases: 'set up the plugin', 'check plugin prerequisites', 'verify my Salesforce environment'.
How this skill is triggered — by the user, by Claude, or both
Slash command
/sf-compound-engineering:sf-setup [no arguments][no arguments]The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Verify prerequisites, surface missing pieces, and walk the user through installing or configuring each one.
Verify prerequisites, surface missing pieces, and walk the user through installing or configuring each one.
<feature_description> #$ARGUMENTS </feature_description>
sf --version (Salesforce CLI v2+) and report install command if missing.sfdx-project.json in the project root (current dir or first ancestor with one)..mcp.json for Context7 and @salesforce/mcp entries; offer to add the Salesforce DX MCP server.claude /plugin list includes sf-compound-engineering.ast-grep CLI presence (used by review agents for structural Apex/LWC analysis).When asking the user a question, use the platform's blocking question tool (AskUserQuestion in Claude Code, request_user_input in Codex, ask_user in Gemini). Fall back to numbered options in chat when no blocking tool is available. Ask one question at a time. Prefer concise single-select choices when natural options exist.
This skill follows the standard sf-compound-engineering execution discipline:
<feature_description> block above and any referenced files, plans, or issues.force-app/main/default/..., test commands like sf apex run test, deploy commands like sf project deploy validate and sf project deploy start, query the org with sf data query when state inspection is needed.docs/solutions/ (search via the sf-learnings-researcher agent).CLAUDE.md for frontmatter, naming, and protected-artifact rules.npx claudepluginhub gellasangameshgupta/salesforce-compound-engineering-plugin --plugin sf-compound-engineeringCreates bite-sized, testable implementation plans from specs or requirements, with file structure and task decomposition. Activates before coding multi-step tasks.