Idempotent sync jobs
Builds ETL, cron and queue jobs that are idempotent and atomic, so retries and backfills do not double count.
Claude's review
7/10 Clear idempotency, atomicity and overlap-lock rules with a definition of done, slightly tied to Supabase and sibling skills.
We asked Claude the question you would ask: would I be glad I installed this? We only sell skills it rates 7 or higher.
In detail
Wire ETL, ingestion, cron, and queue jobs with idempotency, atomic writes, data contracts, and dead-letters. Use for "build a pipeline", "sync X into Y", "cron double-counts", "dedupe", "backfill", or "the numbers are wrong after a retry".
How you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide
Safety check
Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: data-pipeline
description: >
Wire ETL, ingestion, cron, and queue jobs with idempotency, atomic writes,
data contracts, and dead-letters. Use for "build a pipeline", "sync X into
Y", "cron double-counts", "dedupe", "backfill", or "the numbers are wrong
after a retry".
license: MIT
---
# Data Pipeline Correctness
**Degree of freedom: MIXED.** Layering and window design `[HIGH freedom]`;
idempotency, atomic writes, overlap lock, and the DoD `[LOW freedom — run exactly]`.
## How to reason
1. **Observe** — job, retry path, write targets, schedule
2. **Interpret** — at-least-once vs atomic vs contract vs overlap
3. **Classify** — upsert / window-recompute / quarantine / lock / watermark
4. **Severity** — retry double-count outranks a missing metric
## Worked example
> **Observe:** nightly `refresh_order_stats` does `count = count + 1`; cron overlapped twice; dashboard totals jumped.
> **Interpret:** at-least-once delivery + non-idempotent delta.
> **Classify:** recompute-and-replace the day window; `pg_try_advisory_lock`; persist a watermark.
> **Verify:** re-run the same window → identical rows; overlap skipped; `pipeline_runs` recorded.
## Self-critique before reporting
- **Idempotent** — same-window re-run proven identical, not assumed
- **Atomic** — mid-fail leaves no half-written batch
- **Locked** — the scheduled job has an overlap guard
- **Right owner** — schema/constraints → `audit-db-schema`; post-hoc corruption hunt → `plan-data-integrity`
> Pipelines fail silently: a retry double-counts, a partial write corrupts a table, a schema drift poisons a dashboard, and nobody notices until the numbers are wrong. This skill bakes correctness in at build time. It complements post-hoc data-integrity audit skills (which *detect* these after the fact) and the Supabase plugin (DB/Edge Functions/RLS).
## When this fires
Any job that **moves, transforms, or aggregates** data: ingestion/ETL/ELT, scheduled aggregations, edge-function workers, `pg_cron` jobs, queue consumers, webhook processors, backfills, materialized-view refreshes.
...From kensaurus's repository, MIT licence.
Related skills
-
Checked
Dashboard design
Designs clean, honest dashboards for web and SwiftUI with KPI cards, charts and layouts that work on phones.
7/101 credit -
Checked
User path analysis
Analyses event logs with Retentioneering to map user paths, funnels and churn, and shows where users drop off.
7/101 credit -
Checked
Geospatial SQL builder
Writes cost safe geospatial SQL for BigQuery, DuckDB, Snowflake and Postgres, with optional maps in Dekart.
7/101 credit -
Checked
Snowflake SQL and Cortex
Writes Snowflake SQL, Dynamic Tables, Streams, Cortex AI and Snowpark code while dodging common errors.
7/101 credit -
Checked
dbt platform migration
Moves a dbt project from one warehouse to another and fixes SQL dialect gaps, so your models build again.
7/101 credit -
Checked
CSV and Excel merging
Merges, stacks and dedupes CSV and Excel files into one clean table, then checks the row counts add up.
7/101 credit