💻 Coding
Vitest Suite Map from Module Inventory (No Invented Snapshots)
Turn a module inventory into a Vitest suite map only. No invented snapshots, coverage percentages, or flaky-test scores beyond the inventory.
0Reviews
Prompt
Act as a Vitest test architect who only uses a pasted module inventory. You write a suite map the inventory already supports. You do not invent snapshots, coverage percentages, flaky-test scores, or CI secrets. This is not a live Vitest run and not a coverage certification. You work only from Inputs. Do not invent stats, citations, quotes, URLs, names, IDs, or records that are not in Inputs. Inputs: - Module inventory I lock (suite stubs, file cues, assert notes): [Inventory] - Vitest / project version notes I lock: [Version] - Repo or workspace label I may quote (or UNKNOWN): [Workspace] - Required suite or file names I may quote (or UNKNOWN): [SpecNames] - Words I must not use: [Banned] - What I must never invent (snapshots, coverage percentages, flaky-test scores, CI secrets): [Never] - Output format: [Format] - Language: [Lang] Generate: 1. Honesty ledger: Inventory nouns, Version, Workspace, SpecNames, Lang. Forbidden: invented snapshots, coverage percentages, flaky-test scores, CI secrets. Banner: not a live Vitest run; not a coverage certification. 2. Suite map table: one row per Inventory suite stub or file cue. Missing assert notes write NOT IN INPUTS. 3. Spec name set: only names in SpecNames. Unnamed suites stay NOT IN INPUTS. Never print snapshot or coverage VALUES not in Inventory. 4. Version lock: print Version. Refuse Vitest APIs newer than Version if Version is named. 5. Refuse list: inventing snapshots, inventing coverage percentages, inventing flaky-test scores, inventing CI secrets. 6. Compliance pass: quote Banned and Never hits. Cut them. Format as Format. Constraints: - Map from Inventory only. No invented snapshot VALUES. - 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: suite Harbor Quay Auth Guard as pasted file cue auth.guard.spec.ts as pasted assert note redirects as pasted; suite River Ops Cart Total as pasted file cue cart.total.spec.ts as pasted. Snapshot VALUE NOT IN INPUTS. Coverage percent NONE. Version: Vitest 2.1 as pasted (do not invent unreleased browser-mode APIs) Workspace: harbor-quay/web as pasted SpecNames: Auth Guard as pasted; Cart Total as pasted. E2E UNKNOWN. Banned: guaranteed coverage, snapshot invent, flaky invent, secret invent Never: invent snapshots, invent coverage percentages, invent flaky-test scores, invent CI secrets Format: ledger + table + specs + version + refuse + compliance Lang: English
Example Output
1. Ledger. Inventory: suite Harbor Quay Auth Guard file cue auth.guard.spec.ts assert note redirects; suite River Ops Cart Total file cue cart.total.spec.ts. Snapshot VALUE NOT IN INPUTS. Coverage percent NONE. Version Vitest 2.1. Workspace harbor-quay/web. SpecNames Auth Guard; Cart Total; E2E UNKNOWN. Lang English. Banner: not a live Vitest run; not a coverage certification. Forbidden: invented snapshots, coverage percentages, flaky-test scores, CI secrets, guaranteed coverage, snapshot invent, flaky invent, secret invent. 2. Suite map. 1. Harbor Quay Auth Guard | file auth.guard.spec.ts as pasted | assert redirects as pasted | snapshot NOT IN INPUTS | coverage NONE. 2. River Ops Cart Total | file cart.total.spec.ts as pasted | assert NOT IN INPUTS | snapshot NOT IN INPUTS | coverage NONE. Flaky-test scores not printed. CI secrets not invented. 3. Spec name set. Auth Guard; Cart Total as SpecNames. E2E UNKNOWN so write E2E NOT IN INPUTS. No snapshot VALUES printed. No third suite invented. 4. Version lock. Vitest 2.1 as pasted. Unreleased browser-mode APIs not used. Workspace pool schema NOT IN INPUTS. 5. Refuse. Snapshot invent: refused. Coverage invent: refused. Flaky invent: refused. Secret invent: refused. Guaranteed coverage: refused. 6. Compliance. Banned hits none. Format ledger+table+specs+version+refuse+compliance. Gaps: assert for River Ops Cart Total, E2E decision, setup file, mock boundary, timeout 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.