Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

rp-mapper

БесплатноЗапускает вложенные скриптыНе проверен

Maps discovered source entities and fields to Wix targets and documents lossiness. Use when creating machine-readable mapping artifacts and review markdown…

wixот wix★ 40 звёзд на GitHub

Об этом скилле

rp-mapper

Mapping owns semantic decisions, including uncovered relationships and custom fields. Apply applicable shared rules; when knowledge is absent, investigate source meaning and authoritative target schemas here. Missing knowledge alone is not a reason to block. Follow references/knowledge-and-recovery.md for run-local operation assessments, eligible temporary field deferral, record holds and later repair. Codegen implements these decisions and returns unanswered mapping questions to this step.

Create a mapping plan from the discovered source schema into Wix entities and Wix data structures.

Purpose

This skill translates source entities and fields into Wix targets. It should define what each source record becomes in Wix, how fields transform, and where custom schemas or extended fields are required.

Required inputs

  • migrations/<project>/source-schema.json
  • migrations/<project>/source-profile.md when available
  • migrations/<project>/orchestration/checkpoints.json
  • migrations/<project>/orchestration/decisions.json
  • migrations/<project>/discovery/source-coverage.json (capabilities discovery could not capture)
  • any existing Wix target-model constraints supplied by the user

Read only these canonical artifacts by default. Do not ingest the raw discovery dump (migrations/<project>/data/...) wholesale — it is platform-specific and large. Instead, when an entity's mapping is ambiguous, follow that entity's rawFile pointer in source-schema.json to open just that one raw file for verification. Skip entities whose inUse is false (advertised by the source but holding no records).

Adapter-supplied hints in sourceMeta

A source adapter may pre-fill part of the mapping when it recognizes the source format. Two sourceMeta keys carry that, and both are optional — a schema without them maps exactly as before:

  • sourceMeta.mappingHints[] ({ column, wixTarget, matchedAlias }) — an advisory pre-fill, e.g. from a recognized vendor's CSV profile. Seed the corresponding fieldMappings[] entries from it so the user reviews and corrects instead of authoring from scratch, and record decisionProvenance: source_platform_rule. It is never authoritative: the source's own field list still governs, and every hint still passes through the mapping review checkpoint.
  • sourceMeta.drift.unmappedColumns[] — real source columns the adapter's profile did not recognize. Each one must be explicitly mapped or explicitly recorded as skipped; leaving them unaddressed is how a stale profile turns into silently dropped data.

In addition to the project artifacts above, consult the relevant bundled adapter resource when the mapping depends on platform behavior that should not be guessed:

  • source-side read/entity semantics from wix-replatform/resources/rp-source-<platform>/SKILL.md
  • Wix target constraints and domain behavior from wix-replatform/resources/rp-target-wix/SKILL.md
  • Wix target entity suitability from wix-replatform/resources/rp-target-wix/scripts/domain-knowledge.js

Treat those adapter resources as the authoritative home for platform knowledge. Do not copy source/Wix behavioral rules into the mapping plan as if they originated there; cite and apply them there.

Read-back field contract before mapping approval

For the gated Wix targets order, member, contact and product, every field-mapping row must declare the exact sourcePaths[] it reads, canonical writePath, and readPath or a specific unverifiableReason. Write array positions as []. A populated false or 0 is real data. In mapping/entity-decisions/<entity>.json, account for every populated source leaf and intended target path with fieldDispositions[]: { kind: source | intended, path, status: mapped | notMigrated, mappingRef }. A mapped disposition names the actual mapping-row ID or index; it cannot claim a path that row does not read or write. For an exact field plan, keep the canonical fieldDispositions[].mappingRefs[] produced by the authority. Each reference is decisionId:outputId; put readPath or unverifiableReason in that precise output’s verification metadata. The authority projects these bindings to verificationMappings[].

When an output is written (appliesWhen). If a decision legitimately writes nothing at an output for some records, declare that on the output as a predicate, not as prose in lookup cases or helper arguments. Example: taxable keeps the Wix site default tax group, so taxGroupId gets {"op":"notEquals","location":"tax_status","value":"taxable"}. Variant choices (empty on a simple product's default variant) get {"op":"equals","location":"type","value":"variable"}. Compare-at price, where a 0 sale price means no sale, gets {"op":"all","of":[{"op":"populated","location":"sale_price"},{"op":"notEquals","location":"sale_price","value":"0"}]}. Tracked quantity and

Полный SKILL.md на GitHub

Установить rp-mapper в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

lib/mapping-resolve.jslib/structure-bridge-planning.jsreferences/knowledge-and-recovery.mdscripts/coverage-reconcile.jsscripts/multilingual-default-invariance.jsscripts/multilingual-public-plan.jsscripts/resolve-mapping.jswix-business-solutions-taxonomy.md

FAQ

Что делает скилл rp-mapper?

Maps discovered source entities and fields to Wix targets and documents lossiness. Use when creating machine-readable mapping artifacts and review markdown after discovery.

Как установить скилл rp-mapper?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл rp-mapper запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить rp-mapper с