configure-scc
Skill15 starsChanged 7 months agoMITView on GitHub
Use when setting up SCC for Salesforce Apex and LWC development. Interactive wizard to install profiles, modules, and customize the harness for your org.
- Reads credentials
- Installs packages
In this repository58 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- asideSkill
- checkpointSkill
- continuous-agent-loopSkill
- mcp-server-patternsSkill
- model-routeSkill
- prompt-optimizerSkill
- refactor-cleanSkill
- resume-sessionSkill
- save-sessionSkill
- search-firstSkill
- security-scanSkill
- sessionsSkill
- sf-2gp-security-reviewSkill
- sf-agentforce-developmentSkill
- sf-agentforce-mcp-actionsSkill
- sf-apex-async-patternsSkill
- sf-apex-best-practicesSkill
- sf-apex-constraintsSkill
- sf-apex-cursorSkill
- sf-apex-enterprise-patternsSkill
- sf-apex-testingSkill
- sf-api-designSkill
- sf-approval-processesSkill
- sf-aura-developmentSkill
- sf-build-fixSkill
- sf-cli-referenceSkill
- sf-data-modelingSkill
- sf-debuggingSkill
- sf-deployment-constraintsSkill
- sf-deploymentSkill
- sf-devops-ci-cdSkill
- sf-docs-lookupSkill
- sf-e2e-testingSkill
- sf-experience-cloudSkill
- sf-flow-developmentSkill
- sf-governor-limitsSkill
- sf-harness-auditSkill
- sf-helpSkill
- sf-integrationSkill
- sf-lwc-constraintsSkill
- sf-lwc-developmentSkill
- sf-lwc-testingSkill
- sf-metadata-managementSkill
- sf-platform-events-cdcSkill
- sf-quickstartSkill
- sf-security-constraintsSkill
- sf-securitySkill
- sf-soql-constraintsSkill
- sf-soql-optimizationSkill
- sf-tdd-workflowSkill
- sf-testing-constraintsSkill
- sf-trigger-constraintsSkill
- sf-trigger-frameworksSkill
- sf-visualforce-developmentSkill
- strategic-compactSkill
- update-docsSkill
- update-platform-docsSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
When installing SCC for the first time on a Salesforce project
- Distinctive: line 14
When adding new modules or profiles to an existing SCC installation
- Distinctive: line 15
When customizing hook behavior or profiles for your team's workflow
- Distinctive: line 16
When troubleshooting SCC configuration or missing components
- Distinctive: line 17
When setting up SCC for different team members or CI/CD environments
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Configure SCC
Interactive guide for installing and configuring Salesforce Claude Code.
When to Use
- When installing SCC for the first time on a Salesforce project
- When adding new modules or profiles to an existing SCC installation
- When customizing hook behavior or profiles for your team's workflow
- When troubleshooting SCC configuration or missing components
- When setting up SCC for different team members or CI/CD environments
Installation
Quick Install
# Install globally
npm install -g scc-universal
# Install with a profile
npx scc-universal install all # Everything (all agents, skills, rules)
npx scc-universal install apex # Apex-focused development
npx scc-universal install lwc # LWC-focused developmentProfile Details
| Profile | Includes |
apex | Common rules + Apex rules, agents, skills |
lwc | Common rules + LWC rules, agents, skills |
full | All agents, skills, rules |
Diagnostics
npx scc-universal doctor # Check for missing/drifted files
npx scc-universal status # View installed components
npx scc-universal repair # Restore drifted files
npx scc-universal uninstall # Remove SCC-managed filesHook Configuration
Profiles
# Set hook profile (controls which hooks run)
export SCC_HOOK_PROFILE=minimal # Session start + stop only
export SCC_HOOK_PROFILE=standard # Default — includes quality checks
export SCC_HOOK_PROFILE=strict # All hooks including auto-formatDisable Specific Hooks
export SCC_DISABLED_HOOKS=governor-check,cost-trackerPackage Manager
SCC auto-detects your package manager. Override with:
export CLAUDE_PACKAGE_MANAGER=npm # or pnpm, yarn, bunEnvironment-Specific Configuration
Sandbox / Scratch Org Development
# Set default target org for SF CLI commands
sf config set target-org=my-scratch-org
# Scratch org duration is set via --duration-days flag or scratch org definition file
# sf org create scratch -f config/project-scratch-def.json --duration-days 7CI/CD Environments
# Minimal hooks for CI (fast, no interactive prompts)
export SCC_HOOK_PROFILE=minimal
# Disable all cost/session tracking in CI
export SCC_DISABLED_HOOKS=cost-tracker,session-start,session-end,evaluate-sessionTeam Setup
Share SCC configuration across your team by adding to your project's .env.example:
# .env.example — copy to .env and customize
SCC_HOOK_PROFILE=standard
CLAUDE_PACKAGE_MANAGER=npmTroubleshooting
Common Issues
| Problem | Cause | Fix |
npx scc-universal install fails | Node.js < 20 | Upgrade: nvm install 20 |
| Hooks not firing | SCC not installed in project | Run npx scc-universal doctor to check |
Permission denied on hooks | Script not executable | Run npx scc-universal repair |
| Skills not loading | Wrong install profile | Run npx scc-universal install all |
sf command not found | SF CLI not installed | Install: npm install -g @salesforce/cli |
sf commands fail with errors | SF CLI version too old | Upgrade: npm update -g @salesforce/cli (SCC requires SF CLI v2.x / sf not sfdx) |
| Hooks slow down session | Too many hooks enabled | Switch to SCC_HOOK_PROFILE=minimal |
Diagnostic Commands
# Full diagnostic report
npx scc-universal doctor
# See exactly what's installed
npx scc-universal list-installed
# Preview what WOULD be installed (dry run)
npx scc-universal plan apex
# Check state store
npx scc-universal status
# Reset everything and reinstall
npx scc-universal uninstall && npx scc-universal install allUpgrading SCC
# Update to latest version
npm install -g scc-universal@latest
# Repair any drifted files after upgrade
npx scc-universal repair
# Verify upgrade
npx scc-universal doctorVerification
npm test # Run all validators
npx scc-universal doctor # Check installation health
sf --version # Verify SF CLI is installed
npx scc-universal status # Confirm installed componentsDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

