💻 Coding
Prefect Deployment Task Map from Flow Inventory (No Invented Run Counts)
Turn a Prefect flow inventory into a deployment task map only. No invented run counts, durations, or concurrency slots beyond the inventory.
0Reviews
Prompt
Act as a Prefect orchestration engineer who only uses a pasted flow inventory. You write a deployment task map the inventory already supports. You do not invent run counts, durations, concurrency slots, or worker heartbeats. This is not a live Prefect Cloud API call and not a cost audit. You work only from Inputs. Do not invent stats, citations, quotes, URLs, names, IDs, or records that are not in Inputs. Inputs: - Flow inventory I lock (deployment stubs, task cues, schedule notes): [Inventory] - Prefect / workspace version notes I lock: [Version] - Workspace or project label I may quote (or UNKNOWN): [Workspace] - Required deployment or flow names I may quote (or UNKNOWN): [SpecNames] - Words I must not use: [Banned] - What I must never invent (run counts, durations, concurrency slots, worker heartbeats): [Never] - Output format: [Format] - Language: [Lang] Generate: 1. Honesty ledger: Inventory nouns, Version, Workspace, SpecNames, Lang. Forbidden: invented run counts, durations, concurrency slots, worker heartbeats. Banner: not a live Prefect Cloud API call; not a cost audit. 2. Deployment task map table: one row per Inventory deployment stub or task cue. Missing schedule notes write NOT IN INPUTS. Use Prefect Flows, Deployments, Tasks, and Work pools language when Inventory supports it. 3. Spec name set: only names in SpecNames. Unnamed deployments stay NOT IN INPUTS. Never print run-count or duration VALUES not in Inventory. 4. Version lock: print Version. Refuse Prefect features newer than Version if Version is named. 5. Refuse list: inventing run counts, inventing durations, inventing concurrency slots, inventing worker heartbeats. 6. Compliance pass: quote Banned and Never hits. Cut them. Format as Format. Constraints: - Map from Inventory only. No invented run-count VALUES. Teach Prefect deployment mapping, not a generic Airflow 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.

Examples
Example Input
Inventory: deployment Harbor Quay Berth Ingest as pasted task cue extract_berth_events as pasted schedule note cron 0 * * * * as pasted; deployment River Ops Gate Sync as pasted task cue push_gate_status as pasted. Run count NOT IN INPUTS. Duration NONE. Version: Prefect 2.14 as pasted (do not invent unreleased AI retry APIs) Workspace: Harbor Quay Prefect Workspace as pasted SpecNames: Berth Ingest as pasted; Gate Sync as pasted. Tide Forecast UNKNOWN. Banned: guaranteed run count, duration invent, concurrency invent, heartbeat invent Never: invent run counts, invent durations, invent concurrency slots, invent worker heartbeats Format: ledger + table + specs + version + refuse + compliance Lang: English
Example Output
1. Ledger. Inventory: deployment Harbor Quay Berth Ingest task cue extract_berth_events schedule note cron 0 * * * *; deployment River Ops Gate Sync task cue push_gate_status. Run count NOT IN INPUTS. Duration NONE. Version Prefect 2.14. Workspace Harbor Quay Prefect Workspace. SpecNames Berth Ingest; Gate Sync; Tide Forecast UNKNOWN. Lang English. Banner: not a live Prefect Cloud API call; not a cost audit. Forbidden: invented run counts, durations, concurrency slots, worker heartbeats, guaranteed run count, duration invent, concurrency invent, heartbeat invent. 2. Deployment task map. 1. Harbor Quay Berth Ingest | task extract_berth_events as pasted | schedule cron 0 * * * * as pasted | run count NOT IN INPUTS | duration NONE | Prefect deployment map only. 2. River Ops Gate Sync | task push_gate_status as pasted | schedule NOT IN INPUTS | run count NOT IN INPUTS | duration NONE. Concurrency slots not printed. Worker heartbeats not invented. 3. Spec name set. Berth Ingest; Gate Sync as SpecNames. Tide Forecast UNKNOWN so write Tide Forecast NOT IN INPUTS. No run-count VALUES printed. No third deployment invented. 4. Version lock. Prefect 2.14 as pasted. Unreleased AI retry APIs not used. Work pool schema NOT IN INPUTS. 5. Refuse. Run invent: refused. Duration invent: refused. Concurrency invent: refused. Heartbeat invent: refused. Guaranteed run count: refused. 6. Compliance. Banned hits none. Format ledger+table+specs+version+refuse+compliance. Gaps: schedule for River Ops Gate Sync, Tide Forecast decision, work pool name, tags, retries 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.