♻️ refactor(docs): restructure CLAUDE.md with modular rules#75
♻️ refactor(docs): restructure CLAUDE.md with modular rules#75itisnotyourenv merged 1 commit intomainfrom
Conversation
…cal constraints Restructure CLAUDE.md using progressive disclosure pattern: compact root file with critical rules always loaded, detailed documentation in .claude/rules/ loaded on demand by context. - Add Critical Rules section (interactor-only business logic, no direct repo usage, no ORM models in domain/application, dependency direction) - Add Git Conventions section (emoji conventional commits format) - Move architecture details to .claude/rules/architecture.md - Move key patterns (VOs, interactors, mappers, DI, i18n) to .claude/rules/patterns.md - Move testing setup and patterns to .claude/rules/testing.md - Add i18n stub generation workflow documentation Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
PR Review: ♻️ refactor(docs): restructure CLAUDE.md with modular rulesOverall Assessment: ✅ Approve (with minor suggestions) This is a well-executed documentation refactor. The progressive disclosure pattern is a good fit for AI context management — keeping critical architectural constraints always in view while offloading reference material to on-demand rule files. The structure is clean and the rationale is sound. ✅ What Works Well
|
Pull Request
Description
Restructure CLAUDE.md using progressive disclosure pattern: compact root file (~63 lines, was ~97) with critical rules always loaded, detailed documentation in
.claude/rules/loaded on demand by context.Type of Change
Changes
New: Critical Rules section in CLAUDE.md
IMPORTANT-marked rules that are always loaded:
infrastructureindomainorapplicationNew: Git Conventions section
New:
.claude/rules/modular filesarchitecture.mdpatterns.mdtesting.mdSimplified sections
Testing
Code Quality
Additional Notes
Design document:
docs/plans/2026-02-25-claude-md-restructuring-design.mdRules in
.claude/rules/auto-load when Claude works with relevant files, keeping the root CLAUDE.md lean while preserving all documentation.🤖 Generated with Claude Code