Documentation Organization Guidelines - Quick Summary
Documentation Organization Guidelines - Quick Summary
📋 Quick Reference
This is a condensed version of the documentation guidelines found in /CLAUDE.md. For complete details, always refer to the main CLAUDE.md file.
Golden Rule
Always consult DOCUMENTATION_INDEX.md before creating or moving any documentation file.
File Placement Quick Guide
Where Does My File Go?
| If your file is a… | Put it in… |
|---|---|
| Daily/weekly session report | docs/reports/sessions/ |
| Hive mind coordination report | docs/reports/distributed execution/ |
| Agent execution report | docs/reports/agents/ |
| Phase completion report | docs/reports/phase/ |
| Feature completion report | docs/reports/completion/ |
| Security audit/analysis | docs/analysis/security/ |
| Performance benchmark analysis | docs/analysis/performance/ |
| Codebase gap/consolidation analysis | docs/analysis/codebase/ |
| Execution plan or roadmap | docs/planning/ |
| Architecture or design doc | docs/architecture/ |
| Protocol specification | docs/protocol/ |
| Feature-specific documentation | docs/features/[feature-name]/ |
| Getting started guide | docs/quick-starts/ |
| API or reference documentation | docs/reference/ |
| User guide | docs/guides/user/ |
| Developer guide | docs/guides/developer/ |
| Implementation report | docs/implementation/ |
| Test documentation | docs/testing/ |
| HeliosDB Lite specific | docs/heliosdb-lite/ |
| Benchmark script | scripts/benchmarks/ |
| Deployment script | scripts/deployment/ |
| Testing script | scripts/testing/ |
| Utility script | scripts/utilities/ |
Naming Conventions
| Document Type | Naming Pattern | Example |
|---|---|---|
| Session Report | SESSION_SUMMARY_[DATE].md | SESSION_SUMMARY_NOV14_2025.md |
| Daily Report | DAY[N]_*.md | DAY1_COMPLETION_REPORT.md |
| Weekly Report | WEEK[N]_*.md | WEEK1_PROGRESS_TRACKER.md |
| Phase Report | PHASE[N]_*.md | PHASE2_COMPLETE_REPORT.md |
| Feature Completion | [FEATURE]_COMPLETION_REPORT.md | MVCC_COMPLETION_REPORT.md |
| Analysis | [TOPIC]_ANALYSIS_REPORT.md | SECURITY_ANALYSIS_REPORT.md |
| Planning | [SCOPE]_[TYPE]_PLAN.md | V5X_IMPLEMENTATION_PLAN.md |
What Goes in Docs Root?
ONLY these files:
README.md- Main docs READMEindex.md- Docs index (if used)- Reorganization docs (temporary, during reorganization)
Everything else goes in subdirectories!
What Goes in Project Root?
ONLY these files:
- Essential:
README.md,CLAUDE.md,Cargo.toml,LICENSE - Indices:
DOCUMENTATION_INDEX.md,QUICK_REFERENCE.md - Config:
.gitignore,rust-toolchain, etc.
Never in root:
- Data files, scripts, documentation (beyond indices), backups
Archive Guidelines
Archive (don’t delete) when files are:
- Historical data no longer actively used
- Superseded by newer versions
- One-time scripts that completed their purpose
- Research that informed completed implementation
Archive Locations:
benchmarks/results/archive/- Historical benchmarksdocs/analysis/archive/- Historical analysisscripts/utilities/archive/- Completed scriptstests/archive/- Test artifactsdocs/archive/2025-11/- General historical docs
Every archive MUST have a README.md
Before Creating Any Documentation
Checklist:
- Consulted
DOCUMENTATION_INDEX.mdfor proper location - Checked for existing similar files (avoid duplicates)
- Used correct naming convention
- Placing in correct directory (not root!)
- Will update indices if adding significant content
When to Update DOCUMENTATION_INDEX.md
Update when:
- Adding new documentation category/subdirectory
- Changing directory structure significantly
- File counts change by 20%+ in any directory
- Adding new major documentation sections
- Completing major reorganization
What to Update:
- File counts in Statistics section
- Directory descriptions if changed
- “Last Updated” date
- Keep aligned with actual filesystem
Pre-Commit Verification
Before committing documentation:
- File in correct directory per
DOCUMENTATION_INDEX.md - Follows naming conventions
- No duplicates created
- Archive README updated (if archiving)
- Relevant indices updated
- No files in docs root (except allowed)
- No misc files in project root
-
DOCUMENTATION_INDEX.mdupdated if needed
Common Mistakes to Avoid
❌ DON’T:
- Place files in wrong directories
- Create files in docs root (except README/index)
- Leave backup files (.bak, .old)
- Scatter related files across locations
- Ignore DOCUMENTATION_INDEX.md structure
- Delete historical files (archive instead)
DO:
- Always check DOCUMENTATION_INDEX.md first
- Use proper naming conventions
- Keep structure organized
- Archive (not delete) old files
- Update indices when needed
- Maintain professional organization
Quality Standards
All documentation must:
- Be properly categorized by type/purpose
- Use clear, descriptive filenames
- Be in single most appropriate location
- Include proper metadata (dates, purpose)
- Match existing documentation style
Help & Resources
- Full Guidelines:
/CLAUDE.md(Documentation Organization section) - Complete Index:
/DOCUMENTATION_INDEX.md - Quick Navigation:
/QUICK_REFERENCE.md - Recent Reorganization:
docs/REORGANIZATION_COMPLETE_NOV14_2025.md
Remember: Proper documentation organization is critical to project quality. Taking 30 seconds to check guidelines saves hours of reorganization later!
Last Updated: November 14, 2025