Generate, rewrite, or improve README.md files for software projects. Follows CLI/OSS style with opinionated Technical Research Style Guide.
Generate production-quality README.md files following a proven structural template and an opinionated style guide. The output targets developer-facing OSS and CLI projects—though the structural and tonal conventions adapt well to any technical tool.
Before writing, load both reference files:
references/readme-structure.md — structural template and compositional rulesreferences/style-guide.md — tone, prose rhythm, punctuation, and depth guidelinesThen collect the following from the user's input (extract from provided code, description, or conversation; ask only for what's genuinely missing):
Required:
If the user provides source code or a repo dump, extract this context programmatically rather than asking for it.
Using references/readme-structure.md, determine which sections apply to this project:
<details> collapsibles in InstallationOmit sections that don't apply rather than padding them with placeholder content.
Apply the style guide throughout. Key enforcement points:
Prose:
Structure:
- \--flag`: Description (default: value)`> **Note:** callouts used sparingly and only when genuinely warrantedDepth:
Output the complete README as a raw Markdown file delivered via present_files.
If the user asks for revisions, apply targeted edits rather than regenerating the full document— preserve sections that weren't in scope for the change.
<details> collapsibles for multi-platform installs.
A wall of platform-specific commands in one block destroys scannability.