К основному содержанию
плагин

salesforce-claude-code — плагин для Claude Code: установка

Плагин для Claude Code с 17 субагентами и 29 хуками-проверками для разработки на Salesforce: Apex, LWC, SOQL, Flow, Visualforce, Aura.

Установить в Claude Code · Через маркетплейс плагинов Все способы и платформы ↓
/plugin marketplace add anthropics/claude-plugins-community
/plugin install salesforce-claude-code@claude-community
Открыть на GitHub

Что делает salesforce-claude-code

Плагин добавляет в проект 17 субагентов для Salesforce, среди них sf-architect, sf-apex-agent, sf-lwc-agent и sf-review-agent. Они проектируют, пишут, тестируют и ревьюят код. Знания по платформе лежат в скиллах: одни вызываются руками, например /sf-help и /sf-quickstart, остальные включаются сами.

Ещё 29 хуков срабатывают на изменениях кода. Они ловят SOQL внутри цикла, гоняют PMD через sf scanner и проверяют, не растут ли привилегии. Запросы к org, деплой метаданных и запуск тестов идут через @salesforce/mcp, вокруг него плагин и построен.

Агенту learning-engine нужен Python 3.x, так что проверьте его до установки. CLI npx scc-universal требует Node.js >= 20, а npx scc-universal install apex ставит только Apex-часть.

Какие задачи решает

  • найти SOQL-запрос внутри цикла до деплоя
  • прогнать PMD через sf scanner после каждой правки
  • спроектировать триггер с обработчиком в духе FFLIB
  • проверить Apex-код на CRUD/FLS и SOQL-инъекции
  • собрать LWC-компонент с учётом ARIA и wire-адаптеров

Примеры запросов агенту

  • Попроси sf-architect спроектировать слой триггеров для объекта Opportunity
  • Запусти /sf-quickstart, я впервые работаю с Salesforce в этом проекте
  • Пусть sf-review-agent проверит мой Apex-класс на bulkification и CRUD/FLS

Как установить salesforce-claude-code

Через маркетплейс плагинов

/plugin marketplace add anthropics/claude-plugins-community
/plugin install salesforce-claude-code@claude-community

По шагам, с командами для каждой платформы: Плагины Claude Code: маркетплейсы, установка и как собрать свой

Вопросы о salesforce-claude-code

Как установить salesforce-claude-code в Claude Code?

Выполните /plugin marketplace add anthropics/claude-plugins-community, затем /plugin install salesforce-claude-code@claude-community.

Что делает salesforce-claude-code?

Добавляет в Claude Code 17 субагентов и скиллы для Salesforce, а 29 хуков проверяют код при изменениях. Покрыты Apex, LWC, SOQL, Flow, Visualforce, Aura, DevOps и Agentforce.

Что нужно для работы плагина?

Для агента learning-engine нужен Python 3.x. Если ставите через CLI npx scc-universal, понадобится Node.js >= 20.

Исходный текст

SKILL.md · MIT
# Salesforce Claude Code (SCC)

