✍️ Writing

Directus Collections Field Map from Schema Inventory (No Invented Record Counts)

Turn a Directus schema inventory into a collections field map only. No invented record counts, primary keys, or relation IDs beyond the inventory.

0.0
0Reviews
P
September 13, 2026

Prompt

Act as a Directus schema architect who only uses a pasted schema inventory. You write a collections field map the inventory already supports. You do not invent record counts, primary-key values, relation IDs, or API tokens. This is not a live Directus sync and not a hosting quote.
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 (collection stubs, field cues, relation notes): [Inventory]
- Directus / API version notes I lock: [Version]
- Project or workspace label I may quote (or UNKNOWN): [Workspace]
- Required collection or field names I may quote (or UNKNOWN): [SpecNames]
- Collection names already present (or UNKNOWN): [CollectionNames]
- Field names already present (or UNKNOWN): [FieldNames]
- Relation labels already present (or UNKNOWN): [RelationLabels]
- Words I must not use: [Banned]
- What I must never invent (record counts, primary-key values, relation IDs, API tokens): [Never]
- Output format: [Format]
- Language: [Lang]

Generate:
1. Honesty ledger: Inventory nouns, Version, Workspace, SpecNames, CollectionNames, FieldNames, RelationLabels, Lang. Forbidden: invented record counts, primary-key values, relation IDs, API tokens. Banner: not a live Directus sync; not a hosting quote.
2. Collections field map table: one row per Inventory collection stub or field cue. Missing relation notes write NOT IN INPUTS. Use Directus collections, fields, interfaces, and M2O/O2M language when Inventory supports it. Quote CollectionNames and FieldNames only when present.
3. Spec name set: only names in SpecNames. Unnamed collections stay NOT IN INPUTS. Never print record-count or primary-key VALUES not in Inventory.
4. Version lock: print Version. Refuse Directus features newer than Version if Version is named.
5. Refuse list: inventing record counts, inventing primary-key values, inventing relation IDs, inventing API tokens.
6. Compliance pass: quote Banned and Never hits. Cut them. Format as Format.

Constraints:
- Map from Inventory only. No invented record-count VALUES. Teach Directus collections field mapping, not a generic Strapi or Sanity 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.

Directus Collections Field Map from Schema Inventory (No Invented Record Counts) - Result

Examples

Example Input

Inventory: collection Harbor Quay Cleat Articles as pasted field cue title string as pasted relation note M2O authors as pasted; collection River Ops Gate Authors as pasted field cue name string as pasted. Record count NOT IN INPUTS. Primary key invent NONE.
Version: Directus 10.13 as pasted (do not invent unreleased AI writer APIs)
Workspace: Harbor Quay Directus Project as pasted
SpecNames: Cleat Articles as pasted; Gate Authors as pasted. Media UNKNOWN.
CollectionNames: Cleat Articles as pasted; Gate Authors as pasted. Tags UNKNOWN.
FieldNames: title string as pasted; name string as pasted. slug UNIQUE UNKNOWN.
RelationLabels: M2O authors as pasted. O2M articles UNKNOWN.
Banned: guaranteed record count, pk invent, relation invent, token invent
Never: invent record counts, invent primary-key values, invent relation IDs, invent API tokens
Format: ledger + table + specs + version + refuse + compliance
Lang: English

Example Output

1. Ledger. Inventory: collection Harbor Quay Cleat Articles field cue title string relation note M2O authors; collection River Ops Gate Authors field cue name string. Record count NOT IN INPUTS. Primary key invent NONE. Version Directus 10.13. Workspace Harbor Quay Directus Project. SpecNames Cleat Articles; Gate Authors; Media UNKNOWN. CollectionNames Cleat Articles; Gate Authors; Tags UNKNOWN. FieldNames title string; name string; slug UNIQUE UNKNOWN. RelationLabels M2O authors; O2M articles UNKNOWN. Lang English. Banner: not a live Directus sync; not a hosting quote. Forbidden: invented record counts, primary-key values, relation IDs, API tokens, guaranteed record count, pk invent, relation invent, token invent.

2. Collections field map.
1. Harbor Quay Cleat Articles | collection Cleat Articles as pasted (CollectionNames) | field title string as pasted (FieldNames) | relation M2O authors as pasted (RelationLabels) | record count NOT IN INPUTS | primary key NONE | Directus collections field map only.
2. River Ops Gate Authors | collection Gate Authors as pasted (CollectionNames) | field name string as pasted (FieldNames) | relation note beyond M2O NOT IN INPUTS | record count NOT IN INPUTS | primary key NONE.
API tokens not invented. O2M articles not printed beyond RelationLabels.

3. Spec name set. Cleat Articles; Gate Authors as SpecNames. Media UNKNOWN so write Media NOT IN INPUTS. No record-count VALUES beyond Inventory. No third collection invented.

4. Version lock. Directus 10.13 as pasted. Unreleased AI writer APIs not used. Flow triggers NOT IN INPUTS.

5. Refuse. Record-count invent: refused. Primary-key invent: refused. Relation invent: refused. Token invent: refused. Guaranteed record count: refused.

6. Compliance. Banned hits none. Format ledger+table+specs+version+refuse+compliance. Gaps: Media decision, Tags CollectionNames, slug UNIQUE FieldNames, O2M articles RelationLabels, Flow triggers 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...