b2c-site-import-export
БесплатноБез исполняемых скриптовНе проверенAuthor, validate, import, and verify B2C Commerce site archives and metadata XML; export selected data for inspection or migration.
от SalesforceCommerceCloud★ 58 звёзд на GitHubОб этом скилле
Site Archives
Use b2c job import / b2c job export to transfer site archives. If b2c is
unavailable, use npx @salesforce/b2c-cli.
Configuration and tool choice
CLI and MCP share resolved configuration: SFCC_* variables (including project
.env), project/shared dw.json, and plugins. package.json provides nonsecret
defaults. Use --project-directory outside the target project. Inspect with
b2c setup inspect --json or MCP config_inspect; keep secrets masked. Configured
values normally make credential flags and manual dw.json reads unnecessary.
For resolution issues, use b2c-cli:b2c-config.
Use the CLI for XML imports and exports, including settings absent from SCAPI
contracts. Without a terminal, MCP site_archive_import imports XML given as text
(skill://mcp/b2c-mcp-site-import/SKILL.md); it does not export. MCP scapi_execute can
manage supported Admin fields; a metadata record alone does not prove that
promotion discounts or targeting rules are configured.
Import and verify
- Resolve the target site/catalog and intended change. Include only relevant data in the archive; preserve unrelated settings and requested enabled state.
- Author XML in the platform archive layout. Check the relevant XSD with
b2c docs schema <name>(list names with--list), then validate the archive withb2c validate ./archive(MCP:validate_xml_schema) and fix every error. - Import the directory or zip. The command waits by default;
--show-logshows job logs on failure. Check completion before retrying. - Read back the affected fields. If the API omits them, export the matching data unit and inspect the relevant XML records. A successful job alone is insufficient.
b2c job import ./archive --show-log
b2c job export --site MySite --site-data campaigns_and_promotions --output ./verification
--site alone exports all site data; specify --site-data for focused work.
For a full instance export use --all; --site all, --catalog all, etc. select
every object of one type. Prefer these flags over hand-written --data-units JSON.
Directory output retains the platform's generated *_export root. Do not overwrite
an existing/applied migration. Exports may contain secrets or unrelated defaults;
review and trim before committing, preserving XSD-required fields.
Focused references
- Archive layout and XML workflows: archive workflows.
- Attribute/type XML patterns: metadata XML.
- Remote imports, size splitting, and import-set options: import options.
- Export flags, data units, and compact JSON results: the export reference in the
b2c-jobskill. - Ordered migrations, naming, history, and recovery:
b2c-cli:b2c-import-set-migrations. - Service configuration XML:
b2c:b2c-webservices. - Sample storefront datasets and new-instance setup:
b2c-cli:b2c-setup.
Jobs prefer SCAPI; --api-backend auto can fall back to OCAPI on supported
rejections. Archive transfer uses WebDAV in either case. For job scopes, backend
selection, and monitoring, use the relevant section of b2c-cli:b2c-job.
Установить b2c-site-import-export в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл b2c-site-import-export?
Author, validate, import, and verify B2C Commerce site archives and metadata XML; export selected data for inspection or migration.
Как установить скилл b2c-site-import-export?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл b2c-site-import-export запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic