💻 Coding

tRPC Procedure Map from Router Inventory (No Invented Procedure IDs)

Turn a tRPC router inventory into a procedure map only. No invented procedure IDs, latency figures, or auth secrets beyond the inventory.

0.0
0Reviews
P
September 12, 2026

Prompt

Act as a tRPC router designer who only uses a pasted router inventory. You write a procedure map the inventory already supports. You do not invent procedure IDs, latency figures, auth secrets, or connection strings. This is not a live tRPC server sync and not a production deploy.
You work only from Inputs. Do not invent stats, citations, quotes, URLs, names, IDs, or records that are not in Inputs.

Inputs:
- Router inventory I lock (router stubs, procedure cues, input notes): [Inventory]
- tRPC / adapter version notes I lock: [Version]
- Project or workspace label I may quote (or UNKNOWN): [Workspace]
- Required router or procedure names I may quote (or UNKNOWN): [SpecNames]
- Router names already present (or UNKNOWN): [RouterNames]
- Procedure labels already present (or UNKNOWN): [ProcedureLabels]
- Input field names already present (or UNKNOWN): [InputFields]
- Words I must not use: [Banned]
- What I must never invent (procedure IDs, latency figures, auth secrets, connection strings): [Never]
- Output format: [Format]
- Language: [Lang]

Generate:
1. Honesty ledger: Inventory nouns, Version, Workspace, SpecNames, RouterNames, ProcedureLabels, InputFields, Lang. Forbidden: invented procedure IDs, latency figures, auth secrets, connection strings. Banner: not a live tRPC server sync; not a production deploy.
2. Procedure map table: one row per Inventory router stub or procedure cue. Missing input notes write NOT IN INPUTS. Use tRPC router, procedure, query, mutation, and createTRPCRouter language when Inventory supports it. Quote RouterNames and ProcedureLabels only when present.
3. Spec name set: only names in SpecNames. Unnamed routers stay NOT IN INPUTS. Never print procedure-ID or latency VALUES not in Inventory.
4. Version lock: print Version. Refuse tRPC features newer than Version if Version is named.
5. Refuse list: inventing procedure IDs, inventing latency figures, inventing auth secrets, inventing connection strings.
6. Compliance pass: quote Banned and Never hits. Cut them. Format as Format.

Constraints:
- Map from Inventory only. No invented procedure-ID VALUES. Teach tRPC procedure mapping, not a generic GraphQL or REST 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.

tRPC Procedure Map from Router Inventory (No Invented Procedure IDs) - Result

Examples

Example Input

Inventory: router Harbor Quay Cleat User as pasted procedure cue getById query as pasted input note id string as pasted; router River Ops Gate Post as pasted procedure cue create mutation as pasted. Procedure ID NOT IN INPUTS. Latency invent NONE.
Version: tRPC 11.0 as pasted (do not invent unreleased AI router APIs)
Workspace: Harbor Quay tRPC App as pasted
SpecNames: Cleat User as pasted; Gate Post as pasted. Session UNKNOWN.
RouterNames: Cleat User as pasted; Gate Post as pasted. Admin UNKNOWN.
ProcedureLabels: getById query as pasted; create mutation as pasted. list query UNKNOWN.
InputFields: id string as pasted; title text as pasted. email UNIQUE UNKNOWN.
Banned: guaranteed latency, procedure invent, secret invent, connection invent
Never: invent procedure IDs, invent latency figures, invent auth secrets, invent connection strings
Format: ledger + table + specs + version + refuse + compliance
Lang: English

Example Output

1. Ledger. Inventory: router Harbor Quay Cleat User procedure cue getById query input note id string; router River Ops Gate Post procedure cue create mutation. Procedure ID NOT IN INPUTS. Latency invent NONE. Version tRPC 11.0. Workspace Harbor Quay tRPC App. SpecNames Cleat User; Gate Post; Session UNKNOWN. RouterNames Cleat User; Gate Post; Admin UNKNOWN. ProcedureLabels getById query; create mutation; list query UNKNOWN. InputFields id string; title text; email UNIQUE UNKNOWN. Lang English. Banner: not a live tRPC server sync; not a production deploy. Forbidden: invented procedure IDs, latency figures, auth secrets, connection strings, guaranteed latency, procedure invent, secret invent, connection invent.

2. Procedure map.
1. Harbor Quay Cleat User | router Cleat User as pasted (RouterNames) | procedure getById query as pasted (ProcedureLabels) | input id string as pasted (InputFields) | procedure ID NOT IN INPUTS | latency NONE | tRPC procedure map only.
2. River Ops Gate Post | router Gate Post as pasted (RouterNames) | procedure create mutation as pasted (ProcedureLabels) | input title text as pasted (InputFields) | input note beyond title NOT IN INPUTS | procedure ID NOT IN INPUTS | latency NONE.
Auth secrets not invented. list query not printed beyond ProcedureLabels.

3. Spec name set. Cleat User; Gate Post as SpecNames. Session UNKNOWN so write Session NOT IN INPUTS. No procedure-ID VALUES beyond Inventory. No third router invented.

4. Version lock. tRPC 11.0 as pasted. Unreleased AI router APIs not used. Adapter flags NOT IN INPUTS.

5. Refuse. Procedure invent: refused. Latency invent: refused. Secret invent: refused. Connection invent: refused. Guaranteed latency: refused.

6. Compliance. Banned hits none. Format ledger+table+specs+version+refuse+compliance. Gaps: Session decision, Admin RouterNames, list query ProcedureLabels, email UNIQUE InputFields, adapter 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.

Reviews (0)

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