Optimize CLAUDE.md structure for better scope management#66
Merged
Conversation
- Reduce root CLAUDE.md from 824 to 106 lines (87% reduction) - Create module-specific CLAUDE.md files for plugin/ and server/ - Move detailed UE conventions to docs/unreal-engine-conventions.md - Extract comprehensive code standards to docs/code-style-guide.md - Implement scope-based loading for better context management The new structure follows best practices: - Root CLAUDE.md focuses on project-wide concerns - Subfolder CLAUDE.md files contain module-specific context - Detailed documentation moved to reference files - Total active context reduced by 71% with improved organization 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull Request Overview
Restructures the project documentation for better scope management and performance by reducing the main CLAUDE.md file from 824 to 106 lines (87% reduction) and creating dedicated module-specific context files.
- Moved module-specific content to dedicated CLAUDE.md files in server/ and plugin/ directories
- Created comprehensive documentation files in docs/ for code standards and UE conventions
- Maintained all original information while organizing it logically by scope and usage
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| server/CLAUDE.md | TypeScript standards, MCP server architecture, and development workflow for server module |
| plugin/CLAUDE.md | Plugin development patterns, hot reload workflow, and Python API integration guidance |
| docs/unreal-engine-conventions.md | Detailed UE-specific conventions, viewport control, coordinate system, and best practices |
| docs/code-style-guide.md | Comprehensive code standards for TypeScript and Python with examples and CI requirements |
| CLAUDE.md | Streamlined project overview focusing on architecture, quick start, and cross-module principles |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
Root CLAUDE.md Optimization
New Module-Specific Context Files
plugin/CLAUDE.md- Plugin development workflow, hot reload, Python APIserver/CLAUDE.md- TypeScript standards, MCP server architectureDocumentation Reorganization
docs/unreal-engine-conventions.md- Detailed UE conventions, viewport control, coordinate systemdocs/code-style-guide.md- Comprehensive code standards for TypeScript and PythonBenefits
Testing
🤖 Generated with Claude Code