30 Claude Prompts for Data Engineers
Paste these into Claude to get pipeline architectures, dbt models, schema designs, and data quality checks you can actually ship, not textbook explanations.
In short: This page contains 30 copy-paste ready prompts, organized into 6 categories with a description and pro tip for each. The first 5 prompts are free instantly, no signup needed. Hand-curated and tested by the AI Academy team.
Pipeline Design and Architecture
5 promptsDesign a batch ETL pipeline architecture
1/30✨ What it does
Produces a one-page batch ETL architecture proposal with stages, risks, and an open decision for the reader.
You are a senior data engineer who designs ingestion pipelines for analytics teams. <context> I need to move data from [SOURCE SYSTEM] into [DATA WAREHOUSE] on a schedule and I want a clean architecture before I start building. </context> <inputs> - Source system: [SOURCE SYSTEM] - Target warehouse: [DATA WAREHOUSE] - Data volume: [ROW COUNT / GB PER DAY] - Refresh cadence needed: [REFRESH FREQUENCY] - Existing tooling: [ORCHESTRATION TOOL] - Team size: [NUMBER OF ENGINEERS] </inputs> <task> Propose a batch ETL architecture. Cover extraction method, staging layer, transformation layer, load strategy, and where schema changes get caught before they break downstream models. </task> <constraints> Keep the proposal to one page. Call out at least one failure mode and how the design handles it. Do not recommend a specific vendor unless one is already named in the inputs. Avoid jargon that a new hire on the team would not know without explanation. </constraints> <format> Return: 1) a short architecture summary, 2) a numbered list of pipeline stages with what happens at each, 3) a risks section with mitigations, 4) one open question for me to decide. </format>
Pro tip: Paste your actual source system quirks (rate limits, weird pagination) into the inputs, Claude will design around them instead of giving a generic answer.
Choose between batch and streaming for a new pipeline
2/30✨ What it does
Gives a grounded batch versus streaming recommendation with a scored comparison table.
You are a data platform architect who has shipped both batch and streaming systems. <context> My team is debating whether a new pipeline should be batch or streaming and I want a structured comparison grounded in our actual requirements, not a generic pros and cons list. </context> <inputs> - Use case: [USE CASE DESCRIPTION] - Required data freshness: [LATENCY REQUIREMENT] - Current stack: [CURRENT STACK] - Team's streaming experience: [EXPERIENCE LEVEL] - Budget constraint: [BUDGET RANGE] </inputs> <task> Recommend batch or streaming for this specific case, with a fallback hybrid option if a clean answer is not possible. Justify the choice against the stated latency and team experience. </task> <constraints> Base the recommendation on the actual inputs, not textbook definitions. If the team's streaming experience is low, weigh operational risk heavily. Keep the answer under 350 words. </constraints> <format> Return a short recommendation paragraph, then a table with columns Option, Pros, Cons, Fit Score out of 10, then a final one-line verdict. </format>
Pro tip: Be honest about the team's streaming experience in the inputs, this is usually the deciding factor and Claude will flag it if you understate it.
Design a data lake ingestion layer
3/30✨ What it does
Delivers a raw zone folder structure, naming convention, and schema evolution plan for a data lake.
You are a data engineer specializing in data lake and lakehouse architecture. <context> I am setting up a raw ingestion layer in our data lake and want a folder and file format strategy before data starts landing. </context> <inputs> - Storage: [STORAGE PLATFORM] - File formats considered: [FILE FORMATS] - Source systems feeding in: [LIST OF SOURCES] - Expected retention: [RETENTION PERIOD] - Downstream consumers: [DOWNSTREAM TOOLS] </inputs> <task> Design a raw zone layout including partitioning scheme, file format choice with justification, naming convention, and a plan for schema evolution over time. </task> <constraints> Assume multiple teams will write to this lake, so the convention must be self-explanatory without a wiki lookup. Do not suggest a format switch unless the current one clearly fails the use case. Keep recommendations concrete, not aspirational. </constraints> <format> Return a folder structure diagram in plain text, a naming convention rule, a short paragraph on schema evolution handling, and a checklist of 5 items to verify before go-live. </format>
Pro tip: List every downstream consumer, even internal ones, since partitioning choices that help one team can silently slow another down.
Plan a pipeline migration from a legacy ETL tool
4/30✨ What it does
Produces a phased, risk-sequenced migration plan with rollback triggers for each phase.
You are a data engineer who has led migrations off legacy ETL tools. <context> We are moving pipelines off [LEGACY TOOL] onto [TARGET STACK] and I need a migration plan that does not break reporting mid-way. </context> <inputs> - Number of pipelines to migrate: [PIPELINE COUNT] - Legacy tool: [LEGACY TOOL] - Target stack: [TARGET STACK] - Business-critical pipelines: [CRITICAL PIPELINE NAMES] - Deadline: [DEADLINE] </inputs> <task> Produce a phased migration plan that sequences pipelines by risk and dependency, keeps both systems running in parallel where needed, and defines a cutover and rollback point for each phase. </task> <constraints> Prioritize business-critical pipelines last, after the pattern is proven on lower-risk ones. Every phase needs a rollback condition. Do not assume a big-bang cutover is acceptable unless the inputs say the deadline forces it. </constraints> <format> Return a phased table with columns Phase, Pipelines, Duration, Rollback Trigger, followed by a short paragraph on parallel-run validation strategy. </format>
Pro tip: Name the actual business-critical pipelines in the inputs so Claude puts them last in the sequence instead of guessing which ones matter.
Design a change data capture pipeline
5/30✨ What it does
Recommends a CDC implementation approach with schema evolution and deduplication handling.
You are a data engineer experienced in change data capture and event-driven pipelines. <context> I need to replicate changes from [SOURCE DATABASE] into [TARGET SYSTEM] in near real time and I am deciding how to implement CDC. </context> <inputs> - Source database: [SOURCE DATABASE] - Target system: [TARGET SYSTEM] - Acceptable lag: [LAG TOLERANCE] - Volume of changes: [CHANGE VOLUME PER DAY] - Existing CDC tooling available: [CDC TOOL OR NONE] </inputs> <task> Recommend a CDC approach (log-based, trigger-based, or query-based), describe how schema changes on the source get propagated safely, and outline how to handle out-of-order or duplicate events downstream. </task> <constraints> Favor log-based CDC unless the source database does not support it, then explain the tradeoff clearly. Address exactly-once versus at-least-once delivery. Keep the explanation practical, aimed at someone who will implement this next week. </constraints> <format> Return: recommended approach with one-paragraph justification, a schema-change handling plan, a deduplication strategy, and a short list of monitoring metrics to track. </format>
Pro tip: State your actual lag tolerance in seconds or minutes, not real time, vague latency requirements lead to over-engineered recommendations.
dbt Models and Transformations
5 promptsWrite a dbt staging model
6/30✨ What it does
Writes a dbt staging model SQL file with type casting, renaming, and known-issue handling, plus a rationale list.
You are a analytics engineer who writes dbt models for production warehouses. <context> I have a raw source table and need a clean staging model that follows standard dbt conventions before anyone builds marts on top of it. </context> <inputs> - Raw table name: [RAW TABLE NAME] - Key columns: [COLUMN LIST] - Known data issues: [KNOWN ISSUES] - Warehouse: [WAREHOUSE, e.g. SNOWFLAKE] - Naming convention in use: [NAMING CONVENTION] </inputs> <task> Write a staging model SQL file that renames columns to the convention, casts types explicitly, handles the known data issues, and adds a surrogate key if none exists. </task> <constraints> Use CTEs, not nested subqueries. Do not apply business logic in staging, that belongs in intermediate or mart models. Comment any non-obvious transformation inline. Keep the model materialized as a view unless told otherwise. </constraints> <format> Return the full SQL file with a header comment describing the source, followed by a short bullet list explaining each transformation decision. </format>
Pro tip: Paste the actual raw column names and types from your warehouse, Claude will not guess a schema that does not match production.
Refactor a monolithic dbt model into layers
7/30✨ What it does
Splits a monolithic dbt model into staging, intermediate, and mart layers while preserving output.
You are a analytics engineer who specializes in dbt project structure and refactoring. <context> I have one giant dbt model doing staging, business logic, and aggregation in a single file, and it is becoming impossible to maintain. </context> <inputs> - Current model name: [MODEL NAME] - Approximate line count: [LINE COUNT] - Downstream models depending on it: [DOWNSTREAM MODEL COUNT] - Business logic embedded (brief): [BUSINESS LOGIC SUMMARY] - Warehouse: [WAREHOUSE] </inputs> <task> Propose a split into staging, intermediate, and mart layers, showing which chunks of logic move where and what each new model should be named. </task> <constraints> Preserve the exact output of the final mart model, this is a refactor, not a logic change. Flag anywhere the current logic looks like a bug rather than intentional design, but do not fix it silently. Keep the new model count reasonable, do not over-split into more than 4 to 5 files. </constraints> <format> Return a table with columns New Model Name, Layer, Logic Moved, then a short paragraph noting any suspected bugs found during the split. </format>
Pro tip: If the model has a suspected bug baked in, tell Claude to flag it separately so you do not accidentally fix a bug during what should be a pure refactor.
Write a dbt incremental model
8/30✨ What it does
Writes a dbt incremental model with a justified strategy and explicit late-arriving-record handling.
You are a analytics engineer who builds high-volume incremental dbt models. <context> I have a large fact table that is too slow to fully rebuild every run and I need an incremental model instead. </context> <inputs> - Source model: [SOURCE MODEL NAME] - Unique key: [UNIQUE KEY COLUMN] - Update pattern: [UPDATE PATTERN, e.g. LATE ARRIVING FACTS] - Table size: [ROW COUNT] - Warehouse: [WAREHOUSE] </inputs> <task> Write the incremental dbt model configuration and SQL, including the is_incremental block, choice of incremental strategy, and handling for late-arriving or updated records. </task> <constraints> Justify the choice of incremental strategy (merge, delete+insert, or append) given the update pattern described. Include a full-refresh safe path. Do not silently drop late-arriving records, handle them explicitly. </constraints> <format> Return the config block, the full SQL with the is_incremental logic, and a short paragraph explaining why this strategy fits the update pattern. </format>
Pro tip: Describe your update pattern precisely, whether records get updated after the fact changes which incremental strategy actually works.
Design a reusable dbt macro
9/30✨ What it does
Turns repeated dbt logic into a documented, parameterized macro with example call sites.
You are a analytics engineer who writes reusable dbt macros for a multi-team project. <context> The same piece of transformation logic is copy pasted across [NUMBER OF MODELS] models and I want to turn it into a macro. </context> <inputs> - Repeated logic (describe or paste): [LOGIC DESCRIPTION OR SQL SNIPPET] - Models currently using it: [MODEL NAMES] - Parameters that vary between uses: [VARYING PARAMETERS] - dbt version: [DBT VERSION] </inputs> <task> Write a Jinja macro that parameterizes the varying parts of the logic, plus example calls showing how each existing model would use it. </task> <constraints> Keep the macro's argument list short and named clearly, avoid clever Jinja that the next engineer cannot read. Add a docstring comment above the macro explaining its purpose and arguments. Do not change the underlying business logic. </constraints> <format> Return the macro file contents, then a short list showing one example call per varying use case. </format>
Pro tip: List every variation in how the logic is currently used, edge cases in the varying parameters are what usually break a first draft macro.
Write dbt model documentation and tests
10/30✨ What it does
Writes a complete schema.yml entry with stakeholder-readable descriptions and appropriate tests.
You are a analytics engineer responsible for dbt documentation and test coverage. <context> I have a dbt model in production with no schema.yml entry and I need documentation and tests added before the next audit. </context> <inputs> - Model name: [MODEL NAME] - Columns: [COLUMN LIST] - Business meaning of the model: [BUSINESS PURPOSE] - Known constraints: [KNOWN CONSTRAINTS, e.g. UNIQUE EMAIL] - dbt package available: [DBT_UTILS OR OTHER PACKAGES] </inputs> <task> Write a schema.yml entry for the model with column-level descriptions and appropriate generic tests (not_null, unique, accepted_values, relationships where relevant). </task> <constraints> Write descriptions a non-engineer stakeholder could read in the dbt docs site, avoid internal jargon. Only add tests that reflect real constraints stated in the inputs, do not invent constraints. Use dbt_utils tests only if the package is listed as available. </constraints> <format> Return the complete schema.yml block in YAML, followed by a one-line note on any column you could not confidently describe from the inputs given. </format>
Pro tip: If you are unsure of a column's real business meaning, say so in the inputs, Claude will flag it instead of inventing a plausible sounding description.
Schema Design and Data Modeling
5 promptsDesign a star schema for a fact table
11/30✨ What it does
Designs a fact table and its dimensions for a star schema, with the grain stated explicitly upfront.
You are a data modeler who designs dimensional models for analytics warehouses. <context> I need to design a star schema for a new reporting area and want the fact and dimension tables laid out before I start building. </context> <inputs> - Business process being modeled: [BUSINESS PROCESS] - Grain of the fact table: [GRAIN DESCRIPTION] - Known dimensions: [DIMENSION LIST] - Expected metrics: [METRIC LIST] - Warehouse: [WAREHOUSE] </inputs> <task> Design the fact table with its grain, foreign keys, and measures, plus each dimension table with its attributes. Flag any dimension that looks like it should be a slowly changing dimension. </task> <constraints> State the grain explicitly in one sentence before anything else, this is the most common source of downstream bugs. Keep dimension tables denormalized where that is standard practice for a star schema. Do not add a dimension that was not implied by the inputs. </constraints> <format> Return a grain statement, a fact table column list with types, one section per dimension table with its columns, and a note on which dimensions likely need SCD handling. </format>
Pro tip: Write the grain of the fact table yourself first if you can, even a rough attempt, Claude will correct it rather than invent one from scratch.
Design a slowly changing dimension
12/30✨ What it does
Assigns an SCD type per attribute and produces the resulting dimension DDL and join pattern.
You are a data modeler who implements slowly changing dimensions in production warehouses. <context> One of my dimension tables has attributes that change over time and I need to decide how to track that history correctly. </context> <inputs> - Dimension table: [DIMENSION TABLE NAME] - Attributes that change: [CHANGING ATTRIBUTES] - Reporting need: [REPORTING NEED, e.g. POINT IN TIME ACCURACY] - Update frequency of source: [UPDATE FREQUENCY] - Warehouse: [WAREHOUSE] </inputs> <task> Recommend an SCD type (1, 2, or a hybrid) for each changing attribute, and design the resulting table structure including effective date columns and current record flags. </task> <constraints> Not every attribute needs Type 2, some should stay Type 1, decide per attribute and justify each choice against the stated reporting need. Include how joins to this dimension should be written to get point in time correct results. </constraints> <format> Return a table listing each attribute with its recommended SCD type and reason, followed by the full DDL for the resulting dimension table, followed by an example join pattern. </format>
Pro tip: Be specific about which reports actually need point in time history, defaulting every attribute to Type 2 bloats the table and slows every join.
Decide between normalized and denormalized design
13/30✨ What it does
Recommends normalized versus denormalized table design based on actual query patterns and team skill.
You are a data architect who advises teams on warehouse table design tradeoffs. <context> I am debating whether a reporting table should be normalized or denormalized and want a decision grounded in our actual query patterns. </context> <inputs> - Table purpose: [TABLE PURPOSE] - Typical queries run against it: [QUERY PATTERNS] - Update frequency: [UPDATE FREQUENCY] - Current row count: [ROW COUNT] - Team querying it: [TEAM, e.g. BI ANALYSTS] </inputs> <task> Recommend normalized, denormalized, or a specific middle ground, and explain the query performance and maintenance tradeoff for this specific case. </task> <constraints> Base the recommendation on the stated query patterns, not general best practice. If the querying team is non-technical, weight ease of querying heavily over storage efficiency. Keep the answer under 300 words. </constraints> <format> Return a one-paragraph recommendation, then a short table with columns Factor, Normalized, Denormalized, Winner For This Case. </format>
Pro tip: Paste 2 or 3 real example queries in the inputs if you have them, the recommendation gets sharper than describing query patterns abstractly.
Design a data vault model
14/30✨ What it does
Maps business entities to hubs, links, and satellites and gives an honest verdict on whether data vault fits.
You are a data architect experienced in data vault 2.0 modeling. <context> I am evaluating data vault modeling for a new integration layer and need to see how our core entities would map to hubs, links, and satellites. </context> <inputs> - Core business entities: [ENTITY LIST] - Relationships between entities: [RELATIONSHIP DESCRIPTION] - Attributes that change frequently: [VOLATILE ATTRIBUTES] - Number of source systems feeding this: [SOURCE SYSTEM COUNT] - Team's data vault experience: [EXPERIENCE LEVEL] </inputs> <task> Map the entities to hubs, the relationships to links, and the volatile attributes to satellites, and explain why data vault fits or does not fit this scenario given the team's experience level. </task> <constraints> If the team has low data vault experience and few source systems, say plainly whether the complexity is justified, do not force a data vault recommendation because it was asked about. Keep hub and link naming consistent with data vault convention. </constraints> <format> Return a mapping table with columns Entity or Relationship, Vault Object Type, Name, followed by a one-paragraph verdict on whether data vault is the right choice here. </format>
Pro tip: Include the team's real experience level, Claude will push back on data vault if the complexity is not justified rather than just answering the question as asked.
Design a partitioning and clustering strategy
15/30✨ What it does
Recommends a partition and clustering strategy tied to real query filter patterns, with the DDL to apply it.
You are a data engineer who tunes large table performance in cloud warehouses. <context> A large table in our warehouse is getting slow and expensive to query and I want a partitioning and clustering strategy based on how it is actually queried. </context> <inputs> - Table name: [TABLE NAME] - Row count: [ROW COUNT] - Warehouse: [WAREHOUSE, e.g. BIGQUERY] - Most common filter columns in queries: [FILTER COLUMNS] - Current cost or performance pain point: [PAIN POINT] </inputs> <task> Recommend a partition key and clustering columns based on the stated filter columns, and estimate the likely impact on the stated pain point. </task> <constraints> Only recommend partitioning on a column that appears in the stated filter patterns, do not default to a date column unless it is actually one of them. Warn about partition skew risk if the chosen key is not evenly distributed. Keep the recommendation specific to the named warehouse's syntax. </constraints> <format> Return a recommended partition key with reasoning, a recommended clustering column list, the DDL or ALTER statement to apply it, and one risk to watch for. </format>
Pro tip: List your actual slow queries' WHERE clauses if you can, partitioning on the wrong column is the most common reason this kind of change does nothing.
These prompts give you the what. Tutorials give you the why.
Learn when to use extended thinking, how to build Claude Projects, and workflows that compound. 300+ tutorials and growing.
Data Quality and Testing
5 promptsWrite a data quality test suite plan
16/30✨ What it does
Produces a prioritized data quality test plan that specifically targets past failure modes.
You are a data quality engineer who designs test coverage for production pipelines. <context> I am setting up data quality checks for a pipeline that has had silent failures before and want a full test plan, not just a couple of null checks. </context> <inputs> - Pipeline or model name: [PIPELINE NAME] - Critical columns: [CRITICAL COLUMNS] - Known past failure modes: [PAST FAILURES] - Testing framework available: [FRAMEWORK, e.g. DBT TESTS OR GREAT EXPECTATIONS] - Downstream consumers affected by bad data: [DOWNSTREAM CONSUMERS] </inputs> <task> Design a layered test plan covering schema checks, row level validity checks, referential integrity, and freshness, prioritized by the stated past failure modes. </task> <constraints> Put the tests that would have caught the past failures at the top of the list, not at the bottom. Distinguish tests that should block a pipeline run from tests that should only warn. Keep the plan implementable with the stated framework. </constraints> <format> Return a prioritized table with columns Test, Type, Blocking or Warning Only, Why It Matters, ordered by priority. </format>
Pro tip: Describe the actual past incident in detail, a vague data was wrong once input produces a generic test list instead of one targeted at your real gap.
Root cause a data quality incident
17/30✨ What it does
Ranks likely root causes for a data incident and specifies the exact check to confirm each one.
You are a senior data engineer who investigates production data incidents. <context> Numbers in [AFFECTED DASHBOARD OR TABLE] were wrong for a period and I need to work through likely root causes systematically before I start debugging blindly. </context> <inputs> - Symptom observed: [SYMPTOM DESCRIPTION] - When it was first noticed: [DETECTION TIME] - Pipelines feeding this table: [UPSTREAM PIPELINES] - Recent changes to the system: [RECENT CHANGES] - What has already been ruled out: [RULED OUT CAUSES] </inputs> <task> Walk through a structured root cause investigation, ranking the most likely causes given the recent changes and symptom, and specify exactly what to check to confirm or rule out each one. </task> <constraints> Do not repeat causes already ruled out. Rank by likelihood given the recent changes, not by how common the cause type usually is. Give concrete queries or log locations to check where possible, not just abstract advice. </constraints> <format> Return a ranked list of hypotheses, each with a one-line reason it is suspected and a specific check to confirm it, ordered from most to least likely. </format>
Pro tip: List what you have already ruled out even if that list is short, otherwise Claude will spend the top ranking on causes you have already excluded.
Design anomaly detection rules for a metric
18/30✨ What it does
Designs seasonality-aware anomaly detection rules for a metric with an example alert message.
You are a data engineer who builds monitoring for key business metrics. <context> I want automated anomaly detection on [METRIC NAME] instead of relying on someone noticing the dashboard looks wrong. </context> <inputs> - Metric: [METRIC NAME] - Normal range or seasonality pattern: [SEASONALITY DESCRIPTION] - Update frequency: [UPDATE FREQUENCY] - Tooling available: [MONITORING TOOL] - Acceptable false positive rate: [FALSE POSITIVE TOLERANCE] </inputs> <task> Design anomaly detection rules for this metric, accounting for its seasonality, and specify what threshold logic or statistical method to use. </task> <constraints> Account for the seasonality pattern explicitly, a flat threshold will misfire on a metric with known weekly or seasonal cycles. Balance sensitivity against the stated false positive tolerance. Keep the method implementable with the stated tooling, do not propose a method that requires infrastructure not listed. </constraints> <format> Return the recommended detection method with a one-paragraph justification, the specific threshold or statistical rule, and an example of what an alert message should say. </format>
Pro tip: Describe the seasonality pattern honestly, including weekday versus weekend swings, this is what usually separates a useful alert from constant false positives.
Write a data contract between teams
19/30✨ What it does
Drafts a data contract with guaranteed fields, a breaking change definition, and a notification process.
You are a data engineer who negotiates data contracts between producing and consuming teams. <context> Our team consumes data from [PRODUCING TEAM] and we keep getting broken by upstream changes with no warning, so I want to draft a data contract. </context> <inputs> - Producing team: [PRODUCING TEAM] - Dataset in question: [DATASET NAME] - Fields our team depends on: [DEPENDENT FIELDS] - Past breaking changes experienced: [PAST BREAKING CHANGES] - Notice period we would need: [NOTICE PERIOD] </inputs> <task> Draft a data contract specifying schema guarantees, a change notification process, and what counts as a breaking versus non breaking change for this dataset. </task> <constraints> Base the guaranteed fields list on what our team actually depends on, not the full source schema. Make the breaking change definition concrete enough that neither team can argue about it later. Keep the notice period realistic given what has caused problems before. </constraints> <format> Return the contract as sections: Guaranteed Fields, Breaking Change Definition, Change Notification Process, Escalation Path if the contract is violated. </format>
Pro tip: List the specific past breaking changes, a contract written against real incidents holds up better in the next negotiation than a generic template.
Design a source to target reconciliation check
20/30✨ What it does
Designs a scheduled source to target reconciliation check with clear pass and fail thresholds.
You are a data engineer who validates data integrity across systems. <context> I need to prove that data landing in [TARGET SYSTEM] matches [SOURCE SYSTEM] after a migration or ongoing sync, and want a reconciliation approach. </context> <inputs> - Source system: [SOURCE SYSTEM] - Target system: [TARGET SYSTEM] - Key entity being reconciled: [ENTITY NAME] - Volume: [ROW COUNT] - Acceptable tolerance for numeric fields: [TOLERANCE, e.g. ROUNDING DIFFERENCES] </inputs> <task> Design a reconciliation check comparing row counts, key existence, and numeric field totals between source and target, and define what to do when a mismatch is found. </task> <constraints> Account for legitimate small differences described in the tolerance field, do not flag those as failures. Make the check runnable on a schedule, not just a one time manual comparison. Specify exactly what output signals pass versus fail. </constraints> <format> Return the reconciliation logic as pseudocode or SQL, a pass and fail threshold definition, and a short escalation step for when it fails. </format>
Pro tip: State your real tolerance for numeric mismatches upfront, rounding and currency conversion differences are the most common source of false failures here.
Orchestration and Monitoring
5 promptsDesign an Airflow DAG structure
21/30✨ What it does
Designs an Airflow DAG's task structure, parallelization, and per task retry settings.
You are a data engineer who builds and maintains Airflow DAGs in production. <context> I need to structure a new Airflow DAG for a multi step pipeline and want the task dependencies and retry behavior planned out before writing code. </context> <inputs> - Pipeline steps in order: [STEP LIST] - Steps that can run in parallel: [PARALLEL STEPS] - Expected runtime per step: [RUNTIME ESTIMATES] - Failure sensitive steps: [FAILURE SENSITIVE STEPS] - Airflow version: [AIRFLOW VERSION] </inputs> <task> Design the DAG structure including task dependencies, parallelization where possible, retry and timeout settings per task, and where to place sensors versus direct triggers. </task> <constraints> Only parallelize steps confirmed independent in the inputs, do not assume parallelism where dependencies were listed. Set stricter retry and alerting on the stated failure sensitive steps than on the rest. Use the task patterns available in the stated Airflow version. </constraints> <format> Return a DAG dependency diagram in plain text, a table of tasks with retry and timeout settings, and a short note on which tasks need the tightest monitoring. </format>
Pro tip: List which steps are actually independent versus just currently run in sequence, this is the detail that determines real parallelization gains.
Write an incident runbook for pipeline failures
22/30✨ What it does
Writes an on call runbook taking an engineer from symptom to fix with a time boxed escalation trigger.
You are a data engineer who is on call for production pipeline incidents. <context> Our pipeline for [PIPELINE NAME] has failed a few times and every time someone has to figure out the fix from scratch, so I want a runbook. </context> <inputs> - Pipeline name: [PIPELINE NAME] - Common failure symptoms seen: [COMMON SYMPTOMS] - Systems involved: [SYSTEMS INVOLVED] - On call team's access level: [ACCESS LEVEL] - Escalation contact if unresolved: [ESCALATION CONTACT] </inputs> <task> Write a runbook that walks an on call engineer from symptom to diagnosis to fix, covering the common failure symptoms listed, with an escalation path if the fix does not work. </task> <constraints> Write steps an engineer unfamiliar with this specific pipeline could follow, do not assume tribal knowledge. Include the exact commands or dashboard locations to check where possible. Keep the escalation trigger condition explicit and time boxed. </constraints> <format> Return sections: Symptoms, Diagnosis Steps, Fix Steps, Escalation Trigger and Contact, in that order. </format>
Pro tip: Include the actual dashboard URLs or log query locations if you can, a runbook that sends someone hunting for where to look defeats its own purpose.
Design an SLA and alerting strategy for pipelines
23/30✨ What it does
Defines a business tied SLA and a severity based alerting strategy sized to the on call team.
You are a data platform engineer who owns pipeline reliability and alerting. <context> We have no formal SLAs on our pipelines and alerts either fire constantly or not at all, and I want to define both properly. </context> <inputs> - Pipeline name: [PIPELINE NAME] - Business need behind the data: [BUSINESS NEED] - Current failure or delay frequency: [FAILURE FREQUENCY] - Alerting channel: [ALERTING CHANNEL, e.g. SLACK OR PAGERDUTY] - On call team size: [TEAM SIZE] </inputs> <task> Define a specific SLA for freshness and completeness based on the business need, and design an alerting strategy with severity levels that avoids alert fatigue given the team size. </task> <constraints> Tie the SLA number to the actual business need, not a round number picked for convenience. Give each severity level a distinct response expectation and channel. Keep the total volume of expected alerts reasonable for the stated team size. </constraints> <format> Return the SLA definition in one sentence, a severity table with columns Severity, Trigger Condition, Channel, Response Time Expected. </format>
Pro tip: State the real business consequence of a late pipeline, an SLA without a stated consequence tends to get set arbitrarily tight or loose.
Plan a backfill strategy for a broken pipeline
24/30✨ What it does
Plans a safe, chunked backfill with deduplication and a verification step to confirm completeness.
You are a data engineer who has managed large scale pipeline backfills. <context> A pipeline was broken for a period and I need to backfill the missing or incorrect data without overloading downstream systems or double counting. </context> <inputs> - Pipeline name: [PIPELINE NAME] - Period affected: [AFFECTED DATE RANGE] - Downstream systems that will be hit by the backfill: [DOWNSTREAM SYSTEMS] - Idempotency of the pipeline: [IDEMPOTENT OR NOT] - Available maintenance window: [MAINTENANCE WINDOW] </inputs> <task> Design a backfill plan that sequences the affected period safely, avoids overloading the downstream systems listed, and prevents double counting given the pipeline's idempotency. </task> <constraints> If the pipeline is not idempotent, add an explicit deduplication or cleanup step before backfilling, do not assume rerunning is safe. Chunk the backfill to fit the stated maintenance window if downstream load is a concern. State how to verify the backfill succeeded. </constraints> <format> Return a step by step backfill plan with chunking strategy, a verification step to confirm completeness, and a rollback note if the backfill itself fails partway. </format>
Pro tip: Confirm honestly whether the pipeline is idempotent, this single fact determines whether the backfill plan needs a cleanup step or not.
Design a cost monitoring plan for a data warehouse
25/30✨ What it does
Designs a cost attribution and anomaly monitoring plan sized to what the named warehouse actually supports.
You are a data platform engineer who manages cloud data warehouse cost. <context> Our warehouse bill has grown and nobody has visibility into which pipelines or teams are driving the cost, so I want a monitoring plan. </context> <inputs> - Warehouse: [WAREHOUSE, e.g. SNOWFLAKE OR BIGQUERY] - Current monthly spend: [MONTHLY SPEND] - Known cost drivers if any: [SUSPECTED COST DRIVERS] - Teams or workspaces sharing the warehouse: [TEAM LIST] - Reporting cadence wanted: [REPORTING CADENCE] </inputs> <task> Design a cost monitoring plan that attributes spend to teams or pipelines, flags anomalous spikes, and recommends a reporting cadence and format for stakeholders. </task> <constraints> Base the attribution method on what the named warehouse actually supports (tags, resource monitors, query history), do not propose a method the platform cannot do. Keep the stakeholder report simple enough for a non-engineer to read. Flag the suspected cost drivers as the first thing to investigate. </constraints> <format> Return the attribution method, an anomaly flagging rule, a sample of what the recurring report should contain, and the top suspected driver to check first. </format>
Pro tip: Name your actual warehouse platform, cost attribution mechanisms differ enough between Snowflake, BigQuery, and Redshift that a generic answer will not be actionable.
Most people use 10% of Claude. Tutorials unlock the rest.
AI Academy: 300+ hands-on tutorials on Claude, ChatGPT, Midjourney, and 50+ AI tools. New tutorials added every week.
Documentation and Stakeholder Communication
5 promptsWrite a data pipeline design document
26/30✨ What it does
Writes a review ready pipeline design document with alternatives considered and open questions.
You are a senior data engineer who writes design documents for review before building. <context> I am about to build a new pipeline and my team requires a design doc reviewed before any code is written. </context> <inputs> - Pipeline purpose: [PIPELINE PURPOSE] - Source and target: [SOURCE AND TARGET] - Key stakeholders reviewing this: [STAKEHOLDER LIST] - Timeline: [TIMELINE] - Known constraints or risks: [KNOWN CONSTRAINTS] </inputs> <task> Write a design document covering problem statement, proposed approach, alternatives considered, and rollout plan, aimed at getting sign off from the listed stakeholders. </task> <constraints> Include at least one alternative approach that was considered and rejected, with the reason, reviewers trust a doc more when it shows the road not taken. Keep the problem statement to 2 or 3 sentences. Address the known constraints directly rather than ignoring them. </constraints> <format> Return sections: Problem Statement, Proposed Approach, Alternatives Considered, Risks and Mitigations, Rollout Plan, Open Questions for Reviewers. </format>
Pro tip: List the actual reviewers by role, a doc written for a specific audience answers the objections they are likely to raise instead of generic ones.
Write a postmortem for a data incident
27/30✨ What it does
Writes a blameless postmortem with a timeline, root cause, and owned action items.
You are a data engineer who writes blameless postmortems after production incidents. <context> We just resolved a data incident and I need to write a postmortem before the details fade from everyone's memory. </context> <inputs> - Incident summary: [INCIDENT SUMMARY] - Detection time and resolution time: [DETECTION AND RESOLUTION TIMES] - Root cause identified: [ROOT CAUSE] - Impact on stakeholders: [IMPACT DESCRIPTION] - Fix already applied: [FIX APPLIED] </inputs> <task> Write a blameless postmortem covering timeline, root cause, impact, the immediate fix, and concrete follow up action items with owners to prevent recurrence. </task> <constraints> Keep the tone blameless, describe what the system allowed to happen, not who made a mistake. Every action item needs a specific owner placeholder and a rough due date, not just a wish. Do not pad the postmortem with generic advice unrelated to this specific root cause. </constraints> <format> Return sections: Summary, Timeline, Root Cause, Impact, Immediate Fix, Action Items table with columns Action, Owner, Due Date. </format>
Pro tip: Give the real timeline of detection and resolution even if it is embarrassing, an honest timeline is what makes the follow up actions credible.
Explain a complex data model to non technical stakeholders
28/30✨ What it does
Translates a technical data model into a plain language explanation tied to a specific business decision.
You are a analytics engineer who translates technical data models for business audiences. <context> I built a data model that is technically solid but my business stakeholders do not understand what it does or why it matters to them. </context> <inputs> - Data model or pipeline name: [MODEL NAME] - Technical summary of what it does: [TECHNICAL SUMMARY] - Audience: [AUDIENCE, e.g. MARKETING LEADERSHIP] - Business question it answers: [BUSINESS QUESTION] - Length of meeting or doc allowed: [TIME OR LENGTH LIMIT] </inputs> <task> Translate the technical summary into a plain language explanation the stated audience can act on, tying every technical detail back to the business question it answers. </task> <constraints> Remove all engineering jargon, if a term must stay, define it in one clause inline. Use an analogy only if it clarifies rather than oversimplifies. Fit within the stated time or length limit exactly. </constraints> <format> Return a short explanation in plain language, followed by 3 bullet points on what this means for the stated audience's actual decisions. </format>
Pro tip: State the audience's actual job title and what decision they need to make, this keeps the explanation useful instead of just simpler.
Write a data dictionary entry
29/30✨ What it does
Writes a full data dictionary entry with prominent caveats for an undocumented table.
You are a data engineer who maintains the team's data dictionary. <context> I need to add a proper data dictionary entry for a table that analysts keep asking questions about because it is undocumented. </context> <inputs> - Table name: [TABLE NAME] - Columns and rough meaning: [COLUMN LIST WITH NOTES] - Update frequency: [UPDATE FREQUENCY] - Known caveats or edge cases: [KNOWN CAVEATS] - Owning team: [OWNING TEAM] </inputs> <task> Write a data dictionary entry with a table level description, a column by column breakdown, and a caveats section covering the known edge cases. </task> <constraints> Write for an analyst who has never seen this table before. Call out the known caveats prominently, do not bury them at the bottom in fine print. Keep column descriptions to one sentence each unless a caveat requires more. </constraints> <format> Return: Table Description, Column Table with columns Name, Type, Description, Caveats section, Owning Team and update frequency line at the top. </format>
Pro tip: List every caveat you can think of even minor ones, undocumented edge cases are what generate the most repeat questions from analysts.
Write a stakeholder communication for a migration plan
30/30✨ What it does
Writes a calm, action focused stakeholder announcement for a system migration with a clear deadline.
You are a data engineering lead who communicates infrastructure changes to business stakeholders. <context> We are migrating [SYSTEM BEING MIGRATED] and I need to tell affected stakeholders what is changing, when, and what they need to do, without causing panic. </context> <inputs> - System being migrated: [SYSTEM BEING MIGRATED] - Migration window: [MIGRATION WINDOW] - Expected impact on stakeholders: [EXPECTED IMPACT] - Action required from them, if any: [ACTION REQUIRED] - Point of contact for questions: [POINT OF CONTACT] </inputs> <task> Write a stakeholder communication announcing the migration, explaining the expected impact plainly, stating any action required with a deadline, and naming who to contact with questions. </task> <constraints> Lead with what changes for the reader, not with internal migration details they do not need. State the deadline for any required action clearly, do not bury it in a paragraph. Keep the tone calm and factual, avoid alarming language even if the migration carries real risk. </constraints> <format> Return the communication as a short message with a clear subject line, 3 to 5 short paragraphs, and a final line naming the contact for questions. </format>
Pro tip: State the real deadline for any required stakeholder action in the inputs, vague timing is the top cause of stakeholders missing what they needed to do.
Free tool
Prompt Optimizer
Turn a rough idea into a structured, professional AI prompt.
Frequently Asked Questions
Prompts are the starting line. Tutorials are the finish.
A growing library of 300+ hands-on tutorials on ChatGPT, Claude, Midjourney, and 50+ AI tools. New tutorials added every week.
7-day free trial. Cancel anytime.