✍️ Writing
reStructuredText Sphinx Page from a TOC Stub (No Invented toctree or Labels)
Draft a Sphinx RST page from a locked TOC stub. No invented toctree entries, labels, or include paths.
0Reviews
Prompt
Act as a Sphinx reStructuredText page editor who only uses a pasted TOC stub and fact pack. You write one .rst page with section titles and labels the stub already names. You do not invent toctree entries, :ref: targets, or include paths. This is not an AsciiDoc chapter, not a DITA topic, and not a Markdown dump. You work only from Inputs. Do not invent stats, citations, quotes, URLs, names, IDs, or records that are not in Inputs. Inputs: - TOC stub I lock (page title, section titles, labels I allow): [Stub] - Fact pack I may quote: [Facts] - Sphinx / docutils version I lock (or UNKNOWN): [Version] - toctree glob I allow (or NONE): [Toctree] - Words I must not use: [Banned] - What I must never invent (toctree entries, labels, include paths): [Never] - Output format: [Format] - Language: [Lang] - Max body paragraphs: [Max] - Audience I may name: [Audience] Generate: 1. Honesty ledger: Stub titles, labels, Facts nouns, Version, Toctree, Lang, Max, Audience. Forbidden: invented toctree, invented label, invented include. 2. Label map: each Stub label to KEEP. Labels not in Stub stay leftover OTHER. Do not mint .. _new-label:. 3. Page body: title from Stub. Sections only from Stub. Paragraphs quote Facts or write NOT IN INPUTS. 4. Cross-refs: :ref: only to labels in Stub. If a needed target is missing, write REF UNKNOWN. 5. Refuse list: AsciiDoc = heading, DITA <topic>, Markdown # headings, toctree of a page not in Toctree. 6. toctree: quote Toctree or write NONE. Do not invent install.rst. 7. Never: do not add a footnote with a DOI. Do not invent .. include:: paths. 8. Compliance pass: quote Banned and Never hits. Cut them. Count body paragraphs vs Max. Format as Format. Constraints: - Sphinx RST page from Stub and Facts only. Not AsciiDoc and not Markdown. - Never invent toctree entries, labels, or include paths. - Stay at or under Max body paragraphs. - No emojis.
Instructions
Replace every [bracket] with your details before running. Works on ChatGPT, Claude, and Gemini.
Examples
Example Input
Stub: Page title Backup windows; label backup-windows; sections Nightly window (label nightly-window), Restore drill (label restore-drill). No other labels. No :ref: to network-windows. Facts: Nightly window starts 02:00 local as pasted. Restore drill is tabletop only. Retention days NOT IN INPUTS. Vendor name NOT IN INPUTS. Version: Sphinx 7.4 UNKNOWN docutils pin Toctree: NONE (do not invent install.rst) Banned: best practice, industry standard, always, guaranteed Never: invent toctree entries, invent labels, invent include paths, invent a DOI Format: ledger + label-map + page + refuse + gaps Lang: English Max: 6 Audience: operators reading a pasted TOC stub
Example Output
1. Ledger. Stub: Backup windows; labels backup-windows, nightly-window, restore-drill. Facts: 02:00 local, tabletop restore. Retention NOT IN INPUTS. Vendor NOT IN INPUTS. Version Sphinx 7.4. docutils pin UNKNOWN. Toctree NONE. Lang English. Max 6. Audience: operators reading a pasted TOC stub. Forbidden: invented toctree, label, include, DOI, best practice, industry standard, always, guaranteed. 2. Label map. backup-windows KEEP. nightly-window KEEP. restore-drill KEEP. network-windows OTHER leftover (not in Stub). 3. Page (5 body paragraphs, Max 6). Backup windows ============== .. _backup-windows: Nightly window -------------- .. _nightly-window: The nightly window starts 02:00 local as pasted in Facts. Retention days NOT IN INPUTS. Vendor name NOT IN INPUTS. Do not invent a product string. Restore drill ------------- .. _restore-drill: The restore drill is tabletop only as pasted. No live restore time is in Facts. REF UNKNOWN for network-windows. Not invented. Paragraph count 5 vs Max 6. 4. Cross-refs. Allowed labels: backup-windows, nightly-window, restore-drill. :ref:`network-windows` refused. 5. Refuse. .. toctree:: install.rst: refused (Toctree NONE). .. include:: chap02.rst: refused. AsciiDoc = Backup: refused. Markdown # Backup: refused. footnote DOI: refused. 6. toctree. NONE. 7. Never. No minted .. _network-windows:. No .. include::. No DOI. 8. Compliance. Banned hits none. Paragraphs 5 vs Max 6. Format ledger+label-map+page+refuse+gaps. Gaps: retention days, vendor name, :ref: list beyond Stub, include paths, docutils pin. 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.