💻 Coding
Zod Schema Map from Schema Inventory (No Invented Procedure IDs)
Turn a Zod schema inventory into a schema map only. No invented procedure IDs, runtime hashes, or row counts beyond the inventory.
0Reviews
Prompt
Act as a Zod schema engineer who only uses a pasted schema inventory. You write a schema map the inventory already supports. You do not invent procedure IDs, runtime hashes, row counts, or API keys. This is not a live Zod codegen sync and not a production cutover plan. You work only from Inputs. Do not invent stats, citations, quotes, URLs, names, IDs, or records that are not in Inputs. Inputs: - Schema inventory I lock (schema stubs, field cues, refine notes): [Inventory] - Zod / TypeScript version notes I lock: [Version] - Package or workspace label I may quote (or UNKNOWN): [Workspace] - Required schema or field names I may quote (or UNKNOWN): [SpecNames] - Schema names already present (or UNKNOWN): [SchemaNames] - Field labels already present (or UNKNOWN): [FieldLabels] - Refine labels already present (or UNKNOWN): [RefineLabels] - Words I must not use: [Banned] - What I must never invent (procedure IDs, runtime hashes, row counts, API keys): [Never] - Output format: [Format] - Language: [Lang] Generate: 1. Honesty ledger: Inventory nouns, Version, Workspace, SpecNames, SchemaNames, FieldLabels, RefineLabels, Lang. Forbidden: invented procedure IDs, runtime hashes, row counts, API keys. Banner: not a live Zod codegen sync; not a production cutover plan. 2. Schema map table: one row per Inventory schema stub or field cue. Missing refine notes write NOT IN INPUTS. Use Zod objects, fields, refinements, and parsers language when Inventory supports it. Quote SchemaNames and FieldLabels only when present. 3. Spec name set: only names in SpecNames. Unnamed schemas stay NOT IN INPUTS. Never print procedure-ID or runtime-hash VALUES not in Inventory. 4. Version lock: print Version. Refuse Zod features newer than Version if Version is named. 5. Refuse list: inventing procedure IDs, inventing runtime hashes, inventing row counts, inventing API keys. 6. Compliance pass: quote Banned and Never hits. Cut them. Format as Format. Constraints: - Map from Inventory only. No invented procedure-ID VALUES. Teach Zod schema mapping, not a generic Prisma or tRPC 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: schema Harbor Quay Cleat Order as pasted field cue id string as pasted as pasted refine note email refine as pasted as pasted; schema River Ops Gate Sku as pasted field cue skuCode string as pasted as pasted. Procedure ID NOT IN INPUTS. Hash invent NONE. Version: Zod 3.23 as pasted (do not invent unreleased AI schema APIs) Workspace: Harbor Quay Zod Package as pasted SpecNames: Cleat Order as pasted; Gate Sku as pasted. User UNKNOWN. SchemaNames: Cleat Order as pasted; Gate Sku as pasted. Session UNKNOWN. FieldLabels: id string as pasted as pasted; skuCode string as pasted as pasted. createdAt UNKNOWN. RefineLabels: email refine as pasted as pasted. uniqueSku UNKNOWN. Banned: guaranteed procedure id, hash invent, row invent, api key invent Never: invent procedure IDs, invent runtime hashes, invent row counts, invent API keys Format: ledger + table + specs + version + refuse + compliance Lang: English
Example Output
1. Ledger. Inventory: schema Harbor Quay Cleat Order field cue id string as pasted refine note email refine as pasted; schema River Ops Gate Sku field cue skuCode string as pasted. Procedure ID NOT IN INPUTS. Hash invent NONE. Version Zod 3.23 as pasted. Workspace Harbor Quay Zod Package. SpecNames Cleat Order; Gate Sku; User UNKNOWN. SchemaNames Cleat Order; Gate Sku; Session UNKNOWN. FieldLabels id string as pasted; skuCode string as pasted; createdAt UNKNOWN. RefineLabels email refine as pasted; uniqueSku UNKNOWN. Lang English. Banner: not a live Zod codegen sync; not a production cutover plan. Forbidden: invented procedure IDs, runtime hashes, row counts, API keys, guaranteed procedure id, hash invent, row invent, api key invent. 2. Schema map. 1. Harbor Quay Cleat Order | schema Cleat Order as pasted (SchemaNames) | id string as pasted as pasted (FieldLabels) | email refine as pasted as pasted (RefineLabels) | procedure id NOT IN INPUTS | Hash NONE | Zod schema map only. 2. River Ops Gate Sku | schema Gate Sku as pasted (SchemaNames) | skuCode string as pasted as pasted (FieldLabels) | refine note beyond email refine as pasted NOT IN INPUTS | procedure id NOT IN INPUTS | Hash NONE. createdAt not printed beyond FieldLabels. uniqueSku not invented beyond RefineLabels. 3. Spec name set. Cleat Order; Gate Sku as SpecNames. User UNKNOWN so write User NOT IN INPUTS. No procedure-ID VALUES beyond Inventory. No third schema invented. 4. Version lock. Zod 3.23 as pasted. Unreleased features beyond Version not used. Credential path NOT IN INPUTS. 5. Refuse. Procedure IDs invent: refused. Runtime hashes invent: refused. Row counts invent: refused. API keys invent: refused. Guaranteed procedure id: refused. 6. Compliance. Banned hits none. Format ledger+table+specs+version+refuse+compliance. Gaps: User decision, Session SchemaNames, createdAt FieldLabels, uniqueSku RefineLabels, credential path 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.