Automates the conversion of monolithic CLAUDE.md files into the modular .claude/rules/ directory structure for better instruction management.
The Rules Migration skill streamlines the transition from a single, large project instruction file to Claude Code's advanced modular rules system. By analyzing your existing CLAUDE.md, it intelligently categorizes instructions into path-specific rule files with appropriate YAML frontmatter and glob patterns. This enables progressive disclosure of information, ensuring Claude only loads relevant context for the files currently being edited, which improves performance and accuracy while reducing context window clutter.
主要功能
01Preservation of all documentation while improving organization and scannability
02Intelligent extraction of sections from monolithic CLAUDE.md files
03Modular directory structure creation for frontend, backend, and core rules
041 GitHub stars
05Automatic generation of YAML frontmatter with path-specific glob patterns
06Built-in safety with original file archiving and validation checklists
使用场景
01Migrating a growing project from a single CLAUDE.md to the modular .claude/rules/ system
02Organizing project-wide coding standards into domain-specific rule files like React or API guidelines
03Optimizing Claude's performance by scoping instructions to specific file paths using glob patterns