Long-Form Prompts: Outline First, Details Later

2026-11-21 · Prompt Optimization

Ask GLM to write something long—say, an 8,000-word industry analysis—and many people paste the entire requirement in one shot, then get back a piece with a random structure that drifts off track halfway through. The problem isn't the model; it's the order of the prompt. Long tasks work better in two steps: first have the model give you an outline, confirm or edit it, then ask it to expand section by section. Both the GLM-5 flagship series and the GLM-4 family handle this "outline first" rhythm well, and when debugging long-form output in the web playground, step-by-step prompting lets you correct course mid-way instead of discovering the drift after everything is written.

Why Outline First Works

The biggest risk in long-form writing is a directional error: wrong chapter breaks, misplaced emphasis—and everything after that, however fluent, is wasted. Getting an outline first is a low-cost alignment step: the model spends a few hundred characters on a framework, you spend one minute checking it, and only then does formal writing begin. Three side benefits:

1. Control: every section can be re-asked or rewritten on its own, without redoing the whole piece. 2. Stabler context: when generating section by section, the model's attention focuses on one part at a time, so later sections are less likely to dilute. 3. Agent-friendly: if you run automated writing through the BigModel API or a Coding Plan toolchain, the outline is a natural checkpoint and task list.

Template 1: Two-Step Outline Confirmation

Start with this template for step one, replacing the bracketed parts with your needs:

Role: senior industry analyst.
Task: I'm writing a long article about [topic] for [audience], roughly [word count] words, intended as a [blog / report / talk].

Do NOT write the body yet. Output only the outline:
1. For each section: a title + a 2-3 sentence description
2. Estimated word count per section
3. Mark sections where you're unsure about source material with "⚠️ needs confirmation"
4. At the end, list 3 points you'd suggest adding or cutting

Stop after the outline and wait for my confirmation. Do not start writing.

When the outline arrives, reply item by item: which sections to keep, retitle, or cut. For example: "Merge section 3 into section 2, replace section 5 with the XX case, the rest confirmed." Then move to step two.

Template 2: Expand Section by Section

The keys to the step-two template are "locking the scope" and "maintaining continuity":

Based on our confirmed outline, write ONLY section [N]: [section title].

Requirements:
1. About [N] words; do not drift into content belonging to other sections
2. Open with 1-2 sentences connecting to the conclusion of the previous section, [previous title]
3. Core argument of this section: [your points, or "propose and develop one yourself"]
4. Where data is involved, use the placeholder "[source to be added]"—do not invent numbers
5. End with one sentence leading into the next section, [next title]

After writing, add one line "Deviation from outline" — if none, write "none".

That "deviation" line is genuinely useful: it makes the model proactively reveal whether it quietly changed the structure, so you catch it before writing the next section.

Pacing Bilingual Chinese-English Long-Form

GLM is strong in both Chinese and English, and many people use it for bilingual content. A practical pattern: settle the outline in whichever language you're most comfortable with (once the structure is clear, switching languages rarely breaks it), then specify the output language for the body. For side-by-side versions, add "each paragraph in Chinese first, then English, one-to-one." Multilingual users can also ask the model to adjust tone per target language—say, more direct in English, more deferential in Japanese—which GLM handles fairly naturally.

Common Failure Points

  • Skipping the confirmation step: replying "fine, go ahead" makes the outline pointless. Spend at least a minute reading it and fixing any clearly wrong sections.
  • Overloading a single section: asking for a case study AND chart suggestions AND references in one section invite trade-offs. Push one priority at a time.
  • Chunking extra-long pieces further: for manuscripts over 10,000 words, split step two again—list points within each section before writing prose. Context lengths differ across model tiers, per the official pages; don't bet on the maximum.

Using It with Tools and the API

If you're automating this on a Coding Plan or the BigModel API, make "generate outline" and "write section N" two separate calls, with a validation pass from you (or a script) in between—the plainest possible multi-step agent loop. GLM's tool-calling capabilities can carry that cycle directly, storing the outline as an intermediate artifact and injecting it as context for each section.

Outline first, details later isn't an advanced trick—it's just splitting "thinking it through" and "writing it out" into two turns. Next time you face a long task, spend one minute having GLM draft the outline, edit it, then write. Rework drops noticeably.

本文为使用方法整理,内容选自网上公开资料,供参考;本站为非官方资讯站,产品能力以官方页面为准。