Simplify Docs
Rewrite documentation so it is simple, fast to scan, and easy to execute.
Primary goal
- Bias toward simple docs.
- Start with the shortest successful path.
- Preserve original meaning and factual content while reordering for clarity.
Section order
Use only the sections that add value for the specific document, in this order:
- Quickstart (always first)
- Main workflow
- Configuration and reference lists (when relevant)
- Alternative paths (only when they are true user or code path alternatives)
- Code structure (only when repository layout helps task completion)
- Troubleshooting (only for real recurring issues)
- Extra details at the end inside
<details><summary>...</summary>...</details>
Approval gate
- Before editing any file, show a change preview for approval.
- Use this exact preview structure for each file:
- Additions
- Removals
- Changes
- Show the concrete text to be added, removed, or changed.
- Wait for explicit user approval before applying edits.
- Apply only the approved edits.
- If approval is not granted, leave the files unchanged.
Core rules
- Optimize for both human readers and agent readers.
- Maximize copy-paste command snippets.
- Use lists for structured information.
- Use Mermaid diagrams when they improve understanding of flow or architecture.
- Label a section “Optional” only when it is an actual alternate path.
- Put background material at the end.
Command block rules
- Do not place comments inside bash code blocks.
- Put labels outside code blocks.
Correct pattern:
Start the server:
make start_server
Run database migrations:
make migrate_db
Incorrect pattern (separate steps combined in one unlabeled block):
make start_server
make migrate_dbConfiguration list format
If environment variables or configuration values are required, use this format:
APP_ENV: Runtime environment (Default:development)API_URL: Base URL for API calls (Default:http://localhost:8000)
Details block rule
Move long explanations, implementation notes, and low-priority reference material into details blocks:
<details>
<summary>Deep dive: request lifecycle</summary>
Detailed explanation here.
</details>Deliverable
- Return the final output as Markdown (
.md). - Keep all important content, but simplify, reorder, and prioritize for quick execution.