agentleFS
ktaroabobonktaroabobon/agent-skills/skills/explain/SKILL.md

explain

Skill0 starsChanged 3 months agoMITView on GitHub

作業ディレクトリのプロジェクトを read-only で調べ、目的・技術スタック・ディレクトリ構成・動かし方(実行 / ビルド / テスト)・重要ファイル・注意点を、確認した事実と推測を分けて簡潔に説明する。「このプロジェクトを説明して」「このリポジトリ何?」「構成を教えて」「どうやって動かす?」「まず全体像を把握して」「オンボードして」時に使用。ファイルは変更しない。AGENTS.md や rules の生成は agents-onboarding、CLAUDE.md の生成は /init の仕事。

122 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use debug-fix, root-cause and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • zebbernSkill

    debug-fix

    Find and fix a bug or issue — from any source (GitHub issue, error message, user report, or observed behavior)

    Also in 3 projects that use this

  • Ingramradical235Skill

    root-cause

    Structured root cause analysis using WHERE (MECE decomposition) then WHY (causal structure diagrams) pipeline. Includes coin-flip detection, logical-leap detection, and vicious cycle intervention. Use when buffer enters YELLOW/RED, when metrics stall, or when Actions execute but don't produce results.

    Also in 5 projects that use this

  • ralphkraussSkill

    resolve-conflicts

    Resolve git merge conflicts or re-apply changes from a stale branch onto current main. Use when user says "resolve conflicts", "merge conflicts", "rebase branch", "branch is behind", "re-apply changes", "port branch", or a branch is too far behind main to merge cleanly.

    Also in 4 projects that use this

  • neurofooSkill

    socratic

    Socratic questioning to examine beliefs, uncover assumptions, and develop deeper understanding. Use to challenge thinking, evaluate proposals, or teach without lecturing.

    Also in 4 projects that use this

  • anombyte93Skill

    discover

    Phase 1 of the prd-taskmaster pipeline: brainstorm-driven discovery. Delegates to superpowers:brainstorming in Interactive Mode (one adaptive question at a time), or self-brainstorms in Autonomous Mode when no user is present. Intercepts before the brainstorming chain hands off to writing-plans — this skill owns the exit. Extracts constraints, calibrates scale (Solo / Team / Enterprise), and advances the pipeline to GENERATE.

    Also in 6 projects that use this

  • mitsuhikoSkill

    summarize

    Fetch a URL or convert a local file (PDF/DOCX/HTML/etc.) into Markdown using `uvx markitdown`, optionally it can summarize

    Also in 8 projects that use this

The file

Files
SKILL.md

explain

プロジェクトを調べて説明する。読むだけ。 説明を README やオンボーディング文書として書き出す依頼があっても、このスキルの中では書かない(保存先を提案して、別ターンで明示的な指示を受けてから書く)。

disallowed-tools で Write / Edit を外している。「説明のついでに README を直す」が起きると、説明の正確さよりも書いた内容の正当化に引っ張られる。

原則

読んだものだけを事実として書き、読んでいないものは推測と明示する。

全部は読めない。だから「どこを読んで何が分かったか」と「読んでいないが構成からこう見える」を分けて書く。読み手はそれで、説明をどこまで信じて次に何を見るべきかを判断できる。

引数

  • path: 対象ディレクトリ。省略時はカレント
  • --for user | agent: 読み手。省略時は user
    • user: 人向け。プロジェクトの説明として読める文章
    • agent: 自分(エージェント)向け。以後の作業に要る情報(コマンド、規約、触ってはいけない場所、次に読む場所)に寄せる

Step 1: プロジェクトの指示を先に読む

AGENTS.md / CLAUDE.md / .agents/ / .claude/ / .codex/ / README.md / docs/ の入口を読む。プロジェクトの指示は一般的な推測より優先する。ここに書かれたコマンドや規約は、後の節でそのまま使う。

Step 2: スタックを特定する

マニフェスト・設定ファイルから判断する: package.json / pnpm-lock.yaml / pyproject.toml / requirements.txt / go.mod / Cargo.toml / Gemfile / pom.xml / build.gradle / CMakeLists.txt / platformio.ini / compose.yaml / Dockerfile / .github/workflows/ / Makefile / Taskfile.yml / justfile。

実行・ビルド・テストのコマンドはドキュメントか設定ファイルに書かれているものを拾う。書かれていない推測コマンドは「(未確認)」と付ける。コマンドを実行して確かめない — 説明のためにビルドやテストを走らせると、副作用や時間がかかる。

Step 3: 構造を地図にする

git ls-files | head -200      # git 管理下なら。深さ 2〜3 までで全体像を掴む

node_modules/ / .venv/ / vendor/ / dist/ / build/ / target/ / キャッシュ / 生成物は読まない。巨大なツリーを丸ごと出力しない。

Step 4: 代表的なファイルを読む

構成を理解するのに必要な分だけ読む: エントリポイント、主要モジュール、ルーティング / コマンド定義、設定、テストの置き場所と書き方。プロジェクト種別で変える(Web アプリならルートとモデル、CLI ならコマンド定義、組み込みならターゲットと HAL、ライブラリなら公開 API)。

Step 5: 説明を書く

次の構成で、短い節を並べる。該当が無い節は「該当なし」と 1 行で残す(何を見なかったかが伝わる)。

  1. 概要 — 何をするものか、誰のためか(1〜3 文)
  2. スタック — 言語 / フレームワーク / パッケージ管理 / 主要な依存
  3. ディレクトリ — 主要なディレクトリと役割(表)
  4. 動かし方 — 実行 / ビルド / テスト / lint のコマンド。出典(ファイル名)を添える
  5. 重要なファイル — 最初に読むべきもの 5 個前後
  6. 構成の要点 — データの流れ、境界、規約、目立つ設計判断
  7. 注意点と不明点 — リスク、壊しやすい場所、読んでいない領域、矛盾して見える箇所
  8. 次に見るべき場所 — この説明の次に読む・試すと理解が進むもの

--for agent のときは 4・6・7・8 を厚く、1・2 を薄くする。

やらないこと

  • ファイルを作らない・変えない。書き出しを求められたら保存先を提案して待つ
  • ビルド・テスト・インストールを実行しない
  • 読んでいないファイルの中身を断定しない

完了時に返すもの

Step 5 の構成の説明。末尾に 1 行で、読んだファイルの数と主要なもの、読んでいない領域を書く。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.