rp-source-wordpress
БесплатноЗапускает вложенные скриптыНе проверенWordPress and WooCommerce source adapter: REST capture, auth, pagination, and read contract for codegen. Use when the source platform is WordPress or…
от wix★ 40 звёзд на GitHubОб этом скилле
rp-source-wordpress
WordPress / WooCommerce source adapter. Owns every WordPress-specific detail the platform-agnostic skills must not hardcode: how to capture the schema, how to read the data, auth models, pagination, and REST quirks.
When this skill is used
This is not a stage in the migration flow — it is a reference consulted by two stages:
rp-discoveryconsults the Capture section to sample the source and produce the canonicalsource-profile.md+source-schema.json.rp-import-codegenconsults the Read contract section. The extract is fixed code: it installs the catalog extractor (scripts/wp-catalog-extract.js --install) and adds catalog entries only for what discovery found outside the catalog.
rp-execute-import never consults this skill — by the time execution runs, the
WordPress-specific knowledge is already in the reader catalog and the project's extra entries. Keeping the
WordPress knowledge here is what lets the rest of the workflow stay platform-agnostic.
For app routing and internal-link reconciliation, the generated reader also enumerates the captured source roots, declared
source hosts, source permalink/alias evidence, and each record's containing source page.
It passes those facts to the shared internal-link-audit.js plan input after backend
import. Do not infer the containing page from a file basename or assume a default
WooCommerce path. The deterministic census records every captured file as scanned,
unreadable or unsupported; unsupported documents, dynamic URLs and missing captures
remain coverage items. Never scan config/*.env or execute captured source code.
Platform identity
- Source platform: WordPress (core REST
wp/v2), optionally WooCommerce (wc/v3). - Detect by hitting
<base-url>/wp-json/— the REST index lists advertised namespaces. - Set
"platform": "wordpress"(and note WooCommerce presence insourceMeta) in the emittedsource-schema.json. This describes the discovery artifact, not the orchestration decision. - Once discovery confirms WooCommerce, record
sourcePlatform.value=woocommerceinorchestration/decisions.jsonand useconfig/source.woocommerce.env. Otherwise recordsourcePlatform.value=wordpressthere and useconfig/source.wordpress.env. Generated importers read that exact nested value — never the decision wrapper object and never the nullableorchestration/run.jsonsourcePlatformfield. The adapter remainsrp-source-wordpressin both cases.
Capture (discovery-time)
Sampling the source to learn its shape — not a bulk export.
The Wix domain knowledge base may be used as a classifier supplement during synthesis,
but not as a sampling mandate. When a discovered WordPress/WooCommerce route matches a
known alias, annotate the emitted entity with sourceMeta.candidateTargetRefs[]; do not
turn that hint into a target decision here. Keep frontend, theme, runtime, admin, and
transient routes skipped by default even if a knowledge entry exists for a related
setup/config target.
After identifying the platform, verify migrations/<project>/config/source.<platform>.env.
For a confirmed WooCommerce source, this is source.woocommerce.env; for WordPress without
WooCommerce evidence, it is source.wordpress.env. Create the selected file if missing with
empty values:
WP_BASE_URL=
WP_USERNAME=
WP_APPLICATION_PASSWORD=
WP_MEDIA_URL_REWRITE_FROM=
WP_MEDIA_URL_REWRITE_TO=
WC_CONSUMER_KEY=
WC_CONSUMER_SECRET=
Before requesting any WordPress / WooCommerce credentials for a URL-based migration, ask the user which data scope they want:
public content onlyalso include private/authenticated data
This choice is mandatory and must be explicit. Do not ask for WP_USERNAME,
WP_APPLICATION_PASSWORD, or WooCommerce keys until the user chooses also include private/authenticated data. Collect every sensitive
value through the secure Secrets Manager flow; do not ask the user to paste it into chat.
One credential covers both private WordPress/WooCommerce REST (wp/v2, wc/v3) and
wix-wp-plugin-v2 bridge reads: a WordPress Application Password (WP_USERNAME +
WP_APPLICATION_PASSWORD) for an administrator or a WooCommerce shop manager. The bridge
(0.5.0+) admits manage_options or manage_woocommerce, so it works with or without
WooCommerce; it has no key of its own. A site without WooCommerce running a bridge copy older
than 0.5.0 answers 403 to every user; discovery reports bridge_plugin_update_required --
ask the site owner to upload the current zip. An old env file that still has
WMH2_MIGRATION_KEY is harmless: the value is ignored.
Key sensitivity is predefined and does not change at runtime. Requiredness is separate and may depend on the selected acquisition mode or source behavior.
| Key | Sensitivity | Requiredness |
|---|---|---|
WP_BASE_URL |
non-sensitive | Required for URL-based capture |
WP_USERNAME |
sensitive | Required for |
Установить rp-source-wordpress в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл rp-source-wordpress?
WordPress and WooCommerce source adapter: REST capture, auth, pagination, and read contract for codegen. Use when the source platform is WordPress or WooCommerce.
Как установить скилл rp-source-wordpress?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл rp-source-wordpress запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic