Skip to main content

explain

Explain code. Default is a one-sentence summary plus a mental model. Add `verbose` to also get an ASCII diagram, key details, and a modification guide.

ソース情報

リポジトリ
poshan0126/dotclaude
ソースの最終更新活動
2026年5月5日 22:07
検出された SKILL.md の言語
英語
スター
869
フォーク
205

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
name
explain
description
Explain code. Default is a one-sentence summary plus a mental model. Add `verbose` to also get an ASCII diagram, key details, and a modification guide.
argument-hint
[target] [verbose?]
disable-model-invocation
true
Explain `$ARGUMENTS` clearly. ## Mode If `$ARGUMENTS` includes the word `verbose` (for example, `/explain my-function verbose`), produce all five sections below. Strip the word `verbose` from the target name when interpreting what to explain. Otherwise (the default), produce only sections 1 and 2 and stop. Day-to-day that's usually all you need. ## Sections ### 1. One-sentence summary What does it do, and why does it exist? One sentence. ### 2. Mental model An analogy or metaphor that captures the core idea. Relate it to something the developer already knows. One short paragraph. ### 3. Visual diagram (verbose only) Draw an ASCII diagram showing the data and control flow. Keep it readable: ``` Input -> [Step A] -> [Step B] -> Output | v [Side Effect] ``` ### 4. Key details (verbose only) Walk through the important parts. Skip the obvious. Focus on: - Non-obvious decisions (why this approach?) - Edge cases and gotchas - Dependencies and side effects ### 5. How to modify it (verbose only) What would someone need to know to safely change this code? Where are the landmines?
GitHubで見る