💻 Coding

Prefect Flow Task Map from Deployment Inventory (No Invented Schedules)

Turn a Prefect deployment inventory into a flow task map only. No invented schedules, run counts, or concurrency limits beyond the inventory.

0.0
0Reviews
P
September 9, 2026

Prompt

Act as a Prefect workflow engineer who only uses a pasted deployment inventory. You write a flow task map the inventory already supports. You do not invent schedules, run counts, concurrency limits, or work-pool names. This is not a live Prefect Cloud run and not an SLA report.
You work only from Inputs. Do not invent stats, citations, quotes, URLs, names, IDs, or records that are not in Inputs.

Inputs:
- Deployment inventory I lock (flow stubs, task cues, status notes): [Inventory]
- Prefect / API version notes I lock: [Version]
- Workspace or project label I may quote (or UNKNOWN): [Workspace]
- Required flow or task names I may quote (or UNKNOWN): [SpecNames]
- Words I must not use: [Banned]
- What I must never invent (schedules, run counts, concurrency limits, work-pool names): [Never]
- Output format: [Format]
- Language: [Lang]

Generate:
1. Honesty ledger: Inventory nouns, Version, Workspace, SpecNames, Lang. Forbidden: invented schedules, run counts, concurrency limits, work-pool names. Banner: not a live Prefect Cloud run; not an SLA report.
2. Flow task map table: one row per Inventory flow stub or task cue. Missing status notes write NOT IN INPUTS. Use Prefect deployment and task naming language when Inventory supports it.
3. Spec name set: only names in SpecNames. Unnamed flows stay NOT IN INPUTS. Never print schedule or run-count VALUES not in Inventory.
4. Version lock: print Version. Refuse Prefect APIs newer than Version if Version is named.
5. Refuse list: inventing schedules, inventing run counts, inventing concurrency limits, inventing work-pool names.
6. Compliance pass: quote Banned and Never hits. Cut them. Format as Format.

Constraints:
- Map from Inventory only. No invented schedule VALUES. Teach Prefect flow and deployment mapping, not a generic DAG swap.
- Honor Version. No emojis.

Instructions

Replace every [bracket] with your details before running. Works on ChatGPT, Claude, and Gemini.

Generated Output

This image was generated using the prompt above.

Prefect Flow Task Map from Deployment Inventory (No Invented Schedules) - Result

Examples

Example Input

Inventory: flow Harbor Quay Ingest Batch as pasted task cue extract_csv as pasted status note draft as pasted; flow River Ops Notify Ops as pasted task cue send_slack as pasted. Schedule NOT IN INPUTS. Run count NONE.
Version: Prefect 2.14 as pasted (do not invent unreleased worker APIs)
Workspace: Harbor Quay Data Workspace as pasted
SpecNames: Ingest Batch as pasted; Notify Ops as pasted. Backfill UNKNOWN.
Banned: guaranteed schedule, run invent, concurrency invent, pool invent
Never: invent schedules, invent run counts, invent concurrency limits, invent work-pool names
Format: ledger + table + specs + version + refuse + compliance
Lang: English

Example Output

1. Ledger. Inventory: flow Harbor Quay Ingest Batch task cue extract_csv status note draft; flow River Ops Notify Ops task cue send_slack. Schedule NOT IN INPUTS. Run count NONE. Version Prefect 2.14. Workspace Harbor Quay Data Workspace. SpecNames Ingest Batch; Notify Ops; Backfill UNKNOWN. Lang English. Banner: not a live Prefect Cloud run; not an SLA report. Forbidden: invented schedules, run counts, concurrency limits, work-pool names, guaranteed schedule, run invent, concurrency invent, pool invent.

2. Flow task map.
1. Harbor Quay Ingest Batch | task extract_csv as pasted | status draft as pasted | schedule NOT IN INPUTS | run count NONE | Prefect deployment map only.
2. River Ops Notify Ops | task send_slack as pasted | status NOT IN INPUTS | schedule NOT IN INPUTS | run count NONE.
Concurrency limits not printed. Work-pool names not invented.

3. Spec name set. Ingest Batch; Notify Ops as SpecNames. Backfill UNKNOWN so write Backfill NOT IN INPUTS. No schedule VALUES printed. No third flow invented.

4. Version lock. Prefect 2.14 as pasted. Unreleased worker APIs not used. Automation schema NOT IN INPUTS.

5. Refuse. Schedule invent: refused. Run invent: refused. Concurrency invent: refused. Pool invent: refused. Guaranteed schedule: refused.

6. Compliance. Banned hits none. Format ledger+table+specs+version+refuse+compliance. Gaps: status for River Ops Notify Ops, Backfill decision, retries, tags, parameters if any.

Missing-data policy: if a field was blank, write NOT IN INPUTS rather than guessing. Lock any tool version named in Inputs; if unnamed, write unknown. No invented testimonials, star ratings, or press logos. If legal, clinical, insurance, HR, education-plan, or veterinary content appears, add a one-line not-advice and de-identify banner. Quote banned-word hits and cut them. End with a gaps list of five bullets the user still owes you. Character and byte caps in the job are hard; print counts when relevant. Refuse to backfill DOIs, exam dumps, PHI, PII, or compensation promises not in Inputs.

Reviews (0)

Please login to leave a review.
Loading reviews...