Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/sdk-cli-operator-skillset.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@salesforce/b2c-tooling-sdk': minor
'@salesforce/b2c-cli': minor
---

Add the `b2c-operator` skill set so the operator/admin runbook plugin can be installed with `b2c setup skills b2c-operator` (and from the plugin marketplaces).
5 changes: 5 additions & 0 deletions .changeset/skills-catalog-and-curl-hosting.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@salesforce/b2c-dx-docs': minor
---

Redesign the agent-skills docs: an interactive **skills catalog** (filter by persona, category, or tag; copy a ready-to-run `curl` command per skill or for all matches) on the Agent Skills page, and a new dedicated **Installing Skills** page for per-IDE setup detail. Every skill is now also hosted as raw, curl-able markdown with a machine-readable `skills-index.json` and an agent-friendly `skills.txt`, so cold agents and CI can fetch guidance without installing anything.
5 changes: 5 additions & 0 deletions .changeset/skills-taxonomy-and-operator-plugin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@salesforce/b2c-agent-plugins': minor
---

Add a persona/category/tags taxonomy to every skill (with `alsoFor` for skills that serve more than one role) and ship a new `b2c-operator` plugin of operator/admin **runbooks** — a safe production code release & rollback procedure and a production incident-triage flow — that orchestrate the `b2c` CLI's code, logs, debugger, and analytics commands into guided, guard-railed workflows. Install `b2c-operator` alongside `b2c-cli`. Skills are now classified by persona (Developer, Operator/Admin) and tagged with cross-cutting topics (SCAPI, SLAS, Page Designer, diagnostics, headless, and more), powering an interactive catalog and a curl-able index. Also fixes six broken cross-skill links in the SCAPI skills.
12 changes: 12 additions & 0 deletions .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,18 @@
"category": "productivity",
"strict": false,
"version": "1.3.3"
},
{
"name": "b2c-operator",
"description": "Operator/Admin bundle — curated operational B2C Commerce skills (deploys, sandboxes, jobs, logs, debugging, edge/MRT, access administration). A curated subset of b2c-cli/b2c; install instead of those plugins, not alongside.",
"author": {
"name": "Salesforce"
},
"license": "Apache-2.0",
"source": "./skills/b2c-operator",
"category": "productivity",
"strict": false,
"version": "1.4.0"
}
]
}
48 changes: 48 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,54 @@ jobs:
packages/b2c-cli/coverage/
retention-days: 30

skills:
# Fast, dependency-light gate for the agent-skill taxonomy + docs hosting.
# Runs the strict frontmatter validator, checks the generated manifest is
# not stale and docs anchors resolve, and smoke-builds the docs (which
# publishes the curl-able skills tree/index).
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6

- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 22.x

- name: Setup pnpm
uses: pnpm/action-setup@v5

- name: Get pnpm store directory
shell: bash
run: echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV

- name: Setup pnpm cache
uses: actions/cache@v5
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Validate skill taxonomy (frontmatter + links + manifest freshness)
run: pnpm run skills:taxonomy:check

- name: Check docs anchors resolve (page-split guard)
run: node scripts/check-doc-anchors.mjs

- name: Build packages (docs build depends on the SDK)
run: pnpm -r run build

- name: Smoke-build docs (publishes curl-able skills tree + index)
run: pnpm run docs:build

- name: Assert hosted skill + index are curl-able (served from dist)
run: node scripts/check-skills-hosting.mjs

test-windows:
runs-on: windows-latest
# Advisory rollout: Windows coverage is new; surface failures without
Expand Down
Loading
Loading