rp-discovery
БесплатноЗапускает вложенные скриптыНе проверенDiscovers and documents the source platform schema (entities, fields, relationships) for a migration project. Use when capturing source structure before…
от wix★ 40 звёзд на GitHubОб этом скилле
rp-discovery
Discover and document the source-platform schema for the active migration project.
Purpose
Use this skill to inspect the source system, identify entities, relationships, fields, identifiers, media, rich content, and platform-specific constraints. Examples include Shopify, WordPress, WooCommerce, and custom CMS platforms.
This skill owns the platform-agnostic discovery process and its output contract
(source-profile.md + source-schema.json). Platform-specific details — how to capture a
given source, its auth model, REST quirks — live in a dedicated source adapter skill,
not here. For WordPress / WooCommerce, that adapter is rp-source-wordpress. To support a
new platform, add a sibling adapter (e.g. rp-source-shopify) and leave this skill
unchanged.
Inputs
Expected inputs may include:
migrations/<project>/orchestration/run.jsonmigrations/<project>/orchestration/decisions.json- source site/app URL
- source platform name when it cannot be inferred
- source acquisition mode when the platform offers multiple read paths
- source API docs
- credentials, tokens, or local dump files when available
- export files when the run is file-based rather than URL-based
- current project under
migrations/<project>/ - project-local config under
migrations/<project>/config/
Config gate before capture
Before running source capture, verify the project-local config files created by
wix-replatform:
config/wix.envshould always exist withWIX_SITE_STRATEGY,WIX_SITE_ID, andWIX_AUTH_TOKENkeys, even though discovery itself may not use Wix credentials yet.config/source.<platform>.envshould exist once the source platform is known. A WordPress-only source usesconfig/source.wordpress.env; a source with confirmed WooCommerce evidence usesconfig/source.woocommerce.envand recordssourcePlatform=woocommerce. Both use therp-source-wordpressdiscovery adapter.
If a required non-sensitive key is missing or blank, ask the user for that value and fill the config file before continuing. If a required sensitive key is missing or blank, use the secure Secrets Manager flow: check for an existing non-placeholder local env value, then an existing non-placeholder Wix secret under the resolved site, and ask the user to update the dashboard secret only for keys missing from both places. Never ask the user to paste sensitive values into chat. Never print secret values back to the user; report only present/missing.
Use skills/wix-replatform/scripts/source-secrets.js resolve for sensitive source keys.
Its output is limited to key names and statuses. It always returns postHydrationReport
({ exists, keys }: present/blank/placeholder/missing for each requested key in the local
env file). Read that field to confirm a hydration succeeded; do not open the env file to check.
Treat migrations/<project>/config/*.env as secret-bearing once they may contain real
values. Do not inspect them with whole-file reads that echo contents into tool output.
Use secret-safe checks only: existence, required key names, and present / blank /
missing status.
Site creation precedence
If this skill encounters conflicting Wix guidance about how to create a new site +
headless destination, wix-replatform's migration contract wins.
- Route headless destination creation back to
resources/rp-destination/, which scaffolds vianpm create @wix/new@latest headless. This is the verified way to get a genuine headless site; the account-level Projects API is deprecated for this workflow (it produced non-headless sites). - Discovery is source-side and does not create the site itself — just defer to that section.
Workflow
- Confirm the active project under
migrations/<project>/. - Start from the source URL when available and try to identify the source platform yourself before asking the user. Use lightweight signals such as a REST index, headers, HTML/application markers, or platform-specific route patterns. Only ask the user to name the platform if detection remains inconclusive.
- Once the platform is inferred, resolve the acquisition mode before requesting source
credentials when the platform has materially different read paths.
- For Shopify URL-based migrations, ask whether to use the
Admin APIor only publicly availablestorefrontdata.Admin APIrecordssourceMode=private_dataand uses therp-source-shopifyadapter, read through the operator's Shopify CLI session; it collects no secrets.storefrontkeeps today's public route (sourceMode=public_content). - For WordPress / WooCommerce URL-based migrations, ask whether to import
public content onlyoralso include private/authenticated data. - Only the WordPress / WooCommerce
also include private/authenticated databranch should trigger the secure Secrets Manager collection flow for sensitive credentials. The `public content only
- For Shopify URL-based migrations, ask whether to use the
Установить rp-discovery в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл rp-discovery?
Discovers and documents the source platform schema (entities, fields, relationships) for a migration project. Use when capturing source structure before mapping to Wix.
Как установить скилл rp-discovery?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл rp-discovery запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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