[![npm version](https://img.shields.io/npm/v/scc-universal.svg)](https://www.npmjs.com/package/scc-universal)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Node Version](https://img.shields.io/node/v/scc-universal.svg)](https://nodejs.org)

> The complete AI development system for Salesforce — expert agents, automated quality gates, and institutional knowledge, powered by @salesforce/mcp

SCC (`scc-universal` on npm) is a Claude Code plugin that supercharges your Salesforce development workflow with **17 expert subagents**, **57 domain knowledge skills**, and **29 automated quality gates**. Built for Apex, LWC, SOQL, Flow, Visualforce, Aura, DevOps, and Agentforce — covering every layer of the Salesforce platform.

---

## How It Works

SCC is a unified system where each layer serves a distinct role:

| Layer | What It Does | Examples |
|-------|-------------|----------|
| **@salesforce/mcp** | Platform capabilities — query orgs, deploy metadata, run tests, analyze code | Org management, SOQL queries, Apex test execution |
| **17 Agents** | Lean full-stack agents that design, build, test, and review | `sf-architect`, `sf-apex-agent`, `sf-lwc-agent`, `sf-review-agent` |
| **57 Skills** | Institutional knowledge + workflows — 18 user-invocable via `/skill-name`, 39 auto-activating | `/sf-help`, `/sf-quickstart`, `/configure-scc`, `/sessions` |
| **7 Constraint Skills** | Always-on governance via auto-activating skills | `sf-apex-constraints`, `sf-soql-constraints`, `sf-security-constraints`, `sf-trigger-constraints` |
| **29 Hooks** | Automated enforcement — quality gates run on every code change | SOQL-in-loop detection, PMD via sf scanner, privilege escalation checks |

**Together:** `@salesforce/mcp` gives Claude the hands to work with Salesforce. SCC gives Claude the brain to work well.

---

## What's Included

| Category | Count | Description |
|---|---|---|
| Agents | 17 | Specialized Salesforce subagents (11 domain + 6 platform) |
| Skills | 57 | Domain knowledge + workflow modules (18 user-invocable, 39 auto-activating) |
| Hooks | 29 | Automated quality gates (SessionStart, PreToolUse, PostToolUse, PostToolUseFailure, PreCompact, Stop, SessionEnd) |
| Harnesses | 2 | Claude Code, Cursor |

---

## Requirements

- **Node.js >= 20** — required to run the `npx scc-universal` CLI
- **Python 3.x** — required for learning-engine agent (instinct CLI)

---

## Quick Install

### For Claude Code

```bash
# Install everything (agents → .claude/agents/, skills → .claude/skills/, hooks → .claude/settings.json)
npx scc-universal install

# Install only Apex-focused content
npx scc-universal install apex

# Install only LWC-focused content
npx scc-universal install lwc
```

### For Cursor

```bash
# Install everything (agents → .cursor/agents/, skills → .cursor/skills/, hooks → .cursor/hooks.json)
npx scc-universal install --target cursor

# Install only Apex-focused content
npx scc-universal install apex --target cursor
```

### Diagnose and Repair

```bash
npx scc-universal doctor       # Check for missing/drifted files
npx scc-universal repair       # Restore drifted files
npx scc-universal status       # View installed components
npx scc-universal uninstall    # Remove SCC-managed files
```

### CLI Reference

| Command | Description |
|---|---|
| `scc-universal install [profile]` | Install SCC content (default: full profile, claude target) |
| `scc-universal plan` | Preview install manifest (dry run) |
| `scc-universal list-installed` | Show currently installed SCC files |
| `scc-universal doctor` | Diagnose missing or drifted files |
| `scc-universal repair` | Restore drifted files |
| `scc-universal status` | Query JSON state store |
| `scc-universal sessions` | List saved sessions |
| `scc-universal uninstall` | Remove SCC-managed files |

**Install flags:**

| Flag | Description |
|---|---|
| `--profile <name>` | Install profile: `apex`, `lwc`, or `full` (default) |
| `--target <harness>` | Target harness: `claude` (default) or `cursor` |
| `--dry-run` | Preview changes without applying |
| `--json` | Output in JSON format |

### What Gets Installed

| Component | Claude Code (`--target claude`) | Cursor (`--target cursor`) |
|---|---|---|
| Agents | `.claude/agents/*.md` | `.cursor/agents/*.md` |
| Skills | `.claude/skills/*/SKILL.md` | `.cursor/skills/*/SKILL.md` |
| Hooks (config) | Merged into `.claude/settings.json` | `.cursor/hooks.json` |
| Hooks (scripts) | `.claude/hooks/scripts/`, `.claude/hooks/lib/` | `.cursor/hooks/scripts/`, `.cursor/hooks/lib/` |
| MCP config | `.mcp.json` (project root) | `.cursor/mcp.json` |

### Install Profiles

SCC content is organized into 7 modules. Profiles compose subsets:

| Module | Description | Depends On |
|---|---|---|
| `core` | Essential agents, core skills, quality gates | — |
| `apex` | Apex agents, skills, SOQL, constraints | core |
| `lwc` | LWC agent, skills, constraints | core |
| `platform` | Cross-domain agents, universal skills, debugging, integration | core |
| `devops` | CI/CD, deployment, scratch orgs, SF CLI reference | core |
| `security` | Security agent, CRUD/FLS, governor limits, SOQL optimization, 2GP security review | core |
| `extended` | Flow, Visualforce, Aura, Agentforce, Admin, Events, API design | core |

| Profile | Modules Included |
|---|---|
| `apex` | core + apex + platform + devops + security |
| `lwc` | core + lwc + platform + devops + security |
| `full` | All 7 modules (default) |

---

## Key Features

### Apex Best Practices

- Bulkification patterns, governor limit awareness, and collections-first coding
- Trigger handler framework integration (FFLIB Enterprise Patterns + pragmatic single-trigger)
- Async Apex: Queueable, Batch, Schedulable design patterns
- Exception handling, custom exception hierarchies, and structured logging

### LWC Patterns

- Component lifecycle management and reactive property wiring
- Base component usage, composition over inheritance
- Accessibility (ARIA) compliance and keyboard navigation
- Wire adapters, imperative Apex calls, and error boundary patterns

### SOQL Optimization

- Index-aware WHERE clause construction and selectivity guidance
- Avoiding full-table scans and non-selective filters
- Parent-child relationship queries and aggregate optimization
- SOQL in loops detection and bulk query strategies

### Trigger Frameworks

- FFLIB-style trigger dispatcher and domain layer integration
- Pragmatic single-trigger-per-object with handler routing
- Recursive prevention patterns and context-aware execution
- TriggerOperation enum usage and before/after separation

### Security — CRUD / FLS / Sharing

- Schema.SObjectField.getDescribe() for FLS checks
- WITH SECURITY_ENFORCED and stripInaccessible() usage
- Sharing model enforcement and without sharing justification
- SOQL injection prevention and safe dynamic queries

### DevOps / CI-CD

- SF CLI v2 (sf) command patterns and project structure
- Scratch org creation, source push/pull, and org pooling
- Metadata API vs Source format understanding
- GitHub Actions / GitLab CI pipeline patterns for Salesforce

### Agentforce AI Agents

- Agentforce Agent Builder configuration and topic definitions
- Custom action creation (Apex, Flow, prompt templates)
- Agent testing and conversation design patterns
- Einstein AI feature integration

### Salesforce MCP Integration

SCC is designed to complement the official [Salesforce MCP server](https://github.com/salesforce/salesforce-mcp). Install both for the full experience:

- **@salesforce/mcp** provides: org management, metadata deployment, SOQL queries, Apex test execution, code analysis, LWC tools, DevOps operations
- **SCC provides**: domain expertise to use those tools correctly, quality gates to catch mistakes, and institutional knowledge to follow best practices

MCP config is auto-installed by `npx scc-universal install`:

```bash
npx scc-universal install all --target claude   # Installs .mcp.json at project root
npx scc-universal install all --target cursor   # Installs .cursor/mcp.json
```

### Enhanced Quality Gates

SCC integrates with [Salesforce Code Analyzer](https://developer.salesforce.com/tools/sfdx-scanner) for machine-enforceable checks:

```bash
# Install the scanner (one-time setup)
sf plugins install @salesforce/sfdx-scanner
```

Once installed, SCC automatically runs PMD analysis:

- **Standard profile**: Scanner runs before `git push` and `sf project deploy`
- **Strict profile**: Scanner runs on every code edit
- Graceful no-op if scanner is not installed — SCC falls back to regex-based checks

### Cross-Harness Support

All content is structured for use across multiple AI harnesses:

- **Claude Code** — primary harness with full hook integration
- **Cursor** — rules, skills, and hooks exported to `.cursor/` directory

---

## Agents

| Agent | Description |
|---|---|
| `sf-architect` | Orchestrator — analyze requirements, design solutions, decompose tasks, final review |
| `sf-apex-agent` | All Apex — classes, triggers, batch, async, callouts, tests (TDD) |
| `sf-lwc-agent` | All LWC — components, Jest tests, wire service, events, SLDS |
| `sf-flow-agent` | All Flow — record-triggered, screen, scheduled, approval processes |
| `sf-admin-agent` | All config — objects, permissions, sharing, metadata, Experience Cloud |
| `sf-integration-agent` | All integration — REST/SOAP callouts, Named Creds, Platform Events, CDC |
| `sf-agentforce-agent` | Agentforce — topics, custom Apex actions, prompt templates |
| `sf-review-agent` | Cross-domain review — security audit, performance, test coverage |
| `sf-bugfix-agent` | Fix build errors, test failures, deploy issues (minimal diff) |
| `sf-aura-reviewer` | Aura component review and LWC migration guidance |
| `sf-visualforce-reviewer` | Visualforce page review and migration guidance |
| `doc-updater` | Documentation generation and maintenance |
| `refactor-cleaner` | Code refactoring and cleanup |
| `loop-operator` | Autonomous loop execution and monitoring |
| `deep-researcher` | Multi-source Salesforce research and synthesis |
| `learning-engine` | Continuous learning from session patterns |
| `eval-runner` | Eval suite definition and execution |

---

## Skills

| Skill | Description |
|---|---|
| `sf-agentforce-development` | Agentforce agent design, topics, and actions |
| `sf-apex-async-patterns` | Queueable, Batch, Schedulable design |
| `sf-apex-best-practices` | Apex coding standards and patterns |
| `sf-apex-cursor` | Apex cursor-based pagination patterns |
| `sf-apex-enterprise-patterns` | FFLIB and enterprise Apex patterns |
| `sf-apex-testing` | @IsTest, test data factories, mock patterns |
| `configure-scc` | SCC plugin configuration and setup |
| `sf-devops-ci-cd` | GitHub Actions / GitLab CI for Salesforce |
| `sf-flow-development` | Flow types, fault handling, bulkification |
| `sf-governor-limits` | Limit tracking, monitoring, and avoidance |
| `sf-lwc-development` | Component composition, lifecycle, reactivity |
| `sf-lwc-testing` | LWC Jest testing and component test patterns |
| `sf-metadata-management` | Metadata API and source format management |
| `sf-data-modeling` | Object model, relationships, and data design |
| `sf-debugging` | Debug logs, checkpoints, and trace flags |
| `sf-deployment` | Deployment validation, partial deploys, rollback |
| `sf-integration` | REST/SOAP callouts, named credentials, auth |
| `sf-security` | CRUD/FLS, sharing, stripInaccessible patterns |
| `sf-2gp-security-review` | 2GP managed package AppExchange security review and pass/fail prediction |
| `sf-cli-reference` | SF CLI command reference and usage patterns |
| `sf-api-design` | Salesforce API design and best practices |
| `sf-e2e-testing` | End-to-end testing for Salesforce apps |
| `sf-tdd-workflow` | Test-driven development for Salesforce |
| `sf-soql-optimization` | Index strategies, selective queries, bulkification |
| `strategic-compact` | Strategic context compaction patterns |
| `sf-trigger-frameworks` | FFLIB and pragmatic trigger handler patterns |
| `mcp-server-patterns` | MCP server design and integration patterns |
| `search-first` | Search-first development methodology |
| `security-scan` | Security scanning patterns and automation |
| `continuous-agent-loop` | Continuous autonomous agent loop patterns and controls |
| `prompt-optimizer` | Analyze and rewrite prompts to match SCC components for better agent performance |
| `sf-visualforce-development` | Visualforce page patterns, controllers, and migration to LWC |
| `sf-aura-development` | Aura component patterns and LWC migration strategies |
| `sf-platform-events-cdc` | Platform Events and Change Data Capture patterns |
| `sf-approval-processes` | Approval process design and automation patterns |
| `sf-experience-cloud` | Experience Cloud site development and customization |
| `sf-docs-lookup` | Official Salesforce documentation lookup |
| `sf-help` | Discover SCC skills, agents, and workflows |
| `sf-quickstart` | Interactive onboarding and project detection |
| `sf-build-fix` | Build error resolution and dependency fixes |
| `sf-harness-audit` | Audit SCC harness configuration |
| `update-platform-docs` | Update platform reference documentation |
| `aside` | Quick Salesforce answer mid-task without losing context |
| `checkpoint` | Save a development checkpoint via git stash for rollback |
| `model-route` | Route tasks to optimal Claude model tier by complexity |
| `refactor-clean` | Dead code removal and consolidation via PMD/Code Analyzer |
| `resume-session` | Resume a saved Salesforce development session |
| `save-session` | Persist session state for future resumption |
| `sessions` | List, load, and inspect saved sessions |
| `update-docs` | Sync documentation after Apex code changes |
| `sf-apex-constraints` | Always-on: governor limits, naming, bulkification rules |
| `sf-deployment-constraints` | Always-on: deploy safety, validation-only first, rollback readiness |
| `sf-lwc-constraints` | Always-on: LWC naming, security, accessibility, performance |
| `sf-security-constraints` | Always-on: CRUD/FLS, sharing, SOQL injection, XSS |
| `sf-soql-constraints` | Always-on: query safety, selectivity, governor compliance |
| `sf-testing-constraints` | Always-on: 75% coverage minimum, test isolation, assertions |
| `sf-trigger-constraints` | Always-on: one-trigger-per-object, handler delegation, recursion |

---

## Skills

18 skills are user-invocable via `/skill-name`. 39 are auto-activating context skills (29 pattern + 7 constraint + 3 platform).

### User-Invocable (18)

Invoke with `/skill-name` in Claude Code or Cursor.

| Skill | Description |
|---|---|
| `/sf-help` | Discover SCC skills, agents, and workflows |
| `/sf-quickstart` | Interactive onboarding and project detection |
| `/sf-docs-lookup` | Look up Salesforce documentation |
| `/sf-harness-audit` | Audit SCC harness configuration |
| `/sessions` | List and manage sessions |
| `/configure-scc` | Interactive SCC setup wizard for profiles, modules, and org config |
| `/continuous-agent-loop` | Multi-agent orchestration and autonomous loops |
| `/prompt-optimizer` | Optimize prompts for better agent performance |
| `/checkpoint` | Save a development checkpoint for rollback |
| `/save-session` | Save current session state |
| `/resume-session` | Resume a saved session |
| `/refactor-clean` | Dead code removal and consolidation |
| `/update-docs` | Update project documentation |
| `/update-platform-docs` | Update platform reference docs with latest release features |
| `/aside` | Quick side investigation without losing context |
| `/model-route` | Route tasks to optimal model by complexity |
| `/sf-2gp-security-review` | 2GP managed package AppExchange security review and pass/fail prediction |
| `/search-first` | Research existing tools and patterns before writing custom code |

### Pattern Skills (29) — Agent-Consulted

Agents read these on demand for domain knowledge. Not directly invocable via `/`.

| Skill | Description |
|---|---|
| `sf-apex-best-practices` | Apex code review — governor limits, bulkification, security, patterns |
| `sf-apex-testing` | Run and analyze Apex test results with coverage |
| `sf-apex-async-patterns` | Batch vs Queueable vs @future decision framework |
| `sf-apex-enterprise-patterns` | FFLIB selector/domain/service/UoW layers |
| `sf-apex-cursor` | Cursor API for large SOQL result sets |
| `sf-trigger-frameworks` | Trigger framework patterns — One-Trigger-Per-Object, handler base class |
| `sf-soql-optimization` | Analyze and optimize SOQL queries for performance |
| `sf-governor-limits` | Governor limit audit — SOQL, DML, heap, CPU, callouts |
| `sf-lwc-development` | LWC component review — architecture, reactivity, accessibility |
| `sf-lwc-testing` | Jest testing for LWC — mocks, DOM queries, accessibility |
| `sf-flow-development` | Review Flows for best practices and anti-patterns |
| `sf-approval-processes` | Approval lifecycle, multi-step, delegation patterns |
| `sf-data-modeling` | Data modeling, sharing rules, and admin configuration |
| `sf-experience-cloud` | Experience Cloud sites, guest users, external sharing |
| `sf-metadata-management` | package.xml, .forceignore, source tracking |
| `sf-integration` | REST/SOAP callouts, Named Credentials, retry patterns |
| `sf-platform-events-cdc` | Platform Events and Change Data Capture review |
| `sf-api-design` | Custom REST endpoints, batch operations |
| `sf-agentforce-development` | Design and configure an Agentforce AI agent |
| `sf-security` | Security audit — CRUD/FLS, sharing, SOQL injection, XSS |
| `sf-e2e-testing` | End-to-end test patterns and deployment verification |
| `sf-debugging` | Debug using logs, debug levels, and tracing |
| `sf-deployment` | Deployment workflow — validate, test, deploy to sandbox or production |
| `sf-devops-ci-cd` | GitHub Actions, CI/CD, scratch org CI |
| `sf-tdd-workflow` | Test-driven Apex development with test-first workflow |
| `sf-build-fix` | Fix build errors and resolve dependencies |
| `sf-visualforce-development` | Visualforce review — XSS, ViewState, LWC migration |
| `sf-aura-development` | Aura component review — Locker Service, LWC migration |
| `sf-cli-reference` | SF CLI command reference — org management, data, source, package, deploy |

### Auto-Activating Skills

39 skills activate automatically during development — no `/` invocation needed.

**Constraint Skills (always-on governance):**

| Skill | Enforces |
|---|---|
| `sf-apex-constraints` | Governor limits, naming conventions, bulkification, security |
| `sf-deployment-constraints` | Validation-only first, test coverage gates, metadata ordering |
| `sf-lwc-constraints` | LWC naming, security, accessibility, performance rules |
| `sf-security-constraints` | CRUD/FLS, sharing model, SOQL injection, XSS protection |
| `sf-soql-constraints` | Query safety, selectivity, governor limit compliance |
| `sf-testing-constraints` | 75% coverage minimum, test isolation, assertion requirements |
| `sf-trigger-constraints` | One-trigger-per-object, handler delegation, recursion prevention |

**Platform Context Skills (3):**

| Skill | Activates When |
|---|---|
| `mcp-server-patterns` | Building MCP servers for Salesforce integration |
| `security-scan` | Scanning Claude Code config for vulnerabilities and misconfigurations |
| `strategic-compact` | Managing context during long development sessions |

Pattern skills (29, listed above) also activate contextually when their domain is relevant.

---

## Hook Profiles

Control which hooks run via the `SCC_HOOK_PROFILE` environment variable:

| Profile | Description |
|---|---|
| `minimal` | Only critical hooks (session start context display) |
| `standard` | Recommended — session start + pre-tool validation + post-write reminders (default) |
| `strict` | All hooks enabled with additional enforcement and stop-hook summaries |

### Environment Variables

| Variable | Values | Description |
|---|---|---|
| `SCC_HOOK_PROFILE` | `minimal`, `standard`, `strict` | Controls which hooks run (default: `standard`) |
| `SCC_DISABLED_HOOKS` | Comma-separated names | Disable specific hooks (e.g., `session-start,auto-format`) |
| `SF_ORG_ALIAS` | Any org alias | Default Salesforce target org for session context |
| `CLAUDE_PACKAGE_MANAGER` | `npm`, `pnpm`, `yarn`, `bun` | Override auto-detected package manager |

---

## Tips and Best Practices

### Typical Workflows

**New Feature:** Describe what you want to build — sf-architect activates automatically, designs the solution, and delegates to domain agents (sf-apex-agent, sf-lwc-agent, sf-flow-agent) with TDD.

**Bug Fix:** Describe the error — sf-bugfix-agent activates, diagnoses root cause, applies minimal fix.

**Code Review:** Ask to review before deploy — sf-review-agent runs a full quality gate (security, governor limits, test coverage, deploy readiness).

### Key Principles

1. **Governor limits are king** — Every agent checks for limit violations
2. **Test-first approach** — 75% is the SF minimum, aim for 85%+
3. **Be specific** — "Review AccountTrigger.cls" not "review everything"
4. **Hook profiles matter** — Start with `standard`, move to `strict` for CI
5. **Security baked in** — CRUD/FLS and sharing model from the start

---

## Documentation

| Guide | Description |
|---|---|
| [Hook Development](docs/hook-development.md) | How to create, test, and deploy hooks with profile gating |
| [Authoring Guide](docs/authoring-guide.md) | Templates for creating agents, skills, and rules |
| [Workflow Examples](docs/workflow-examples.md) | Step-by-step walkthroughs for Apex TDD, LWC dev, deployment, security audit |
| [Architecture](docs/ARCHITECTURE.md) | System design overview with diagrams |
| [Token Optimization](docs/token-optimization.md) | Settings and habits to reduce token consumption |
| [Security Guide](the-security-guide.md) | CRUD/FLS, injection prevention, encryption, session security |
| [Troubleshooting](TROUBLESHOOTING.md) | Common issues and solutions |
| [Changelog](CHANGELOG.md) | Version history and release notes |

---

## Example Patterns

Production-ready implementations demonstrating Salesforce best practices:

| Pattern | Description |
|---|---|
| [Apex Trigger Handler](examples/apex-trigger-handler/) | One-trigger-per-object with virtual base handler |
| [LWC Component](examples/lwc-component/) | Wire service, Apex calls, Jest tests, meta.xml |
| [Platform Events & CDC](examples/platform-events/) | Real-time event-driven architecture with empApi |
| [Integration Pattern](examples/integration-pattern/) | Named Credentials, retry logic, async callouts |
| [Flow Automation](examples/flow-automation/) | Record-Triggered Before Save Flow with XML metadata |
| [Security Audit](examples/security-audit/) | CRUD/FLS, SOQL injection prevention, sharing model |
| [Agentforce Action](examples/agentforce-action/) | @InvocableMethod with structured inputs/outputs |
| [DevOps Pipeline](examples/devops-pipeline/) | GitHub Actions CI/CD with scratch orgs |
| [Scratch Org Setup](examples/scratch-org-setup/) | Automated org creation and data loading |
| [Visualforce Migration](examples/visualforce-migration/) | VF-to-LWC conversion patterns |

---

## Contributing

Contributions are welcome! Please follow these guidelines:

1. Follow the existing file naming convention: lowercase with hyphens.
2. All agents must have valid YAML frontmatter (`name`, `description`, `tools`, `model`).
3. All skills must include a `SKILL.md` with `name`, `description`, and `origin: SCC` in frontmatter.
4. Run `npm test` before submitting a pull request — all CI validators must pass.
5. Use Conventional Commits format: `<type>: <description>` (max 100 chars).
6. Coverage must stay above 80% for lines, functions, branches, and statements.

```bash
git clone <repo>
cd salesforce-claude-code
npm install
git config core.hooksPath .githooks   # Enable pre-commit checks
npm test                               # Build + lint + validate + tests
bash scripts/ci/smoke-test.sh          # Pack + install/uninstall smoke test
```

---

## License

MIT — see [LICENSE](LICENSE) for details.

---

## Acknowledgements

SCC's plugin architecture was inspired by [Everything Claude Code (ECC)](https://github.com/affaan-m/everything-claude-code) by [Affaan Mustafa](https://github.com/affaan-m), licensed under the MIT License. Since v1.0.0, SCC is independently maintained with its own roadmap, Salesforce-specific content, and infrastructure.

© jiten-singh-shahi · MIT · jiten-singh-shahi/salesforce-claude-code

Похожие плагины

Все плагины по теме «Бэкенд и API» →
typescript-lsp официальный Anthropic Подключает языковой сервер для TypeScript и JavaScript к Claude Code. Помогает переходить к определениям, искать ссылки и проверять ошибки прямо при редактировании кода. ★ 44 635звёзд репо ruby-lsp официальный Anthropic Плагин подключает языковой сервер Ruby к Claude Code для анализа кода и навигации по файлам .rb, .rake, .gemspec, .ru и .erb. ★ 44 635звёзд репо php-lsp официальный Anthropic Плагин подключает языковой сервер Intelephense к Claude Code. Он передаёт агенту диагностику и подсказки по коду для файлов с расширением .php. ★ 44 635звёзд репо mcp-server-dev официальный Anthropic Три скилла, которые проведут от вопроса «что я вообще подключаю» до готового MCP-сервера с инструментами, авторизацией и, если нужно, виджетами в чате. ★ 44 635звёзд репо laravel-boost официальный Laravel MCP-сервер с инструментами Laravel: Artisan, Eloquent, роутинг, миграции и генерация кода под фреймворк. ★ 44 635звёзд репо firebase официальный Google Подключает Firebase к Claude через MCP: агент работает с Firestore, аутентификацией, облачными функциями, hosting и storage прямо из проекта. ★ 44 635звёзд репо

Спонсоры проекта

Компании, которые помогают держать аналитику открытой