This skill should be used when the user asks to "プロジェクトを解析して", "コードベースを調べてドキュメント化して", "移行作業の準備をして", "新機能実装の前にプロジェクトを整理して", "analyze this codebase", "document the project structure", "既存プロジェクトのCLAUDE.mdを作って", or wants to prepare CLAUDE.md and architecture docs before a migration, feature development, or onboarding.
self-improvement
ユーザーからの修正・指摘を受けた際の学習記録と自己改善ループ。ユーザーから「違う」「そうじゃない」「前にも言ったけど」といった修正を受けた時、同じミスを繰り返していると気づいた時、セッション開始時の教訓確認で使う。修正やフィードバックを受けたら必ずこのスキルを参照する。
インストール方法を見る含まれるファイル(2)
- SKILL.md2.4 KB
- README.md1.2 KB
SKILL.md(原文)
インストールする前に、エージェントに与えられる指示の中身を確認できます。
自己改善ループ
トリガー
以下のいずれかが発生したら、このスキルを実行する。
- ユーザーから修正・指摘を受けた
- 自分のミスに気づいた
- セッション開始時(教訓の確認)
ミスの記録
ユーザーから修正を受けたら、tasks/lessons.md にパターンを記録する。
記録フォーマット
## YYYY-MM-DD: [簡潔なタイトル]
- **状況**: 何が起きたか(具体的なコンテキスト)
- **原因**: なぜ間違えたか(推測ではなく分析)
- **ルール**: 今後どうするか(検証可能な行動指針)
良い記録の例
## 2025-07-15: Cloudflare Workers で Node.js API を使った
- **状況**: fs モジュールを使うコードを Workers に書いた
- **原因**: Workers の実行環境が Node.js ではないことを忘れた
- **ルール**: Workers のコードでは Node.js 固有の API を使わない。ファイル操作には KV または R2 を使う
悪い記録の例
## 2025-07-15: ミスした
- **状況**: コードが動かなかった
- **原因**: よくわからない
- **ルール**: 気をつける
「気をつける」は行動指針ではない。具体的に何を確認し、何を避けるかを書く。
セッション開始時の確認
セッション開始時に tasks/lessons.md を確認し、現在のタスクに関連する教訓がないか確認する。関連する教訓があれば、それを意識して作業に取り組む。
改善サイクル
教訓が蓄積されてきたら、パターンを見直す。
- 同じカテゴリのミスが複数あれば、より一般的なルールに統合する
- 十分に定着したルール(長期間再発していないもの)は、必要に応じてアーカイブする
- プロジェクト固有のルールが見つかれば、CLAUDE.md への昇格を検討する
レビュー
まだレビューはありません。使ってみた感想をお寄せください。
同じリポジトリのスキル
概要と使いどころ
This skill should be used when the user asks to "このエラーを直して", "help me debug this", "fix this stack trace", "なぜこのエラーが出るの", "CI が落ちた", or pastes an error message or stack trace and wants help diagnosing it. Classifies the error type, identifies related files, and proposes up to three root-cause hypotheses with concrete fix plans.
This skill should be used when the user asks to "ドキュメントを更新して", "sync the docs", "update CLAUDE.md after this change", "実装に合わせてドキュメントを直して", or notices that docs have drifted from the codebase. Diffs git history to identify what changed, proposes targeted updates to CLAUDE.md, docs/architecture.md, docs/requirements.md, and README.md, then applies only approved changes.
explain
無料Explain selected code or a specified file/function in plain language, including what it does, why it exists, and potential pitfalls
日本語の概要は準備中です。原文の説明を表示しています。
This skill should be used when the user asks to "このファイルを変えたら何が壊れる?", "what depends on this function", "影響範囲を調べて", "show me what imports this module", or wants to understand the blast radius before modifying a shared utility, exported type, or public API. Traces import/require references up to two levels deep and lists affected test files.
This skill should be used when the user asks to "このIssueを実装して", "implement this issue", "fix this bug", "このタスクをやって", "Issue