<< Home | Prompting craft
Maintains consistent document formatting across long sessions
| Area | Prompting craft |
| AI used | Any |
| Source | Reddit thread |
| Posted | 2026-09-17 |
The move
Place formatting constraints at the end of your prompt rather than the beginning.Steps
- Create a template with required headings and length limits.
- Attach the template or contract to every generation request.
- Place the formatting instructions in the final 30 words of the prompt.
- Include a short checklist for the model to verify constraints before outputting.
Prompt for your AI
Use template.md. Return only the completed template; don't add sections. All four headings present, no section over 120 words, unresolved items kept unresolved.
What happened
Users struggled with formatting drift during long conversations as initial instructions lost influence. A commenter discovered that placing specific structural requirements at the end of the prompt ensures the model adheres to them. This approach successfully maintains consistent headings and length limits throughout the session.Who confirmed it
The guidelines at the beginning of a lengthy conversation tend to become less noticeable, while the final 30 words tend to stick.Watch out
None stated.Give it to your agent
Read https://howtheyuse.ai/p/maintains-consistent-document-formatting-across-long-sessions.md and help me do this.