Skip to content

docs: reorganize documentation structure with consistent naming#6

Merged
miams merged 3 commits intodevelopfrom
feature/reorganize-documentation
Oct 15, 2025
Merged

docs: reorganize documentation structure with consistent naming#6
miams merged 3 commits intodevelopfrom
feature/reorganize-documentation

Conversation

@miams
Copy link
Copy Markdown
Owner

@miams miams commented Oct 15, 2025

Summary

Comprehensive documentation reorganization to improve discoverability, maintainability, and consistency.

Changes

Directory Structure

  • Root: Minimized to essential files only (README, CLAUDE, CONTRIBUTING, CHANGELOG)
  • docs/getting-started/: Installation, quickstart, configuration guides
  • docs/guides/: User guide, developer guide, testing guide, git workflow
  • docs/reference/: Technical reference documentation
    • schema/ - Database schema and structure
    • data-formats/ - RM11 data format specifications
    • query-patterns/ - SQL patterns and data quality rules
    • biography/ - Biography generation reference
  • docs/projects/: Active feature development documentation
    • ai-agent/ - AI agent roadmap and architecture
    • biography-citations/ - Citation implementation plans
    • census-extraction/ - Census extraction system design
  • docs/archive/: Completed milestones and implementation summaries
    • checkpoints/ - Phase completion milestones
    • summaries/ - Implementation and optimization summaries

New Files

  • docs/INDEX.md - Master table of contents with quick links for both AI and humans

Naming Convention

Applied consistent lowercase-with-hyphens.md format across all documentation files:

  • INSTALL.mdinstallation.md
  • RM11_Schema_Reference.mdschema-reference.md
  • AI_AGENT_TODO.mdroadmap.md

Documentation Updates

  • Updated CLAUDE.md with new paths and structure
  • Updated README.md to reference new INDEX.md
  • Removed outdated data_reference/ directory

Files Moved/Renamed

58 files total (55 moved/renamed, 1 created, 2 modified)

Benefits

  1. Better discoverability - Clear navigation via INDEX.md
  2. Improved maintainability - Purpose-based organization makes updates easier
  3. Consistent naming - Uniform conventions reduce cognitive load
  4. Clear separation - Active work vs. completed work vs. reference material
  5. AI-friendly - Structured for both human and AI assistant navigation

Test plan

  • Verify all file moves preserved content
  • Confirm CLAUDE.md paths are correct
  • Confirm README.md paths are correct
  • Validate INDEX.md links and navigation
  • Check that git history is preserved with git mv

🤖 Generated with Claude Code

miams and others added 3 commits October 15, 2025 12:32
Reorganized all documentation into clear, purpose-based structure:
- Root: Minimal MD files (README, CLAUDE, CONTRIBUTING, CHANGELOG)
- docs/getting-started/: Installation, quickstart, configuration
- docs/guides/: User, developer, testing, git-workflow guides
- docs/reference/: Technical reference (schema, data-formats, query-patterns, biography)
- docs/projects/: Active feature work (ai-agent, census-extraction, biography-citations)
- docs/archive/: Completed milestones and summaries

Created docs/INDEX.md as master table of contents.

Applied consistent naming: lowercase-with-hyphens.md format.

Updated CLAUDE.md and README.md to reference new structure.

Moved career-strategy.md out of repository to ~/Code/ai-engineering/.

Total changes: 58 files (1 created, 2 modified, 55 moved/renamed)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Added 11 custom slash commands for RMAgent development:
- RMAgent-specific commands (rm- prefix): bio, ask, person, search, quality, timeline
- Development commands: test, coverage, lint
- Utility commands: docs, check-db

Created comprehensive Claude Code setup guide at docs/guides/claude-code-setup.md
with usage examples, best practices, and troubleshooting.

Added Claude Code hooks in .claude/settings.local.json:
- PostToolUse: Coverage reminder after pytest with --cov
- PreToolUse: Show recent commits before git push

Moved AGENTS.md from docs/archive/summaries/ back to root directory
for better visibility and standard location alongside CLAUDE.md.

Updated docs/INDEX.md with Root Documentation section listing
all 5 key files kept in repository root.

Updated CLAUDE.md with Claude Code Integration section referencing
new slash commands and hooks.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
…ection

Added /doc-review slash command with two modes:
- Brief mode: Reviews root docs (CLAUDE.md, README.md, AGENTS.md, CONTRIBUTING.md,
  CHANGELOG.md) and docs/INDEX.md for accuracy and completeness
- Deep mode: Reviews ALL documentation files for consistency and currency

Updated docs/guides/git-workflow.md to reflect:
- Branch protection settings for main (strict) and develop (relaxed)
- Three-layer automated check system:
  1. Git pre-commit hook (local documentation reminders)
  2. Claude Code hooks (coverage/push notifications)
  3. GitHub Actions CI/CD (required status checks)
- Updated PR checklist with hook references
- Added pre-commit hook section with example output
- Updated best practices to reference hooks and slash commands

Updated docs/guides/claude-code-setup.md:
- Added /doc-review command documentation
- Updated total command count to 12
- Added /doc-review to "When to Use Each Command" section
- Added /doc-review to show-prompt/meta flags section
- Added /doc-review test to setup testing section

Updated CLAUDE.md:
- Updated command count from 11 to 12
- Added /doc-review to quick commands list

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@miams miams changed the base branch from main to develop October 15, 2025 11:18
@miams miams merged commit f5dc97c into develop Oct 15, 2025
1 check passed
@miams miams deleted the feature/reorganize-documentation branch October 15, 2025 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant