22
33** IMPORTANT:** This file, ` claude.md ` , and ` .cursorrules ` must stay in sync. See "Sync Instructions" at bottom.
44
5- ** For universal development standards applicable to any project, see:** ` DEVELOPMENT-STANDARDS.md `
5+ ** For universal development standards applicable to any project, see:** ` dev-docs/guides/ DEVELOPMENT-STANDARDS.md`
66
77---
88
99## Universal Standards (Apply to All Projects)
1010
11- See ` DEVELOPMENT-STANDARDS.md ` for comprehensive details on:
11+ See ` dev-docs/guides/ DEVELOPMENT-STANDARDS.md` for comprehensive details on:
1212- ** Code Style:** TypeScript strict, Prettier, ESLint, naming conventions
1313- ** Testing:** Unit/integration/E2E pyramid, Jest, coverage targets ≥70%
1414- ** Git & Version Control:** Conventional Commits, branch strategy, semantic versioning
@@ -45,9 +45,9 @@ npm run dev
4545- [ ] Repo cloned and dependencies installed
4646- [ ] Dev server running at http://localhost:3000
4747- [ ] All tests pass: ` npm run check `
48- - [ ] Read ` docs/QUICK-REFERENCE .md ` (5 min)
49- - [ ] Reviewed Phase 01 deliverables in ` docs/planning/mvp_phase01of02.md `
50- - [ ] Checked locked decisions in ` docs/ARCHITECTURE-DECISIONS.md `
48+ - [ ] Read ` dev- docs/Quick-Reference .md` (5 min)
49+ - [ ] Reviewed Phase 01 deliverables in ` dev- docs/planning/mvp_phase01of02.md`
50+ - [ ] Checked locked decisions in ` dev- docs/guides /ARCHITECTURE-DECISIONS.md`
5151- [ ] Configured Git user: ` git config user.name "Your Name" `
5252
5353---
@@ -206,7 +206,7 @@ Describe what changed and why in 1–3 sentences.
206206- [x] Manual testing in browser
207207
208208## Documentation
209- - [x] Progress log created: ` docs/progress/YYYY_MM_DD.md `
209+ - [x] Progress log created: ` dev- docs/progress/YYYY_MM_DD.md`
210210- [x] CHANGELOG.md updated under ` [Unreleased] `
211211- [x] User docs updated (if UI changed)
212212- [x] Developer docs updated (if architecture changed)
@@ -270,7 +270,7 @@ git branch -d feature/search-indexing
270270
271271### Progress Log (Required)
272272
273- ** File:** ` docs/progress/YYYY_MM_DD.md ` (e.g., ` docs/progress/2025_12_24.md ` )
273+ ** File:** ` dev- docs/progress/YYYY_MM_DD.md` (e.g., ` dev- docs/progress/2025_12_24.md` )
274274
275275** Template:**
276276``` markdown
@@ -313,7 +313,7 @@ git branch -d feature/search-indexing
313313
314314### Architecture Decision (If applicable)
315315
316- ** File:** ` docs/ARCHITECTURE-DECISIONS.md `
316+ ** File:** ` dev- docs/guides /ARCHITECTURE-DECISIONS.md`
317317
318318If you made a major architectural decision, create an ADL entry:
319319
@@ -440,6 +440,100 @@ Use GitHub Discussions for:
440440
441441---
442442
443+ ## Documentation Maintenance
444+
445+ ** IMPORTANT:** Documentation must be kept up to date and well-organized. This is a requirement for all contributions.
446+
447+ ### Documentation Organization
448+
449+ ** Naming Conventions:**
450+ - ** Developer docs** (` dev-docs/ ` ): ALL CAPS with hyphens for technical docs, Title Case for user guides
451+ - Technical examples: ` ARCHITECTURE-DECISIONS.md ` (in ` dev-docs/guides/ ` ), ` EMBERDOCS-TECHNICAL-SPEC.md ` (in ` dev-docs/specs/ ` )
452+ - User guide examples: ` Setup.md ` , ` Deployment.md ` , ` Quick-Reference.md ` (in ` dev-docs/ ` )
453+ - ** Example docs** (` docs/examples/ ` ): kebab-case
454+ - Examples: ` getting-started.md ` , ` api-reference.md `
455+
456+ ** Directory Structure:**
457+ - ` dev-docs/specs/ ` - Technical specifications (EMBERDOCS-TECHNICAL-SPEC.md, EMBERDOCS-API-SPEC.md, etc.)
458+ - ` dev-docs/guides/ ` - Development guides (ARCHITECTURE-DECISIONS.md, DEVELOPMENT-STANDARDS.md, etc.)
459+ - ` dev-docs/planning/ ` - Phase plans and planning documents
460+ - ` dev-docs/progress/ ` - Daily progress logs (format: ` YYYY_MM_DD.md ` or ` YYYY_MM_DD_description.md ` )
461+ - ` dev-docs/ ` (root) - User guides and project overview docs (Setup.md, Deployment.md, Quick-Reference.md, PROJECT-OVERVIEW.md, etc.)
462+ - ` docs/examples/ ` - Example documentation files (user-facing sample docs)
463+
464+ ** Reference Documentation:**
465+ - ` DOCUMENTATION.md ` at repository root provides complete documentation index
466+ - Always update ` DOCUMENTATION.md ` when adding, moving, or renaming documentation files
467+
468+ ### When to Update Documentation
469+
470+ ** Always update documentation when:**
471+ - Adding new features or changing existing functionality
472+ - Making architectural decisions (create ADL entry in ` dev-docs/guides/ARCHITECTURE-DECISIONS.md ` )
473+ - Changing setup or deployment processes
474+ - Updating dependencies or tools
475+ - Completing deliverables (update progress logs in ` dev-docs/progress/ ` )
476+ - Fixing bugs that affect user workflows
477+
478+ ** Specific documentation to update:**
479+ - ** Technical Specs** (` dev-docs/specs/ ` ): When architecture, API, or system design changes
480+ - ** Architecture Decisions** (` dev-docs/guides/ARCHITECTURE-DECISIONS.md ` ): When making major technical decisions
481+ - ** Progress Logs** (` dev-docs/progress/ ` ): Daily (end of work day) - required for all work sessions
482+ - ** User Docs** (` dev-docs/ ` ): When features change or new setup steps added
483+ - ** README.md** : When project overview, quick start, or key features change
484+ - ** DOCUMENTATION.md** : When documentation structure changes (new files, moved files, renamed files)
485+
486+ ### Documentation Quality Checklist
487+
488+ ** Before committing documentation changes:**
489+ - [ ] All file paths and references are accurate (use relative paths, not absolute)
490+ - [ ] Cross-references between documents are updated
491+ - [ ] Naming conventions are followed (ALL CAPS for dev docs, Title Case for user docs)
492+ - [ ] ` DOCUMENTATION.md ` is updated if structure changed
493+ - [ ] Progress log created if this is a work session (` dev-docs/progress/YYYY_MM_DD.md ` )
494+ - [ ] No broken links (verify with ` grep ` or link checker)
495+ - [ ] Code examples are tested and accurate
496+ - [ ] Screenshots/mockups are up to date (if applicable)
497+
498+ ### Cross-Reference Maintenance
499+
500+ ** Always maintain accurate cross-references:**
501+ - Use relative paths: ` dev-docs/specs/EMBERDOCS-TECHNICAL-SPEC.md ` (not absolute paths)
502+ - When moving files, update ALL references across the codebase
503+ - Use ` grep ` to find all references before moving/renaming files:
504+ ``` bash
505+ grep -r " old-filename" . --include=" *.md"
506+ ```
507+ - Update references in: README.md, DOCUMENTATION.md, planning docs, progress logs, and internal cross-references
508+
509+ ### Documentation Review Process
510+
511+ ** During code review, reviewers verify:**
512+ - [ ] Documentation changes match code changes
513+ - [ ] New features are documented
514+ - [ ] Breaking changes are clearly marked
515+ - [ ] Examples and code snippets are accurate
516+ - [ ] Links and references work
517+ - [ ] Progress log is created/updated
518+
519+ ** Before merging PR:**
520+ - [ ] All documentation references are valid
521+ - [ ] ` DOCUMENTATION.md ` reflects current structure
522+ - [ ] No orphaned documentation files
523+ - [ ] Documentation follows naming conventions
524+
525+ ### Documentation as Part of PR Requirements
526+
527+ ** Every PR must include:**
528+ 1 . ** Progress Log** - Create ` dev-docs/progress/YYYY_MM_DD.md ` with work summary
529+ 2 . ** Changelog** - Update ` CHANGELOG.md ` under ` [Unreleased] ` section
530+ 3 . ** Documentation Updates** - Update relevant docs (dev-docs/ if UI or architecture changed)
531+ 4 . ** DOCUMENTATION.md** - Update if documentation structure changed
532+
533+ ** See also:** Documentation Requirements section above for detailed templates.
534+
535+ ---
536+
443537## Sync Instructions
444538
445539** These three files must always stay in sync:**
@@ -460,28 +554,29 @@ Use GitHub Discussions for:
460554- Architecture decision locked (also create ADL entry)
461555- Phase plan updated
462556- Git workflow changed
557+ - Documentation structure/organization changed (also update DOCUMENTATION.md)
463558
464559---
465560
466561## Quick Links
467562
468- - ** Phase Plans:** ` docs/planning/mvp_phase01of02.md ` , ` docs/planning/mvp_phase02of02.md `
469- - ** Architecture Decisions:** ` docs/ARCHITECTURE-DECISIONS.md `
470- - ** Developer Cheat Sheet:** ` docs/QUICK-REFERENCE .md `
471- - ** Development Standards:** ` DEVELOPMENT-STANDARDS.md `
472- - ** Setup Guide:** ` docs/DEV-SETUP-VERIFICATION.md `
473- - ** Feature Dependencies:** ` docs/FEATURE-DEPENDENCIES.md `
563+ - ** Phase Plans:** ` dev- docs/planning/mvp_phase01of02.md` , ` dev- docs/planning/mvp_phase02of02.md`
564+ - ** Architecture Decisions:** ` dev- docs/guides /ARCHITECTURE-DECISIONS.md`
565+ - ** Developer Cheat Sheet:** ` dev- docs/Quick-Reference .md`
566+ - ** Development Standards:** ` dev-docs/guides/ DEVELOPMENT-STANDARDS.md`
567+ - ** Setup Guide:** ` dev- docs/guides /DEV-SETUP-VERIFICATION.md`
568+ - ** Feature Dependencies:** ` dev- docs/guides /FEATURE-DEPENDENCIES.md`
474569- ** Changelog:** ` CHANGELOG.md `
475570- ** PR Template:** ` .github/PULL_REQUEST_TEMPLATE.md `
476571
477572---
478573
479574## Getting Help
480575
481- - ** Code Questions:** Check ` docs/QUICK-REFERENCE .md `
482- - ** Architecture Questions:** See ` docs/ARCHITECTURE-DECISIONS.md `
483- - ** Standards Questions:** Read ` DEVELOPMENT-STANDARDS.md ` or ` claude.md `
484- - ** Setup Issues:** Follow ` docs/DEV-SETUP-VERIFICATION.md `
576+ - ** Code Questions:** Check ` dev- docs/Quick-Reference .md`
577+ - ** Architecture Questions:** See ` dev- docs/guides /ARCHITECTURE-DECISIONS.md`
578+ - ** Standards Questions:** Read ` dev-docs/guides/ DEVELOPMENT-STANDARDS.md` or ` claude.md `
579+ - ** Setup Issues:** Follow ` dev- docs/guides /DEV-SETUP-VERIFICATION.md`
485580- ** GitHub Issues:** Open an issue for bugs or feature requests
486581- ** GitHub Discussions:** Ask questions or discuss design
487582- ** Project Board:** View progress and blockers
0 commit comments