Skip to content

Commit 9fc9039

Browse files
committed
feat(skills): add multi-IDE install support, onboarding skill, and validation scripts
- Add Codex marketplace (.agents/plugins/marketplace.json) and per-plugin .codex-plugin/plugin.json manifests for b2c-cli, b2c, b2c-dx-mcp - Ship logo.svg in each plugin's assets/ dir (sourced from docs/public/logo.svg) - Add per-plugin README.md with install commands for Claude Code, GitHub Copilot (VS Code + CLI), and Codex - Remove b2c-experimental from the published marketplace - Add b2c-onboarding skill: IDE detection, CLI verify, setup, sandbox, first deploy, goal-routing handoff - Add optional auth-free validation scripts: * skills/b2c/skills/b2c-metadata/scripts/validate.mjs (XSD via xmllint) * skills/b2c-cli/skills/b2c-config/scripts/validate.mjs (dw.json lint) - Update README.md and docs/guide/agent-skills.md with the new install paths for Copilot (VS Code + CLI) and Codex
1 parent 5056722 commit 9fc9039

18 files changed

Lines changed: 864 additions & 20 deletions

File tree

.agents/plugins/marketplace.json

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"name": "b2c-developer-tooling",
3+
"interface": {
4+
"displayName": "B2C Developer Tooling"
5+
},
6+
"plugins": [
7+
{
8+
"name": "b2c-cli",
9+
"source": {
10+
"source": "local",
11+
"path": "./skills/b2c-cli"
12+
},
13+
"policy": {
14+
"installation": "AVAILABLE",
15+
"authentication": "ON_INSTALL"
16+
},
17+
"category": "Productivity"
18+
},
19+
{
20+
"name": "b2c",
21+
"source": {
22+
"source": "local",
23+
"path": "./skills/b2c"
24+
},
25+
"policy": {
26+
"installation": "AVAILABLE",
27+
"authentication": "ON_INSTALL"
28+
},
29+
"category": "Productivity"
30+
},
31+
{
32+
"name": "b2c-dx-mcp",
33+
"source": {
34+
"source": "local",
35+
"path": "./plugins/b2c-dx-mcp"
36+
},
37+
"policy": {
38+
"installation": "AVAILABLE",
39+
"authentication": "ON_INSTALL"
40+
},
41+
"category": "Productivity"
42+
}
43+
]
44+
}

