schema-mapper
БесплатноЗапускает вложенные скриптыНе проверенDocument column-level mappings between source and target schemas. Use when integrating data from multiple systems, designing ETL transformations, or…
от nimrodfisher★ 565 звёзд на GitHubОб этом скилле
Schema Mapper
When to use
- Integrating a new data source and need to map its fields to the existing data model
- Designing an ETL or dbt transformation and need to document the logic
- Auditing what happened to a field during a migration
- Onboarding a new analyst who needs to understand where columns come from
- Preparing a data catalog entry that requires lineage at the column level
Process
- Collect the source schema — list every column name, data type, nullable flag, and a brief description. Pull from
INFORMATION_SCHEMA, a data dictionary, or the source API documentation. - Collect the target schema — same structure for the destination table or model. If the target doesn't exist yet, draft it based on the analytical requirements.
- Map source columns to target columns — for each target column, identify the source column(s) that feed it. Record direct mappings (rename only) and derived mappings (calculation, type cast, lookup join). Use
scripts/schema_compare.pyto automate direct-name matches. - Document transformation rules — for each derived mapping, write the exact transformation (e.g.,
CAST(amount_cents AS FLOAT) / 100.0,COALESCE(first_name, email)). - Flag gaps — identify target columns with no source (need to be created or defaulted) and source columns with no target (dropped or deferred). Record a decision for each.
- Produce the mapping document — complete
assets/schema_mapping_template.mdwith the full column inventory and share for review before implementation.
Inputs the skill needs
- Source schema: table name, column names, data types, and descriptions
- Target schema: same, or the analytical requirements that define it
- Any existing transformation logic (SQL, dbt models, Python code)
- Business rules that govern how values should be transformed or defaulted
- Stakeholder who can resolve ambiguous fields
Output
scripts/schema_compare.py— compares two schemas and finds direct-name matches and type mismatchesassets/schema_mapping_template.md— completed column-by-column mapping with transformation rules, gaps, and decisions- Optional: transformation SQL or dbt YAML generated from the mapping
Установить schema-mapper в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл schema-mapper?
Document column-level mappings between source and target schemas. Use when integrating data from multiple systems, designing ETL transformations, or documenting how raw fields become analytical assets.
Как установить скилл schema-mapper?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл schema-mapper запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic