migration-guide

Migrate CLAUDE.md content into .claude/rules files with references.

Updated Jan 8, 2026
One-click install
npx skills add https://github.com/biwakonbu/cc-plugins --skill migration-guide-biwakonbu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migration-guide
Source: https://github.com/biwakonbu/cc-plugins/tree/main/plugins/memory-optimizer/skills/migration-guide
Command: npx skills add https://github.com/biwakonbu/cc-plugins --skill migration-guide-biwakonbu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill guides the migration of CLAUDE.md content into a dedicated rules directory to improve maintainability.

Core Features & Use Cases

  • Identify large sections of CLAUDE.md that would benefit from separation.
  • Create topic-specific rules under .claude/rules and move content accordingly.
  • Update references in the original CLAUDE.md to point to the new rules files.
  • Use case: When CLAUDE.md becomes unwieldy, split it into focused rules and keep a concise overview in CLAUDE.md.

Quick Start

Step-by-step: analyze CLAUDE.md lines, mark candidates for separation, create .claude/rules files, remove moved content from CLAUDE.md, and add references.

Frequently Asked Questions about migration-guide

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I split a large CLAUDE.md file into smaller rules?

To split a large CLAUDE.md file, identify large sections that would benefit from separation, move that content into topic-specific files under a dedicated .claude/rules directory, and update the original CLAUDE.md with references to the new files.

When should I migrate CLAUDE.md content into a separate rules directory?

You should migrate CLAUDE.md content into a separate rules directory when the file becomes unwieldy and hard to maintain, allowing you to keep a concise overview in CLAUDE.md while storing detailed topic-specific guidelines externally.

What is the best way to organize .claude/rules files during a documentation refactor?

The best way to organize .claude/rules files during a documentation refactor is to group content by topic, create dedicated rules files for each identified large section, and use simple Markdown guidance with YAML frontmatter where appropriate.

Do I need a specific repository structure to move CLAUDE.md rules into .claude/rules?

Moving CLAUDE.md rules into .claude/rules assumes a repository structure with a memory optimizer plugin. You can then separate topic-specific rules and update references in the original CLAUDE.md to point to the new files.

Can I keep a concise overview in CLAUDE.md after moving guidelines to .claude/rules?

Yes, you can keep a concise overview in CLAUDE.md after moving guidelines to .claude/rules by removing the migrated content from the main file and replacing it with references that point to the newly created topic-specific rules files.

Why does my CLAUDE.md become hard to maintain as project guidelines grow?

Your CLAUDE.md becomes hard to maintain as project guidelines grow because all rules accumulate in a single file. Migrating content into a dedicated rules directory improves maintainability by splitting large sections into focused topic-specific files.