.claude-plugin/marketplace.json

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,6 @@
2929
"category": "productivity",
3030
"strict": false
3131
},
32-
{
33-
"name": "b2c-experimental",
34-
"description": "Experimental B2C Commerce skills including scaffold templates. Not installed by default.",
35-
"author": {
36-
"name": "Salesforce"
37-
},
38-
"license": "Apache-2.0",
39-
"source": "./skills/b2c-experimental",
40-
"category": "productivity",
41-
"strict": false
42-
},
4332
{
4433
"name": "b2c-dx-mcp",
4534
"description": "MCP server for AI-assisted Salesforce B2C Commerce development with project-aware tooling for common workflows.",

README.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,44 @@ Salesforce B2C Commerce Command Line Tools.
1010
> [!TIP]
1111
> **Just looking for the B2C CLI or MCP install instructions?** Visit the documentation site at [https://salesforcecommercecloud.github.io/b2c-developer-tooling/](https://salesforcecommercecloud.github.io/b2c-developer-tooling/) for the latest install guide and CLI reference.
1212
13+
## Agent Skills & Plugins
14+
15+
Install B2C Commerce agent skills and plugins in your AI-powered editor. Four plugins are available: `b2c-cli` (CLI operations), `b2c` (development patterns), `b2c-experimental` (scaffolds), and `b2c-dx-mcp` (MCP server).
16+
17+
- **Claude Code**: run these commands in chat:
18+
19+
```
20+
/plugin marketplace add SalesforceCommerceCloud/b2c-developer-tooling
21+
/plugin install b2c-cli@b2c-developer-tooling
22+
/plugin install b2c@b2c-developer-tooling
23+
/plugin install b2c-dx-mcp@b2c-developer-tooling
24+
```
25+
26+
- **VS Code (GitHub Copilot)**: Command Palette (`Cmd+Shift+P` / `Ctrl+Shift+P`) → **Chat: Install Plugin From Source** → enter the repo `SalesforceCommerceCloud/b2c-developer-tooling`. VS Code Copilot reads the same `.claude-plugin/` marketplace as Claude Code.
27+
28+
- **GitHub Copilot CLI**: also reads the same marketplace.
29+
30+
```
31+
copilot plugin marketplace add SalesforceCommerceCloud/b2c-developer-tooling
32+
copilot plugin install b2c-cli@b2c-developer-tooling
33+
copilot plugin install b2c@b2c-developer-tooling
34+
copilot plugin install b2c-dx-mcp@b2c-developer-tooling
35+
```
36+
37+
- **Cursor**: add the marketplace from this repo URL in Cursor Settings → Plugins, then install `b2c-cli` / `b2c`.
38+
39+
- **Codex CLI**: run `/plugins` and add from this repo (GitHub URL).
40+
41+
- **Gemini CLI**: `gemini extensions install https://github.com/SalesforceCommerceCloud/b2c-developer-tooling`
42+
43+
- **Any supported IDE (file-copy install via CLI)**:
44+
45+
```
46+
npx @salesforce/b2c-cli setup skills
47+
```
48+
49+
For Windsurf, OpenCode, Agentforce Vibes, manual installs, and the full install matrix, see [docs/guide/agent-skills](https://salesforcecommercecloud.github.io/b2c-developer-tooling/guide/agent-skills).
50+
1351
## Packages
1452
1553
This is a pnpm monorepo with the following packages:

docs/guide/agent-skills.md

Lines changed: 38 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ description: AI agent skills and plugins for Agentforce Vibes, Claude Code, Code
66

77
The B2C Developer Tooling project provides agent skills and plugins that enhance the AI-assisted development experience when working with Salesforce B2C Commerce projects.
88

9-
Skills plugins follow the [Agent Skills](https://agentskills.io/home) standard and can be used with multiple agentic IDEs including [Claude Code](https://claude.ai/code), Cursor, GitHub Copilot, and VS Code. The marketplace also includes an MCP server plugin (`b2c-dx-mcp`).
9+
Skills plugins follow the [Agent Skills](https://agentskills.io/home) standard and can be used with multiple agentic IDEs including [Claude Code](https://claude.ai/code), GitHub Copilot (VS Code and CLI), Cursor, Codex, and Gemini CLI. The marketplace also includes an MCP server plugin (`b2c-dx-mcp`).
10+
11+
The `.claude-plugin/` marketplace in this repository is read natively by both **Claude Code** and **GitHub Copilot** (VS Code and CLI), so the same install commands work across those clients.
1012

1113
## Overview
1214

@@ -119,6 +121,34 @@ To remove the marketplace:
119121
claude plugin marketplace remove b2c-developer-tooling
120122
```
121123

124+
## Installation with GitHub Copilot
125+
126+
GitHub Copilot reads the same `.claude-plugin/` marketplace as Claude Code, so the plugins install natively in both **VS Code** and the **Copilot CLI**.
127+
128+
### VS Code (GitHub Copilot)
129+
130+
Open the Command Palette (`Cmd+Shift+P` / `Ctrl+Shift+P`) and run **Chat: Install Plugin From Source**. When prompted, enter the repo:
131+
132+
```
133+
SalesforceCommerceCloud/b2c-developer-tooling
134+
```
135+
136+
Install the plugins you want (`b2c-cli`, `b2c`, `b2c-dx-mcp`) from the picker.
137+
138+
### GitHub Copilot CLI
139+
140+
```bash
141+
# Add the marketplace
142+
copilot plugin marketplace add SalesforceCommerceCloud/b2c-developer-tooling
143+
144+
# Install plugins
145+
copilot plugin install b2c-cli@b2c-developer-tooling
146+
copilot plugin install b2c@b2c-developer-tooling
147+
copilot plugin install b2c-dx-mcp@b2c-developer-tooling
148+
```
149+
150+
Refer to the [Copilot CLI plugin reference](https://docs.github.com/en/copilot/reference/copilot-cli-reference/cli-plugin-reference) for marketplace and install commands.
151+
122152
## Installation with Skills CLI
123153

124154
The [Skills CLI](https://github.com/vercel-labs/skills) provides a way to install agent skills to supported IDEs. Use this for the skills plugins (`b2c` and `b2c-cli`), not for the MCP server plugin (`b2c-dx-mcp`).
@@ -258,21 +288,20 @@ Skills are installed to:
258288

259289
### VS Code with GitHub Copilot
260290

261-
See the [VS Code Agent Skills documentation](https://code.visualstudio.com/docs/copilot/customization/agent-skills) for configuration instructions.
291+
The recommended install path uses the native plugin marketplace — see [Installation with GitHub Copilot](#installation-with-github-copilot) above.
292+
293+
If you need a file-copy install (for example, to pin a specific skill version to a project), `b2c setup skills --ide vscode` copies skills to:
262294

263-
Skills are installed to:
264295
- **Project scope**: `.github/skills/` in your project
265296
- **User scope**: `~/.copilot/skills/`
266297

267-
You can also append skill content to `.github/copilot-instructions.md` in your repository.
268-
269298
### Codex CLI
270299

271-
See the [Codex documentation](https://github.com/openai/codex) for configuration instructions.
300+
Codex reads plugin marketplaces from `.agents/plugins/marketplace.json`. This repository ships one at the repo root covering all three plugins (`b2c-cli`, `b2c`, `b2c-dx-mcp`).
272301

273-
Skills are installed to:
274-
- **Project scope**: `.codex/skills/` in your project
275-
- **User scope**: `~/.codex/skills/`
302+
To use it, clone or open the repository as a workspace, then restart Codex — the **B2C Developer Tooling** marketplace appears in the plugin directory, from which you can install any of the listed plugins.
303+
304+
For a personal install across all projects, copy one or more plugin folders (e.g. `skills/b2c-cli/`) to `~/.codex/plugins/<plugin-name>/` and add an entry for each in `~/.agents/plugins/marketplace.json` (see the [Codex plugin build guide](https://developers.openai.com/codex/plugins/build) for the marketplace schema).
276305

277306
### OpenCode
278307

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"name": "b2c-dx-mcp",
3+
"version": "0.0.1",
4+
"description": "MCP server for AI-assisted Salesforce B2C Commerce development with project-aware tooling for common workflows.",
5+
"author": {
6+
"name": "Salesforce"
7+
},
8+
"homepage": "https://salesforcecommercecloud.github.io/b2c-developer-tooling/",
9+
"repository": "https://github.com/SalesforceCommerceCloud/b2c-developer-tooling",
10+
"license": "Apache-2.0",
11+
"keywords": [
12+
"salesforce",
13+
"b2c-commerce",
14+
"commerce-cloud",
15+
"sfra",
16+
"scapi",
17+
"ocapi"
18+
],
19+
"skills": "./skills/",
20+
"interface": {
21+
"displayName": "B2C DX MCP",
22+
"shortDescription": "MCP server for project-aware B2C Commerce workflows.",
23+
"longDescription": "Model Context Protocol server providing AI-assisted Salesforce B2C Commerce workflows with project-aware tooling.",
24+
"developerName": "Salesforce",
25+
"category": "Productivity",
26+
"capabilities": [
27+
"Read"
28+
],
29+
"logo": "./assets/logo.svg",
30+
"composerIcon": "./assets/logo.svg",
31+
"brandColor": "#0D9DDA",
32+
"websiteURL": "https://salesforcecommercecloud.github.io/b2c-developer-tooling/",
33+
"defaultPrompt": [
34+
"Show me available B2C MCP tools",
35+
"Run a B2C project workflow"
36+
]
37+
}
38+
}

plugins/b2c-dx-mcp/README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# b2c-dx-mcp
2+
3+
MCP server for AI-assisted Salesforce B2C Commerce development, providing project-aware tooling for common workflows.
4+
5+
Part of the [B2C Developer Tooling](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling) marketplace.
6+
7+
## Installation
8+
9+
**Claude Code** and **GitHub Copilot CLI** both read the same `.claude-plugin/` marketplace:
10+
11+
```bash
12+
# Claude Code
13+
claude plugin marketplace add SalesforceCommerceCloud/b2c-developer-tooling
14+
claude plugin install b2c-dx-mcp@b2c-developer-tooling
15+
16+
# GitHub Copilot CLI
17+
copilot plugin marketplace add SalesforceCommerceCloud/b2c-developer-tooling
18+
copilot plugin install b2c-dx-mcp@b2c-developer-tooling
19+
```
20+
21+
**VS Code (GitHub Copilot):** Command Palette → **Chat: Install Plugin From Source** → enter the repo `SalesforceCommerceCloud/b2c-developer-tooling`.
22+
23+
**Codex:** open the repo as a workspace, restart Codex, then install from the **B2C Developer Tooling** marketplace in the plugin directory.
24+
25+
For standalone MCP setup and configuration, see the [MCP Server Overview](https://salesforcecommercecloud.github.io/b2c-developer-tooling/mcp/) and [MCP Installation](https://salesforcecommercecloud.github.io/b2c-developer-tooling/mcp/installation).
26+
27+
## License
28+
29+
Apache-2.0. See the [repo LICENSE](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/main/LICENSE.txt).

plugins/b2c-dx-mcp/assets/logo.svg

Lines changed: 31 additions & 0 deletions
Loading
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"name": "b2c-cli",
3+
"version": "0.0.1",
4+
"description": "B2C CLI Skills for Salesforce Commerce Cloud development.",
5+
"author": {
6+
"name": "Salesforce"
7+
},
8+
"homepage": "https://salesforcecommercecloud.github.io/b2c-developer-tooling/",
9+
"repository": "https://github.com/SalesforceCommerceCloud/b2c-developer-tooling",
10+
"license": "Apache-2.0",
11+
"keywords": [
12+
"salesforce",
13+
"b2c-commerce",
14+
"commerce-cloud",
15+
"sfra",
16+
"scapi",
17+
"ocapi"
18+
],
19+
"skills": "./skills/",
20+
"interface": {
21+
"displayName": "B2C CLI",
22+
"shortDescription": "Use the Salesforce B2C Commerce CLI from your AI assistant.",
23+
"longDescription": "Skills for driving the Salesforce B2C Commerce CLI — deploy cartridges, run jobs, manage On-Demand Sandboxes, stream logs, and perform WebDAV operations without leaving your editor.",
24+
"developerName": "Salesforce",
25+
"category": "Productivity",
26+
"capabilities": [
27+
"Read"
28+
],
29+
"logo": "./assets/logo.svg",
30+
"composerIcon": "./assets/logo.svg",
31+
"brandColor": "#0D9DDA",
32+
"websiteURL": "https://salesforcecommercecloud.github.io/b2c-developer-tooling/",
33+
"defaultPrompt": [
34+
"Deploy the cartridges in ./cartridges to my sandbox",
35+
"Run the reindex job on my sandbox",
36+
"Create a new On-Demand Sandbox with a 48-hour TTL",
37+
"Tail the latest error logs from my instance"
38+
]
39+
}
40+
}

skills/b2c-cli/README.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# b2c-cli
2+
3+
Agent skills for driving the Salesforce B2C Commerce CLI — deploy cartridges, run jobs, manage On-Demand Sandboxes, stream logs, and perform WebDAV operations from your AI assistant.
4+
5+
Part of the [B2C Developer Tooling](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling) marketplace.
6+
7+
## Installation
8+
9+
**Claude Code** and **GitHub Copilot CLI** both read the same `.claude-plugin/` marketplace:
10+
11+
```bash
12+
# Claude Code
13+
claude plugin marketplace add SalesforceCommerceCloud/b2c-developer-tooling
14+
claude plugin install b2c-cli@b2c-developer-tooling
15+
16+
# GitHub Copilot CLI
17+
copilot plugin marketplace add SalesforceCommerceCloud/b2c-developer-tooling
18+
copilot plugin install b2c-cli@b2c-developer-tooling
19+
```
20+
21+
**VS Code (GitHub Copilot):** Command Palette → **Chat: Install Plugin From Source** → enter the repo `SalesforceCommerceCloud/b2c-developer-tooling`.
22+
23+
**Codex:** open the repo as a workspace, restart Codex, then install from the **B2C Developer Tooling** marketplace in the plugin directory.
24+
25+
For file-copy install to any supported IDE, use `b2c setup skills b2c-cli`. See the [install guide](https://salesforcecommercecloud.github.io/b2c-developer-tooling/guide/agent-skills) for details.
26+
27+
## What's included
28+
29+
Skills covering the major B2C CLI surfaces:
30+
31+
- **`b2c-code`** — cartridge deploy, code version management, watch mode
32+
- **`b2c-sandbox`** — On-Demand Sandbox lifecycle
33+
- **`b2c-job`** — job execution and monitoring
34+
- **`b2c-logs`** — log streaming and log file management
35+
- **`b2c-webdav`** — WebDAV file operations
36+
- **`b2c-site-import-export`** — site archive import/export
37+
- **`b2c-config`** — CLI configuration, auth, and troubleshooting
38+
- **`b2c-scapi-custom`** — SCAPI Custom API management
39+
40+
See [`skills/`](./skills/) for the full list.
41+
42+
## License
43+
44+
Apache-2.0. See the [repo LICENSE](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/main/LICENSE.txt).

0 commit comments

Comments
 (0)