Skip to content

Commit 9efcb5f

Browse files
committed
feat: add storefront-next skills plugin to marketplace
Integrate 14 Storefront Next development skills covering the full lifecycle — project setup, routing, data fetching, components, Page Designer, authentication, i18n, extensions, testing, performance, and deployment to Managed Runtime. Adds the storefront-next skill set to the SDK, CLI (b2c setup skills), plugin marketplaces, release workflow, and documentation.
1 parent 485ef63 commit 9efcb5f

43 files changed

Lines changed: 3543 additions & 17 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.agents/plugins/marketplace.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,19 @@
2828
},
2929
"category": "Productivity"
3030
},
31+
{
32+
"name": "storefront-next",
33+
"description": "Storefront Next development skills for building React 19 storefronts on Salesforce B2C Commerce.",
34+
"source": {
35+
"source": "local",
36+
"path": "./skills/storefront-next"
37+
},
38+
"policy": {
39+
"installation": "AVAILABLE",
40+
"authentication": "ON_INSTALL"
41+
},
42+
"category": "Productivity"
43+
},
3144
{
3245
"name": "cap-dev",
3346
"description": "Skills for scaffolding, packaging, validating, and submitting Commerce App Packages (CAPs) for Salesforce Commerce Cloud.",
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@salesforce/b2c-tooling-sdk': minor
3+
'@salesforce/b2c-cli': minor
4+
---
5+
6+
Add `storefront-next` skill set to `b2c setup skills`. Install Storefront Next development skills with `b2c setup skills storefront-next`, or via the plugin marketplace with `claude plugin install storefront-next`.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@salesforce/b2c-agent-plugins': minor
3+
---
4+
5+
Add `storefront-next` plugin with 14 skills covering the full Storefront Next development lifecycle — project setup, routing, data fetching, components, Page Designer, authentication, i18n, extensions, testing, performance, and deployment to Managed Runtime.

.claude-plugin/marketplace.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,18 @@
4242
"category": "productivity",
4343
"strict": false
4444
},
45+
{
46+
"name": "storefront-next",
47+
"description": "Storefront Next development skills for building React 19 storefronts on Salesforce B2C Commerce.",
48+
"author": {
49+
"name": "Salesforce"
50+
},
51+
"license": "Apache-2.0",
52+
"source": "./skills/storefront-next",
53+
"category": "productivity",
54+
"strict": false,
55+
"version": "1.1.2"
56+
},
4557
{
4658
"name": "cap-dev",
4759
"description": "Skills for scaffolding, packaging, validating, and submitting Commerce App Packages (CAPs) for Salesforce Commerce Cloud.",

.github/workflows/publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,9 @@ jobs:
434434
# Create b2c-cli-skills.zip containing skills/b2c-cli/skills/
435435
cd skills/b2c-cli && zip -r ../../b2c-cli-skills.zip skills/
436436
cd ../..
437+
# Create storefront-next-skills.zip containing skills/storefront-next/skills/
438+
cd skills/storefront-next && zip -r ../../storefront-next-skills.zip skills/
439+
cd ../..
437440
echo "Created skills artifacts:"
438441
ls -la *.zip
439442
@@ -446,7 +449,7 @@ jobs:
446449
--title "Agent Plugins ${{ steps.packages.outputs.version_plugins }}" \
447450
--notes "Skills artifacts for b2c-agent-plugins v${{ steps.packages.outputs.version_plugins }}"
448451
449-
gh release upload "$RELEASE_TAG" b2c-skills.zip b2c-cli-skills.zip
452+
gh release upload "$RELEASE_TAG" b2c-skills.zip b2c-cli-skills.zip storefront-next-skills.zip
450453
env:
451454
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
452455

AGENTS.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ Changeset guidelines:
186186
- HOW a consumer should update their code
187187
- Good changesets are brief and user-focused (not contributor); they are generally 1 line or two; The content of the changeset is used in CHANGELOG and release notes. You do not need to list internal implementation details or all details of commands; just the high level summary for users.
188188

189-
Valid changeset packages: `@salesforce/b2c-cli`, `@salesforce/b2c-tooling-sdk`, `@salesforce/b2c-dx-mcp`, `@salesforce/mrt-utilities`, `b2c-vs-extension`, `@salesforce/b2c-dx-docs`
189+
Valid changeset packages: `@salesforce/b2c-cli`, `@salesforce/b2c-tooling-sdk`, `@salesforce/b2c-dx-mcp`, `@salesforce/mrt-utilities`, `b2c-vs-extension`, `@salesforce/b2c-dx-docs`, `@salesforce/b2c-agent-plugins`
190190

191191
Create a changeset file directly in `.changeset/` with a unique filename (e.g., `descriptive-change-name.md`):
192192

@@ -201,3 +201,4 @@ Description of the change explaining WHAT, WHY, and HOW to update
201201

202202
- Include only the packages that were directly modified
203203
- For doc-only changes, target `@salesforce/b2c-dx-docs` instead of the CLI/SDK/MCP packages
204+
- For changes to agent skills/plugins in `skills/` (adding or updating skill content, adding a new plugin), target `@salesforce/b2c-agent-plugins`

docs/cli/setup.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ b2c setup skills [SKILLSET]
371371

372372
| Argument | Description | Default |
373373
| ---------- | ---------------------------------------- | ---------------------- |
374-
| `SKILLSET` | Skill set to install: `b2c` or `b2c-cli` | Prompted interactively |
374+
| `SKILLSET` | Skill set to install: `b2c`, `b2c-cli`, `storefront-next`, or `cap-dev` | Prompted interactively |
375375

376376
### Flags
377377

@@ -411,6 +411,7 @@ b2c setup skills
411411
# List available skills in a skillset
412412
b2c setup skills b2c --list
413413
b2c setup skills b2c-cli --list
414+
b2c setup skills storefront-next --list
414415

415416
# Install b2c skills to Cursor (project scope)
416417
b2c setup skills b2c --ide cursor
@@ -447,7 +448,7 @@ b2c setup skills b2c --list --json
447448

448449
When run without `--force`, the command provides an interactive experience:
449450

450-
1. Prompts you to select skill set(s) (if not provided as argument) - you can select both `b2c` and `b2c-cli`
451+
1. Prompts you to select skill set(s) (if not provided as argument) - you can select multiple sets
451452
2. Downloads skills from the latest release (or specified version)
452453
3. Auto-detects installed IDEs
453454
4. Prompts you to select target IDEs
@@ -465,6 +466,7 @@ For Claude Code users, we recommend using the plugin marketplace for automatic u
465466
claude plugin marketplace add SalesforceCommerceCloud/b2c-developer-tooling
466467
claude plugin install b2c-cli
467468
claude plugin install b2c
469+
claude plugin install storefront-next
468470
```
469471

470472
The marketplace provides:
@@ -477,10 +479,12 @@ Use `--ide manual` if you prefer manual installation, or `--ide agentforce-vibes
477479

478480
### Skill Sets
479481

480-
| Skill Set | Description |
481-
| --------- | ----------------------------------------------- |
482-
| `b2c` | B2C Commerce development patterns and practices |
483-
| `b2c-cli` | B2C CLI commands and operations |
482+
| Skill Set | Description |
483+
| ------------------ | -------------------------------------------------------------- |
484+
| `b2c` | B2C Commerce development patterns and practices |
485+
| `b2c-cli` | B2C CLI commands and operations |
486+
| `storefront-next` | Storefront Next development — routing, components, deployment |
487+
| `cap-dev` | Commerce App Package scaffolding, validation, and submission |
484488

485489
### Output
486490

docs/guide/agent-skills.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ claude plugin marketplace add SalesforceCommerceCloud/b2c-developer-tooling
1717
# Use --scope project to install for current project only
1818
claude plugin install b2c-cli
1919
claude plugin install b2c
20+
claude plugin install storefront-next
2021
```
2122

2223
```text [Copilot (VS Code)]
@@ -30,6 +31,7 @@ Then enter:
3031
copilot plugin marketplace add SalesforceCommerceCloud/b2c-developer-tooling
3132
copilot plugin install b2c-cli@b2c-developer-tooling
3233
copilot plugin install b2c@b2c-developer-tooling
34+
copilot plugin install storefront-next@b2c-developer-tooling
3335
```
3436

3537
```bash [Codex]
@@ -68,6 +70,10 @@ npx @salesforce/b2c-cli setup skills
6870
<td><a href="https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/tree/main/skills/b2c/skills"><code>b2c</code></a></td>
6971
<td>B2C Commerce development patterns — controllers, ISML, forms, localization, logging, metadata, web services, custom job steps, Page Designer, Business Manager extensions, Custom APIs</td>
7072
</tr>
73+
<tr>
74+
<td><a href="https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/tree/main/skills/storefront-next/skills"><code>storefront-next</code></a></td>
75+
<td>Storefront Next development — project setup, routing, data fetching, components, Page Designer, authentication, i18n, extensions, testing, and deployment to Managed Runtime</td>
76+
</tr>
7177
<tr>
7278
<td><a href="/mcp/"><code>b2c-dx-mcp</code></a></td>
7379
<td>Automatic project type detection and B2C Commerce workflows for your AI assistant. See <a href="/mcp/installation">MCP Installation</a></td>
@@ -90,12 +96,14 @@ Install plugins at your preferred scope:
9096
```bash [User Scope (default)]
9197
claude plugin install b2c-cli
9298
claude plugin install b2c
99+
claude plugin install storefront-next
93100
claude plugin install b2c-dx-mcp
94101
```
95102

96103
```bash [Project Scope]
97104
claude plugin install b2c-cli --scope project
98105
claude plugin install b2c --scope project
106+
claude plugin install storefront-next --scope project
99107
claude plugin install b2c-dx-mcp --scope project
100108
```
101109

@@ -107,6 +115,7 @@ Verify, update, or uninstall:
107115
claude plugin list
108116
claude plugin marketplace update
109117
claude plugin update b2c-cli@b2c-developer-tooling
118+
claude plugin update storefront-next@b2c-developer-tooling
110119
claude plugin uninstall b2c-cli@b2c-developer-tooling
111120
claude plugin marketplace remove b2c-developer-tooling
112121
```
@@ -145,6 +154,7 @@ List available skills:
145154
```bash
146155
b2c setup skills b2c --list
147156
b2c setup skills b2c-cli --list
157+
b2c setup skills storefront-next --list
148158
```
149159

150160
Install to specific IDEs:
@@ -240,3 +250,7 @@ Once installed, ask your AI assistant:
240250
- "Help me create a Custom API for loyalty information"
241251
- "Add logging to my checkout controller"
242252
- "Create an HTTP service to call the payment gateway API"
253+
- "Set up a new Storefront Next project"
254+
- "Add a new route with a loader to my Storefront Next app"
255+
- "Deploy my Storefront Next storefront to Managed Runtime"
256+
- "Add Page Designer support to my storefront component"

packages/b2c-cli/src/commands/setup/skills.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ interface SetupSkillsResponse {
6262
export default class SetupSkills extends BaseCommand<typeof SetupSkills> {
6363
static args = {
6464
skillset: Args.string({
65-
description: 'Skill set to install: b2c, b2c-cli, or cap-dev',
65+
description: 'Skill set to install: b2c, b2c-cli, storefront-next, or cap-dev',
6666
options: ALL_SKILL_SETS,
6767
}),
6868
};
@@ -77,6 +77,7 @@ export default class SetupSkills extends BaseCommand<typeof SetupSkills> {
7777
static examples = [
7878
'<%= config.bin %> <%= command.id %> b2c',
7979
'<%= config.bin %> <%= command.id %> b2c-cli --ide cursor --global',
80+
'<%= config.bin %> <%= command.id %> storefront-next --ide cursor',
8081
'<%= config.bin %> <%= command.id %> cap-dev --ide claude-code --global',
8182
'<%= config.bin %> <%= command.id %> b2c --list',
8283
'<%= config.bin %> <%= command.id %> b2c-cli --skill b2c-code --skill b2c-webdav --ide cursor',
@@ -133,7 +134,7 @@ export default class SetupSkills extends BaseCommand<typeof SetupSkills> {
133134
this.error(
134135
t(
135136
'commands.setup.skills.skillsetRequired',
136-
'Skillset argument required in non-interactive mode. Specify b2c, b2c-cli, or cap-dev.',
137+
'Skillset argument required in non-interactive mode. Specify b2c, b2c-cli, storefront-next, or cap-dev.',
137138
),
138139
);
139140
} else {
@@ -269,7 +270,8 @@ export default class SetupSkills extends BaseCommand<typeof SetupSkills> {
269270
'Note: For Claude Code, we recommend using the plugin marketplace for automatic updates:\n' +
270271
' claude plugin marketplace add SalesforceCommerceCloud/b2c-developer-tooling\n' +
271272
' claude plugin install b2c-cli\n' +
272-
' claude plugin install b2c\n\n' +
273+
' claude plugin install b2c\n' +
274+
' claude plugin install storefront-next\n\n' +
273275
'Use --ide manual for manual installation to the same paths.',
274276
),
275277
);

packages/b2c-cli/src/i18n/locales/en.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,14 +179,16 @@ export const en = {
179179
'Note: For Claude Code, we recommend using the plugin marketplace for automatic updates:\n' +
180180
' claude plugin marketplace add SalesforceCommerceCloud/b2c-developer-tooling\n' +
181181
' claude plugin install b2c-cli\n' +
182-
' claude plugin install b2c\n\n' +
182+
' claude plugin install b2c\n' +
183+
' claude plugin install storefront-next\n\n' +
183184
'Use --ide manual for manual installation to the same paths.',
184185
preview: 'Installing {{count}} skills to {{ides}} ({{scope}})',
185186
cancelled: 'Installation cancelled.',
186187
installed: 'Successfully installed {{count}} skill(s):',
187188
skippedCount: 'Skipped {{count}} skill(s):',
188189
errorsCount: 'Failed to install {{count}} skill(s):',
189-
skillsetRequired: 'Skillset argument required in non-interactive mode. Specify b2c or b2c-cli.',
190+
skillsetRequired:
191+
'Skillset argument required in non-interactive mode. Specify b2c, b2c-cli, storefront-next, or cap-dev.',
190192
selectSkillset: 'Select skill set(s) to install:',
191193
noSkillsetsSelected: 'No skill sets selected.',
192194
selectIdes: 'Select target IDEs:',

0 commit comments

Comments
 (0)