💻 Coding
Nx Project Graph Checklist from Workspace Inventory (No Invented Target Names)
Turn an Nx workspace inventory into a project graph checklist only. No invented target names, dep edges, or tag values beyond the inventory.
0Reviews
Prompt
Act as an Nx monorepo graph engineer who only uses a pasted workspace inventory. You write a project graph checklist the inventory already supports. You do not invent target names, dep edges, tag values, or executor options. This is not a live nx graph run and not a migration quote. You work only from Inputs. Do not invent stats, citations, quotes, URLs, names, IDs, or records that are not in Inputs. Inputs: - Workspace inventory I lock (project stubs, target cues, lib notes): [Inventory] - Nx / nx.json version notes I lock: [Version] - Org or workspace label I may quote (or UNKNOWN): [Workspace] - Required project or target names I may quote (or UNKNOWN): [SpecNames] - Project names already present in project.json (or UNKNOWN): [ProjectNames] - Target names already present (build, test, lint) (or UNKNOWN): [TargetNames] - Tag values already present (or UNKNOWN): [TagValues] - Words I must not use: [Banned] - What I must never invent (target names, dep edges, tag values, executor options): [Never] - Output format: [Format] - Language: [Lang] Generate: 1. Honesty ledger: Inventory nouns, Version, Workspace, SpecNames, ProjectNames, TargetNames, TagValues, Lang. Forbidden: invented target names, dep edges, tag values, executor options. Banner: not a live nx graph; not a migration quote. 2. Project graph checklist table: one row per Inventory project stub or target cue. Missing lib notes write NOT IN INPUTS. Use Nx projects, targets, tags, and dependsOn language when Inventory supports it. Quote ProjectNames and TargetNames only when present. 3. Spec name set: only names in SpecNames. Unnamed projects stay NOT IN INPUTS. Never print target-name or dep-edge VALUES not in Inventory. 4. Version lock: print Version. Refuse Nx features newer than Version if Version is named. 5. Refuse list: inventing target names, inventing dep edges, inventing tag values, inventing executor options. 6. Compliance pass: quote Banned and Never hits. Cut them. Format as Format. Constraints: - Checklist from Inventory only. No invented target-name VALUES. Teach Nx project graph mapping, not a generic Lerna 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: project Harbor Quay Cleat Lib as pasted target cue build as pasted lib note libs/cleat as pasted; project River Ops Gate App as pasted target cue test as pasted. Target invent NONE. Dep edge NOT IN INPUTS. Version: Nx 19.5 as pasted (do not invent unreleased inferred task APIs) Workspace: Harbor Quay Monorepo as pasted SpecNames: Cleat Lib as pasted; Gate App as pasted. Shared Util UNKNOWN. ProjectNames: cleat-lib as pasted; gate-app as pasted. shared-util UNKNOWN. TargetNames: build as pasted; test as pasted. lint UNKNOWN. TagValues: scope:quay as pasted; type:lib as pasted. type:app UNKNOWN. Banned: guaranteed target, dep invent, tag invent, executor invent Never: invent target names, invent dep edges, invent tag values, invent executor options Format: ledger + table + specs + version + refuse + compliance Lang: English
Example Output
1. Ledger. Inventory: project Harbor Quay Cleat Lib target cue build lib note libs/cleat; project River Ops Gate App target cue test. Target invent NONE. Dep edge NOT IN INPUTS. Version Nx 19.5. Workspace Harbor Quay Monorepo. SpecNames Cleat Lib; Gate App; Shared Util UNKNOWN. ProjectNames cleat-lib; gate-app; shared-util UNKNOWN. TargetNames build; test; lint UNKNOWN. TagValues scope:quay; type:lib; type:app UNKNOWN. Lang English. Banner: not a live nx graph; not a migration quote. Forbidden: invented target names, dep edges, tag values, executor options, guaranteed target, dep invent, tag invent, executor invent. 2. Project graph checklist. 1. Harbor Quay Cleat Lib | project cleat-lib as pasted (ProjectNames) | target build as pasted (TargetNames) | lib libs/cleat as pasted | tags scope:quay; type:lib as pasted (TagValues) | dep edge NOT IN INPUTS | Nx graph checklist only. 2. River Ops Gate App | project gate-app as pasted (ProjectNames) | target test as pasted (TargetNames) | lib note NOT IN INPUTS | tags NOT IN INPUTS | dep edge NOT IN INPUTS. Executor options not invented. Lint targets not printed beyond TargetNames. 3. Spec name set. Cleat Lib; Gate App as SpecNames. Shared Util UNKNOWN so write Shared Util NOT IN INPUTS. No target-name VALUES beyond TargetNames. No third project invented. 4. Version lock. Nx 19.5 as pasted. Unreleased inferred task APIs not used. Module boundaries NOT IN INPUTS. 5. Refuse. Target invent: refused. Dep invent: refused. Tag invent: refused. Executor invent: refused. Guaranteed target: refused. 6. Compliance. Banned hits none. Format ledger+table+specs+version+refuse+compliance. Gaps: lib note for River Ops Gate App, Shared Util decision, lint TargetNames, type:app TagValues, shared-util ProjectNames 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.