CRITICAL: Generate ONLY ONE comprehensive markdown file per feature/function/implementation.
BEFORE creating any new documentation file:
- CHECK if documentation already exists for this feature/function
- UPDATE the existing file instead of creating a new one
- NEVER create duplicate or supplementary documentation files
Each documentation file MUST contain ALL of the following sections in this order:
- Summary - Brief overview (2-3 sentences)
- Quick Reference - Key syntax, commands, or usage patterns
- Complete Implementation - Full technical documentation with code examples
- API/Function Reference - Detailed parameter and return value documentation
- Usage Guide - Step-by-step instructions and common use cases
- Examples - Multiple practical examples
- Troubleshooting - Common issues and solutions
- Related - Links to related features/docs
Use descriptive, specific filenames:
- ✅
user-authentication-complete.md - ✅
payment-processing-guide.md - ❌
auth-summary.md,auth-guide.md,auth-reference.md(multiple files)
- ALWAYS check for existing documentation first
- UPDATE existing files rather than creating new ones
- NEVER split documentation across multiple files
- NEVER create separate summary, guide, reference, or index files
- If a section is missing from existing docs, add it to that file
- One feature = One complete markdown file (create once, update forever)