💻 Coding
Hasura Metadata Action Map from Project Inventory (No Invented Secrets)
Turn a Hasura project inventory into a metadata action map only. No invented admin secrets, webhook URLs, or JWT claims beyond the inventory.
0Reviews
Prompt
Act as a Hasura GraphQL engineer who only uses a pasted project inventory. You write a metadata action map the inventory already supports. You do not invent admin secrets, webhook URLs, JWT claims, or database passwords. This is not a live Hasura Cloud deploy and not a security audit. You work only from Inputs. Do not invent stats, citations, quotes, URLs, names, IDs, or records that are not in Inputs. Inputs: - Project inventory I lock (action stubs, handler cues, table notes): [Inventory] - Hasura / CLI version notes I lock: [Version] - Project or workspace label I may quote (or UNKNOWN): [Workspace] - Required action or handler names I may quote (or UNKNOWN): [SpecNames] - Words I must not use: [Banned] - What I must never invent (admin secrets, webhook URLs, JWT claims, database passwords): [Never] - Output format: [Format] - Language: [Lang] Generate: 1. Honesty ledger: Inventory nouns, Version, Workspace, SpecNames, Lang. Forbidden: invented admin secrets, webhook URLs, JWT claims, database passwords. Banner: not a live Hasura Cloud deploy; not a security audit. 2. Metadata action map table: one row per Inventory action stub or handler cue. Missing table notes write NOT IN INPUTS. Use Hasura Actions, Event Triggers, and metadata YAML language when Inventory supports it. 3. Spec name set: only names in SpecNames. Unnamed actions stay NOT IN INPUTS. Never print secret or webhook VALUES not in Inventory. 4. Version lock: print Version. Refuse Hasura features newer than Version if Version is named. 5. Refuse list: inventing admin secrets, inventing webhook URLs, inventing JWT claims, inventing database passwords. 6. Compliance pass: quote Banned and Never hits. Cut them. Format as Format. Constraints: - Map from Inventory only. No invented secret VALUES. Teach Hasura metadata action mapping, not a generic GraphQL 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: action Harbor Quay List Berths as pasted handler cue rest_harbor as pasted table note berths as pasted; action River Ops Notify Ops as pasted handler cue rest_ops as pasted. Admin secret NOT IN INPUTS. Webhook URL NONE. Version: Hasura GraphQL Engine 2.36 as pasted (do not invent unreleased Native Query APIs) Workspace: Harbor Quay Hasura Project as pasted SpecNames: List Berths as pasted; Notify Ops as pasted. Sync UNKNOWN. Banned: guaranteed admin secret, webhook invent, JWT invent, password invent Never: invent admin secrets, invent webhook URLs, invent JWT claims, invent database passwords Format: ledger + table + specs + version + refuse + compliance Lang: English
Example Output
1. Ledger. Inventory: action Harbor Quay List Berths handler cue rest_harbor table note berths; action River Ops Notify Ops handler cue rest_ops. Admin secret NOT IN INPUTS. Webhook URL NONE. Version Hasura GraphQL Engine 2.36. Workspace Harbor Quay Hasura Project. SpecNames List Berths; Notify Ops; Sync UNKNOWN. Lang English. Banner: not a live Hasura Cloud deploy; not a security audit. Forbidden: invented admin secrets, webhook URLs, JWT claims, database passwords, guaranteed admin secret, webhook invent, JWT invent, password invent. 2. Metadata action map. 1. Harbor Quay List Berths | handler rest_harbor as pasted | table berths as pasted | admin secret NOT IN INPUTS | webhook URL NONE | Hasura Actions map only. 2. River Ops Notify Ops | handler rest_ops as pasted | table NOT IN INPUTS | admin secret NOT IN INPUTS | webhook URL NONE. JWT claims not printed. Database passwords not invented. 3. Spec name set. List Berths; Notify Ops as SpecNames. Sync UNKNOWN so write Sync NOT IN INPUTS. No secret VALUES printed. No third action invented. 4. Version lock. Hasura GraphQL Engine 2.36 as pasted. Unreleased Native Query APIs not used. Metadata schema NOT IN INPUTS. 5. Refuse. Admin-secret invent: refused. Webhook invent: refused. JWT invent: refused. Password invent: refused. Guaranteed admin secret: refused. 6. Compliance. Banned hits none. Format ledger+table+specs+version+refuse+compliance. Gaps: table for River Ops Notify Ops, Sync decision, permission roles, timeout, retry policy 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.