Summary
- Use when user wants to migrate content from CLAUDE.md to rules, split memory, or reorganize memory structure.
- Also use when user says 分離したい, 移行したい, リファクタリング, 整理したい.
- CLAUDE.md から rules フォルダへの移行ガイドで、分離すべき条件、移行手順、ステップバイステップの説明を提供する。
smithery/biwakonbu
Use when user wants to migrate content from CLAUDE.md to rules, split memory, or reorganize memory structure.
npx skills add smithery/biwakonbu --skill migration-guide
Related neighbors and high-traction skills in the same topics — useful to compare before installing.
Guidance for distinctive, intentional visual design when building new UI or reshaping an existi…
866.4K installsBrowser automation CLI for AI agents. Use when the user needs to interact with websites, includ…
810.4K installsReview UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "chec…
617.3K installsBuild, deploy, evaluate, optimize, fine-tune, and manage Microsoft Foundry agents, models, and …
576.5K installsDebug Azure production issues on Azure using AppLens, Azure Monitor, resource health, and safe …
568.9K installsOther skills from smithery/biwakonbu.
npx skills add smithery/biwakonbu
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
Parsed from SKILL.md frontmatter.
Files included with this skill beyond the listing page.
SKILL.md
5,327 B
SUMMARY.md
382 B
CLAUDE.md から rules フォルダへコンテンツを移行する方法を提供。
このスキルは CLAUDE.md の内容を rules フォルダに移行する判断基準と手順を説明します。
| サイン | 説明 | 対応 |
|---|---|---|
| CLAUDE.md が300行超 | 肥大化 | 即座に分離検討 |
| 特定ファイル用のルールが混在 | 非効率 | paths 条件で分離 |
| セクションが50行超 | 読みづらい | 個別ファイルに分離 |
| 頻繁な更新 | 変更影響が大きい | 独立管理 |
□ CLAUDE.md の行数を確認
□ 特定ファイル形式向けのルールがあるか
□ 独立したトピック(テスト、セキュリティなど)があるか
□ 更新頻度が高いセクションがあるか
| 内容 | CLAUDE.md に残す | rules に移行 |
|---|---|---|
| プロジェクト概要 | ✓ | |
| 技術スタック | ✓ | |
| 開発コマンド | ✓ | |
| コーディング規約(概要) | ✓ | |
| コーディング規約(詳細) | ✓ | |
| テスト規約 | ✓ | |
| セキュリティ規約 | ✓ | |
| API 設計ガイド | ✓ | |
| フレームワーク固有ルール | ✓ | |
| DB 操作ルール | ✓ |
# CLAUDE.md の行数確認
wc -l CLAUDE.md
# 現在の構成確認
/memory
CLAUDE.md を読み、以下を特定:
mkdir -p .claude/rules
各トピックごとにファイルを作成:
---
paths:
- "適用対象のパスパターン"
---
# ルール名
移行した内容をここに記載
移行した内容を削除し、参照を追加:
# プロジェクト名
## 概要
(残す内容)
## 詳細ルール
詳細なルールは `.claude/rules/` を参照:
- コードスタイル: `rules/code-style.md`
- テスト: `rules/testing.md`
- セキュリティ: `rules/security.md`
# メモリのロード確認
/memory
# 動作テスト
# 実際のファイルで Claude の応答を確認
# my-project
## 概要
...
## 技術スタック
...
## TypeScript ルール(50行以上)
...詳細な型定義ルール...
...エラーハンドリング...
...命名規則...
## テストルール(80行以上)
...テスト構成...
...モック方法...
...カバレッジ基準...
## セキュリティ(40行)
...認証...
...認可...
CLAUDE.md(簡潔化):
# my-project
## 概要
...
## 技術スタック
...
## ルール参照
詳細なルールは `.claude/rules/` を参照。
.claude/rules/typescript.md:
---
paths:
- "**/*.ts"
- "**/*.tsx"
---
# TypeScript ルール
...(移行した内容)...
.claude/rules/testing.md:
---
paths:
- "**/*.test.ts"
- "**/*.spec.ts"
---
# テストルール
...(移行した内容)...
.claude/rules/security.md:
---
# paths なし = 全ファイルに適用
---
# セキュリティルール
...(移行した内容)...
/memory で確認1. paths 条件を確認
2. ファイルパスがパターンにマッチするか確認
3. /memory でロード状態を確認
1. 内容を統合
2. より具体的な paths を設定
3. 一方を削除
Week 1: テストルールを移行
Week 2: セキュリティルールを移行
Week 3: API ルールを移行
Week 4: 残りを整理
CLAUDE.md から最も大きいセクションだけを移行:
# 最大セクションを特定
# → testing セクションが80行
# rules/testing.md を作成
# CLAUDE.md から testing セクションを削除
# 参照を追加