data-pipeline
Use when designing or implementing data pipelines in a project that selects this source-code capability, including warehouse layers, schema management, and…
от lanej★ 41 звезда на GitHub
Установить data-pipeline в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Data Pipeline Patterns
This is optional project engineering guidance installed through source-code setup --skills data-pipeline. Read installed project policy for the selected authority and adoption. Preserve established pipeline architecture under hold/new and follow project agreement for shared/upstream changes; this package does not authorize a warehouse migration.
Architecture patterns and best practices for data pipeline design, with focus on the medallion architecture (Raw → Staging → Enriched) and declarative schema management.
Medallion Architecture
The three-layer pattern for organizing data warehouses:
- Raw / Bronze: Preserve source data exactly as received (append-only)
- Staging / Silver: Cleaned, deduplicated, conformed data
- Enriched / Gold: Business-ready, joined, aggregated data
Read references/medallion-architecture.md for:
- Layer definitions and purposes
- Deduplication patterns
- View vs materialized table choices
- Temporal joins for slowly-changing dimensions
- Refresh strategies
YAML Schema Management
Prefer YAML files over inline SQL DDL or JSON for schema definitions:
Benefits:
- Version control friendly (line-by-line diffs)
- Human readable with comments
- Separation of concerns (schema vs infrastructure)
- Consistent across upload scripts, docs, and IaC
Read references/yaml-schema-patterns.md for:
- YAML structure examples
- Terraform integration via
jsonencode(yamldecode(file())) - Schema evolution patterns (safe vs unsafe changes)
- Field naming conventions
- Deprecation workflow
- Multi-source schema strategies
Quick Reference
Layer Selection
| Need | Layer |
|---|---|
| Historical source data, re-processable | Raw |
| Cleaned records, ready for joining | Staging |
| Joined across sources, with metrics | Enriched |
Schema Change Safety
| Change | Safe? | Notes |
|---|---|---|
| Add nullable column | ✅ Yes | No data loss |
| Rename column | ❌ No | Use view-layer aliasing |
| Delete column | ❌ No | Deprecate first, delete later |
| Widen type (INT→FLOAT) | ✅ Yes | Usually safe |
| Narrow type (FLOAT→INT) | ❌ No | Requires migration |
Common Gotchas
- Deduplication: Always use
ROW_NUMBER()window functions in Staging layer, notDISTINCT(DISTINCT is non-deterministic for ties) - Field order: When using Terraform
jsonencode(yamldecode())for BigQuery, field order in YAML must match BQ (see opentofu skill) - Extraction idempotency: Make extract scripts safe to re-run (upsert logic, deduplication in Raw layer)
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/medallion-architecture.md
- references/yaml-schema-patterns.md
FAQ
Что делает скилл data-pipeline?
Use when designing or implementing data pipelines in a project that selects this source-code capability, including warehouse layers, schema management, and ETL workflows.
Как установить скилл data-pipeline?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл data-pipeline запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate 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…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…