/kenji:data-pipelinefrom kenji skills
Wires ETL, ingestion, cron, and queue jobs with idempotency, atomic writes, data contracts, and dead-letter handling. Prevents silent corruption from retries, overlaps, and partial writes.
Ships in kenji skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Degree of freedom: MIXED. Layering and window design [HIGH freedom];
idempotency, atomic writes, overlap lock, and the DoD [LOW freedom — run exactly].
Observe: nightly
refresh_order_statsdoescount = 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_runsrecorded.
audit-db-schema; post-hoc corruption hunt → plan-data-integrityPipelines 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).
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.
INSERT ... ON CONFLICT (natural_key) DO UPDATE (upsert), not blind INSERT.now() or a random id.count = count + 1 on a path that can retry.any-cast them downstream.Explicit delivery semantics — know and document whether each stage is at-least-once, at-most-once, or exactly-once, and make the consumer match. Most queues/cron are at-least-once → consumers MUST be idempotent (see #1).
Observability — a pipeline you can't see is a pipeline that's already broken.
pipeline_runs table or logs), don't just console.log.Raw → land source data unchanged, append-only, with ingested_at + source id
Staged → cleaned, typed, validated, deduped (1 row per natural key)
Curated → business entities, joined/enriched, the query surface
Aggregated→ rollups / metrics / materialized views for dashboards
Each layer is rebuildable from the one before it. Never transform-in-place on raw; never let dashboards read raw.
--from, --to / date partition), not "everything since forever". The same code runs the nightly slice and the historical backfill.try/catch {} that swallows errors is banned.count = count + 1 / balance = balance + x on a retryable path → not idempotent.SELECT * into a typed model without a contract → schema drift time bomb.pg_try_advisory_lock / "skip if running".pg_cron is at-least-once and can overlap under load → make the SQL/function idempotent and guard with an advisory lock.full-stack-ship-discipline.audit-db-schema — the schema/constraints the pipeline writes into.supabase-postgres-best-practices — Postgres-level query/index tuning (official Supabase plugin).full-stack-ship-discipline — deploy + verify functions/cron/policies on the remote.workflow-spec-tdd — spec the contract + test idempotency/edge cases before coding.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
etl, data-pipeline, idempotency, atomic-writes, data-contracts, dead-letter
npx claudepluginhub kensaurus/skills --plugin kenji162 skills in this plugin
/audit-accessibilityWCAG 2.2 AA audit via playwright-cli: axe-core, keyboard, contrast, target size, focus, ARIA. Use when "audit accessibility", "check a11y", "WCAG audit", "check keyboard nav", or "test screen reader".
/audit-agent-speedMeasure and fix a slow coding-agent setup: status line, hooks, instruction bloat, effort, worktree pile-up, antivirus and indexer scans. Use when "Claude is slow" or "CPU is pinned". App speed → audit-performance.
/audit-analyticsRead-only audit of product-analytics events (PostHog, Amplitude, Mixpanel, GA4): taxonomy, funnels, consent-gated firing, dead or duplicate events. Use when "audit our analytics", "are we tracking the right events", or "funnel instrumentation".
/audit-auth-flowsRead-only audit of app-layer auth: route×gate matrix, session lifecycle, OAuth, provider traps (getSession vs getUser, middleware-only gates, CVE-2025-29927). Use when "audit our auth" or "check middleware protection". RLS → plan-rls-audit.
/audit-backend-architectureRead-only backend-architecture audit and pattern advisor, gated by stack. Use when "audit backend architecture", "which pattern should I use", "am I over-engineering", or "sync vs event-driven". Enforced boundaries → enhance-arch-boundaries.
/audit-bundle-sizeAnalyse and shrink a web app's JavaScript bundle. Use when "reduce bundle size", "code splitting", "slow initial load", or "why is the bundle so big". Runtime → audit-performance.
Other plugins' skills for the same job