salesforcecommercecloud/b2c-developer-tooling/b2c-ecdn
Claude Code and agent skill by salesforcecommercecloud/b2c-developer-tooling
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
Manage eCDN zones, security settings, and edge configuration for B2C Commerce storefronts. Use this skill whenever the user needs to purge CDN cache, provision SSL certificates, configure WAF or firewall rules, set up rate limiting, enable logpush or Page Shield, manage MRT routing, configure mTLS or cipher suites, or optimize edge performance. Also use when troubleshooting CDN-layer issues, managing zone settings, or adding rules to the SCAPI (API) zone -- even if they just say 'clear the cach…
Install
npx vskill@latest install salesforcecommercecloud/b2c-developer-tooling/b2c-ecdnSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as salesforcecommercecloud/b2c-developer-tooling/b2c-ecdn.
B2C eCDN Skill
Use the b2c CLI plugin to manage eCDN (embedded Content Delivery Network) zones, certificates, security settings, and more.
To investigate edge traffic before changing rules (bots, abuse, edge 403/429 spikes, SCAPI/SLAS abuse; which sources matter, who runs them, which rules cover them), use the b2c-ops:b2c-edge-traffic-triage runbook (MCP: skill://b2c-ops/b2c-edge-traffic-triage/SKILL.md).
Tip: Ifb2cis not installed globally, usenpx @salesforce/b2c-cliinstead (e.g.,npx @salesforce/b2c-cli ecdn zones list).
Configuration
Values like tenantId, clientId, and clientSecret resolve from dw.json / SFCC_* env vars / the active instance / configuration plugins. Examples below show minimal usage; add flags only to override configured values — passing --client-id/--client-secret/--tenant-id is usually unnecessary. If a required value is missing, the CLI emits an actionable error pointing at the flag, env var, and config key.
Run b2c setup inspect to see the resolved configuration and which source provided each value (--json for scripting; secrets stay masked by default). For precedence rules and troubleshooting, see the b2c-cli:b2c-config skill.
Prerequisites
- OAuth credentials with
sfcc.cdn-zonesscope (read operations) - OAuth credentials with
sfcc.cdn-zones.rwscope (write operations) - Tenant ID for your B2C Commerce organization (from config or
--tenant-id)
Examples
List CDN Zones
Create a Storefront Zone
Purge Cache
Manage Certificates
Manage Rate Limiting Rules
Security Settings
Speed Settings
Additional Topics
For less commonly used eCDN features, see the reference files:
- [SECURITY.md](references/SECURITY.md) — WAF (v1 and v2), custom firewall rules, rate limiting, and Page Shield (CSP policies, script detection, notification webhooks)
- [ADVANCED.md](references/ADVANCED.md) — Logpush jobs, MRT routing rules, mTLS certificates, cipher suite configuration, and origin header modification
Configuration Overrides
The tenant ID can be overridden via flag or environment variable:
--tenant-id/SFCC_TENANT_ID/tenantIdin dw.json
The --zone flag accepts either:
- Zone ID (32-character hex string)
- Zone name (human-readable, case-insensitive lookup across all zones in the org, including beyond the first 25)
Pitfalls
Forbidden= feature unavailable on that zone, or a--zoneID not in this org.waf groups/waf rules(WAF v1) typically fail withNot Found(zones on WAF v2); usewaf rulesets.firewall create --actions log(or--enabled false) stages a rule without enforcing it; switch tomanaged_challenge/blockafter review.
SCAPI (API) Zone
zones list includes <realm>.api.commercecloud.salesforce.com (BM labels it <shortCode>.api...). It fronts SCAPI/SLAS traffic, including headless storefronts.
- Supported:
firewall,rate-limit. Forbidden(platform-managed, not a scope problem):security,speed,waf rulesets,certificates,cipher-suites,mrt-rules,page-shield,logpush,origin-headers.- Shared by every instance in the realm (dev/stg/prd). Scope each rule to one instance by org ID in the path, e.g.
(http.request.uri.path contains "/organizations/f_ecom_zzxy_prd/") and .... An unscoped rule applies to all instances.
OAuth Scopes
| Operation | Required Scope | |
|---|---|---|
| Read operations | sfcc.cdn-zones | |
| Write operations | sfcc.cdn-zones.rw |
More Commands
See b2c ecdn --help for a full list of available commands and options in the ecdn topic.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/b2c-cli/skills/b2c-ecdn/SKILL.md
Popularity
- Repository stars
- 51
- Repository forks
- 16
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 25 Nov 2026, 2 days ago.
Extension points
configConfiguration overrides
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/salesforcecommercecloud/b2c-developer-tooling/b2c-ecdn)