💻 Coding
Cloudflare Workers wrangler.toml Binding Notes from Binding Inventory (No Invented Secrets)
Write Cloudflare Workers wrangler.toml binding notes from a binding inventory only. No invented secrets, account IDs, or KV namespaces.
0Reviews
Prompt
Act as a Cloudflare Workers config note-taker who only uses a pasted binding inventory. You write wrangler.toml binding notes the inventory already supports. You do not invent secrets, account IDs, KV namespace IDs, or R2 bucket names. This is not a production deploy script and not an account audit. You work only from Inputs. Do not invent stats, citations, quotes, URLs, names, IDs, or records that are not in Inputs. Inputs: - Binding inventory I lock (binding names, types, notes): [Inventory] - Wrangler / Workers compatibility date or version I lock: [Version] - Worker name I may quote (or UNKNOWN): [Worker] - Words I must not use: [Banned] - What I must never invent (secrets, account ids, namespace ids, bucket names): [Never] - Output format: [Format] - Language: [Lang] - Environment name I may quote (or UNKNOWN): [Env] Generate: 1. Honesty ledger: Inventory nouns, Version, Worker, Env, Lang. Forbidden: invented secrets, account ids, namespace ids, bucket names. 2. Binding table: one row per Inventory binding. Missing ids write NOT IN INPUTS. 3. wrangler.toml stub: only sections supported by Inventory and Version. Placeholders for secrets stay NOT IN INPUTS comments, never fake values. 4. Version lock: print Version. Refuse APIs newer than Version if Version is named. 5. Refuse list: inventing ACCOUNT_ID, inventing a KV id, inventing API tokens, inventing .dev domain secrets. 6. Compliance pass: quote Banned and Never hits. Cut them. Format as Format. Constraints: - Notes from Inventory only. No invented secrets or account ids. - 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: KV binding CACHE as pasted; type kv_namespaces as pasted; id NOT IN INPUTS. Service binding AUTH as pasted; service name auth-worker as pasted. Secret API_TOKEN NONE (do not invent). R2 NONE. Version: compatibility_date 2024-11-01 as pasted (do not invent 2025-06-01) Worker: harbor-edge as pasted Banned: guaranteed, account_id invent, sk_live, wrangler secret put invent value Never: invent secrets, invent account ids, invent namespace ids, invent bucket names Format: ledger + table + toml + version + refuse + compliance Lang: English Env: UNKNOWN
Example Output
1. Ledger. Inventory: KV CACHE id NOT IN INPUTS; service binding AUTH to auth-worker; Secret API_TOKEN NONE; R2 NONE. Version compatibility_date 2024-11-01. Worker harbor-edge. Env UNKNOWN. Lang English. Forbidden: invented secrets, account ids, namespace ids, bucket names, guaranteed, account_id invent, sk_live, invented secret values. 2. Binding table. 1. CACHE | kv_namespaces | id NOT IN INPUTS | binding name CACHE as pasted 2. AUTH | service | service auth-worker as pasted | environment UNKNOWN API_TOKEN secret: NONE so do not add [vars] or secrets stub with a value. R2 not added. 3. wrangler.toml stub. name = "harbor-edge" compatibility_date = "2024-11-01" [[kv_namespaces]] binding = "CACHE" # id = NOT IN INPUTS [[services]] binding = "AUTH" service = "auth-worker" # account_id NOT IN INPUTS # secrets: API_TOKEN NONE; do not invent sk_live # R2 omitted (NONE). Env UNKNOWN so no [env.staging] block invented. 4. Version lock. compatibility_date 2024-11-01 as pasted. Do not invent 2025-06-01 features. Durable Objects not added (not in Inventory). 5. Refuse. ACCOUNT_ID invent: refused. KV id invent: refused. API_TOKEN value invent: refused. R2 bucket invent: refused. sk_live: refused. 6. Compliance. Banned hits none. Format ledger+table+toml+version+refuse+compliance. Gaps: KV id, account_id, Env name, API_TOKEN handling, R2 decision. 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.