Generate a README following PRD-README v1 standard
Generate a production-ready README.md following PRD-README v1 standard by analyzing your codebase, project structure, and configuration files to create comprehensive documentation with executable examples.
/plugin marketplace add hculap/better-code/plugin install readme-writer@better-codetarget-directoryGenerate a perfect README.md following the PRD-README v1 standard.
Target: $ARGUMENTS (use current directory if not specified)
Perform full codebase analysis to auto-detect project context:
Read the primary package manifest file:
Extract: name, description, version, dependencies, scripts/commands, keywords, author, license
Analyze directory structure to determine project type:
Check for:
Read existing README.md if present to understand:
Gather repository context:
Based on analysis, determine:
Primary user: [derived from tech stack and project type]
Primary job: [derived from main functionality]
Success in 5 minutes: [derived from quickstart possibilities]
Create README.md following this exact section order:
# ProjectName
One-sentence value proposition: what it does + for whom + differentiator.
Status: [active|beta|stable|deprecated] | [Docs](link) | [Changelog](link) | [Issues](link)
Use badges sparingly (only build status, version, license if applicable).
Brief explanation of why this project exists (2-3 sentences max).
Include ALL of:
Ensure commands are copy/pasteable with zero modifications.
Include 2-3 common workflows:
Document key configuration options. Link to detailed docs if extensive.
Either link to CONTRIBUTING.md or state contribution policy.
Document:
Link to SECURITY.md or provide vulnerability reporting instructions.
State license name and link to LICENSE file.
Before presenting README, verify:
Present the generated README in a code block, ready to save.
If existing README.md exists, show a diff summary of changes or offer to show the complete new version.