data-reverse-etl
Use when the user asks about reverse ETL with Hightouch or Census, syncing warehouse data to Salesforce or HubSpot, audience export, operational analytics or…
от j4flmao★ 47 звёзд на GitHub
Установить data-reverse-etl в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Reverse ETL
Purpose
Sync aggregated, transformed data from a data warehouse to operational SaaS tools (CRM, marketing, support) to power customer-facing and internal operational workflows.
Agent Protocol
Trigger
Exact user phrases: "reverse ETL", "Census", "Hightouch", "Grouparoo", "operational analytics", "warehouse to SaaS", "data activation", "warehouse sync", "audience export", "sync config", "operational data", "warehouse-first", "sync identity resolution".
Input Context
Before activating, verify:
- Source warehouse (Snowflake, BigQuery, Redshift, Databricks, Postgres)
- Destination SaaS tools (Salesforce, HubSpot, Marketo, Braze, Amplitude, Zendesk, Google Ads, Facebook Audiences)
- Sync frequency (real-time, hourly, daily, batch window)
- Identity resolution strategy (unique keys, merge rules, foreign key mapping)
- Volume (rows per sync, daily active records)
- Idempotency requirements (upsert vs replace vs append)
Output Artifact
Reverse ETL pipeline config with SQL source query, sync schedule, identity mapping, and destination-specific operation config as YAML and SQL.
Response Format
# Sync configuration with identity mapping
-- Source query
-- Destination field mapping
No preamble. No postamble. No explanations. No filler/hedging/transitions. Compress output.
Completion Criteria
- Source SQL query with deduplication and incremental filtering
- Identity resolution keys defined for each destination
- Sync schedule with rate-limit awareness configured
- Destination operation mode (upsert/replace/append) specified
- Error handling with retry and alerting defined
- Data freshness SLA documented
Max Response Length
4096
Workflow
Sync Model Architecture
Reverse ETL operates in three stages:
- Source query — SQL that extracts and transforms warehouse data into the desired shape
- Identity resolution — mapping warehouse keys to destination object IDs
- Destination sync — API calls to create/update/delete records in the target system
The source SQL should be idempotent: running it multiple times produces the same result set. Use QUALIFY ROW_NUMBER() or equivalent to deduplicate on the identity key.
Incremental Sync Pattern
-- Snowflake incremental sync with watermark
WITH latest_customers AS (
SELECT
customer_id,
email,
full_name,
lifetime_value,
last_order_date,
customer_tier,
updated_at
FROM analytics.customers_v2
WHERE updated_at > (
SELECT MAX(last_synced_at) FROM sync_watermarks
WHERE sync_name = 'customers_to_salesforce'
)
AND is_active = TRUE
QUALIFY ROW_NUMBER() OVER (
PARTITION BY customer_id ORDER BY updated_at DESC
) = 1
)
SELECT * FROM latest_customers
Full Refresh Pattern
-- BigQuery full refresh for audience export
SELECT
user_id AS external_id,
email,
ARRAY_AGG(DISTINCT product_category) AS viewed_categories,
MAX(order_completed) AS has_ordered,
SUM(revenue) AS total_revenue
FROM `analytics.user_events`
WHERE event_date >= DATE_SUB(CURRENT_DATE(), INTERVAL 90 DAY)
GROUP BY user_id, email
HAVING SUM(revenue) > 0 OR MAX(order_completed) = TRUE
Identity Resolution
Identity resolution maps warehouse rows to destination object IDs. Destinations use different matching strategies:
| Destination | Match Key | Sync Mode | Dedup Strategy |
|---|---|---|---|
| Salesforce | external_id__c or email |
Upsert | Custom External ID field |
| HubSpot | email or hs_object_id |
Upsert | Email dedup rule |
| Marketo | email or foreignKey |
Upsert | Email dedup |
| Braze | external_id or alias_name |
Merge | External ID |
| Amplitude | user_id or device_id |
Merge | User ID merge |
| Zendesk | email or external_id |
Upsert | External ID |
| Google Ads | hashed_email or hashed_phone |
Upload (CUID) | SHA-256 hashing |
| Facebook Audiences | email or pixel_id |
Upload (CAPI) | SHA-256 hashing |
# Census sync config example
sync:
name: "Customer Tier Sync to Salesforce"
source:
type: snowflake
object: analytics.customers_v2
query: "SELECT customer_id, email, full_name, customer_tier, lifetime_value FROM analytics.customers_v2 WHERE updated_at > {{last_synced_at}}"
incremental: true
incremental_key: updated_at
destination:
type: salesforce
object: Contact
operation: upsert
external_id: external_id__c
mapping:
- from: customer_id
to: external_id__c
- from: email
to: Email
- from: full_name
to: Name
- from: customer_tier
to: Customer_Tier__c
- from: lifetime_value
to: Lifetime_Value__c
schedule:
frequency: hourly
interval_minutes: 60
retry_on_failure: true
max_retries: 3
backoff_minutes: 5
Idempotency Patterns
Idempotency ensures running a sync twice does not create duplicate records:
- Upsert by external ID — warehouse pro
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/identity-resolution.md
- references/identity-strategies.md
- references/reverse-etl-monitoring.md
- references/reverse-etl-patterns.md
- references/sync-config-examples.md
FAQ
Что делает скилл data-reverse-etl?
Use when the user asks about reverse ETL with Hightouch or Census, syncing warehouse data to Salesforce or HubSpot, audience export, operational analytics or data activation. Produces sync design with incremental diffing, idempotent upserts and API rate-limit handling. Not for ingestion into the warehouse (use data-etl-pipeline).
Как установить скилл data-reverse-etl?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл data-reverse-etl запускает скрипты?
Нет, скилл состоит только из инструкций (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…