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.
explain
Explain selected code or a specified file/function in plain language, including what it does, why it exists, and potential pitfalls
インストール方法を見る含まれるファイル(2)
- SKILL.md1.6 KB
- README.md1.4 KB
SKILL.md(原文)
インストールする前に、エージェントに与えられる指示の中身を確認できます。
指定されたコードを説明してください。
対象の特定
-
引数
$ARGUMENTSが指定されている場合:- ファイルパスなら、そのファイルを読み込む
- 関数名・クラス名なら、コードベースを検索して見つける
-
引数がない場合:
- 会話の文脈から対象を判断する
- 不明な場合は何を説明するか確認する
説明の構成
概要(1〜3文)
このコードが「何をするか」を平易な言葉で説明する。技術的な詳細より目的・役割を優先。
動作の説明
入力 → 処理 → 出力の流れを説明する。 重要なステップがあれば番号付きリストで示す。
重要な設計上の判断
「なぜこう書かれているか」を説明する。
- 採用されているパターン・アルゴリズム
- トレードオフ(速度 vs メモリ、シンプルさ vs 柔軟性)
- 依存関係・前提条件
注意点・落とし穴
- エッジケース・境界条件
- よくある誤用
- パフォーマンス上の注意点
- セキュリティ上の考慮事項(該当する場合)
説明のトーン
- 専門用語は使っても良いが、初めて読む人でも理解できるよう補足する
- コードの問題点を指摘する場合は建設的に
- 長大なファイルの場合は主要な部分に絞って説明する
レビュー
まだレビューはありません。使ってみた感想をお寄せください。
同じリポジトリのスキル
概要と使いどころ
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.
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
This skill should be used when the user asks to "これらのIssueを全部実装して", "implement these issues autonomously", "Issue一覧を自動で片付けて", "これらのタスクを順番に実装してPRにして", or provides a list of GitHub Issue numbers/URLs for autonomous batch implementation. Fetches all specified Issues, resolves dependency order, then iterates through each — creating a worktree, implementing, and opening a PR — without user intervention.