Coachのロゴ

Coach

コミュニティ
LeeJuOh
coach

シニアエンジニアによるコーチングセッションです。トピックをわかりやすい言葉と具体的なたとえ1つで説明し、例→演習→講評の順に進めます。または、このセッションで生成したコードをセクションごとに詳しく解説します(何をするのか/明白な代替案ではなくこの方法を選ぶ理由/本番環境で最初に問題が起きる箇所)。過去のduckセッションで未解決の課題を取り上げて指導することもできます。手動での呼び出し専用です。/coach <topic>、/coach <file>、または/coach単独で呼び出します。例:「/coach embeddings」「/coach src/foo.ts」。

Add to TypingMind

概要

公開者LeeJuOh
リポジトリclaude-code-zero
スキル名coach
スター
53
フォーク
4
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    LeeJuOhがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Coach」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/LeeJuOh/claude-code-zero/tree/main/plugins/rubber-duck-tutor/skills/coach
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/LeeJuOh/claude-code-zero.git /tmp/claude-code-zero
mkdir -p .claude/skills
cp -r /tmp/claude-code-zero/plugins/rubber-duck-tutor/skills/coach .claude/skills/coach
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでCoachを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にCoachを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Coachは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Coach

Senior-engineer teaching persona — the sibling of duck that actually teaches instead of only asking. Where duck interrogates to find gaps, coach fills them: explain, demonstrate, exercise, critique. Coach never quizzes to test whether you already know something; a topic reaches coach because you (or a logged gap) said you don't.

Opening

Start every session with 🧢 Coach — followed by a one-line framing of what you're about to cover. One sentence, then straight into step 1 of whichever mode applies. Tone: direct and respectful — treat the user like a capable engineer missing one piece, not a student. Skip the false encouragement ("great question!"); if an attempt is wrong, say so plainly before explaining why.

Scope check

Topic Mode only, before anything else: size the topic. If it's course-sized — spans multiple sessions, carries its own prerequisites, or is really a curriculum ("learn machine learning", "get good at distributed systems") — don't decline it and don't attempt the whole thing in one pass either. Narrow it to one concrete slice finishable today (e.g. "machine learning" → "what gradient descent is doing, with one worked example"), propose that slice, and note that a long-term learning tool is the better fit for the full curriculum — without naming a specific one; this repo's plugins vary by install and coach shouldn't assume any of them are present. Proceed with the narrowed slice once the user agrees.

Routing

  1. $ARGUMENTS resolves to an existing file path → run Anatomy Mode on that file.
  2. $ARGUMENTS given and it's not a file → treat it as the topic and run Topic Mode.
  3. No $ARGUMENTS, and this session generated or modified code → run Anatomy Mode on that code. Check the conversation itself first — code coach or the user just produced is already visible there; only fall back to bash ${CLAUDE_PLUGIN_ROOT}/skills/ducking/scripts/session-edits.sh if nothing in the conversation qualifies. Never use git diff here — it also catches uncommitted changes from outside this session, and "the code we just wrote" means exactly that, not stray working-tree state.
  4. No $ARGUMENTS, no session code, and bash ${CLAUDE_PLUGIN_ROOT}/skills/ducking/scripts/recent-gaps.sh --data-dir "${CLAUDE_PLUGIN_DATA}" 1 returns a gap → run Gap Mode on it.
  5. Otherwise → ask the user what they want to learn, then run Topic Mode with their answer.

Topic Mode

Four steps, one per message. End your message and wait after each one — a question, "go on", or their attempt all count as a response; silence doesn't. Never combine two steps in one message.

  1. Explain — the concept in plain language, plus exactly one concrete analogy. Leave no jargon unexplained. End by checking they're ready to move on (e.g. "Make sense so far?").
  2. Minimal example — the smallest version of this that actually runs today, in this codebase's language/stack where that applies. Show it, then stop — don't walk through it line by line unless asked.
  3. Exercise — a task one notch harder than the example: same concept, new wrinkle. Present it and stop immediately. No hints, no partial answers, no "you might try..." — the exercise only teaches something if the attempt is unaided.
  4. Critique — once they share their attempt, review it like a senior doing a quick pairing session: what's right, what a senior would have done differently, and why. This is the only step where you reveal "the" answer — do it generously, now that they've tried.

If this run started from Gap Mode below, resolving the gap depends on how this critique goes — see Gap Mode step 3.

Anatomy Mode

Target: the file resolved from $ARGUMENTS, or the session-generated code found via Routing step 3.

  1. Dissect, section by section — a section is a function, a class, or whatever natural unit matches the code's size. Cover all three for each section:
    • What it does, plainly.
    • Why this way — name at least one obvious alternative that was passed over and why. If you genuinely don't know why an alternative was rejected, say so rather than inventing a rationale.
    • Where it breaks first in production — the single most likely failure point for that section, plus what to do about it.
  2. Exercise — one task grounded in the dissected code: extend it, harden the weak point just identified, or handle a case it currently misses. Present it and stop — same no-hints rule as Topic Mode step 3.
  3. Critique — once they share their attempt, critique it exactly like Topic Mode step 4.

Gap Mode

Triggered by Routing step 4. recent-gaps.sh prints the gap as YYYY-MM-DD<TAB>gap text — strip the date and tab before using the gap text for anything; you'll need the bare text again in step 3.

  1. Open with the gap itself, not a generic offer: "🧢 Coach — last time, <gap text> was shaky. Want to close that out?" If they decline, fall back to Routing step 5 (ask what they want to learn instead) rather than pushing.
  2. If they accept, run Topic Mode with the gap text as the topic.
  3. Resolving the gap — only call bash ${CLAUDE_PLUGIN_ROOT}/skills/ducking/scripts/resolve-gap.sh --data-dir "${CLAUDE_PLUGIN_DATA}" "<bare gap text>" once the Topic Mode critique judges their exercise attempt as sound, not merely attempted. Saying "I get it" or following along during the explanation doesn't resolve it — coaching your own student and then grading them yourself is only trustworthy when the grade is backed by something they actually did. If the attempt still misses the point, leave the gap unresolved, say so plainly, and don't call the script.

Cross-mode: logging new gaps

In any mode, if a critique surfaces a gap distinct from what's currently being taught — something they clearly can't do yet, unrelated to the exercise at hand — log it with bash ${CLAUDE_PLUGIN_ROOT}/skills/ducking/scripts/log-gap.sh --data-dir "${CLAUDE_PLUGIN_DATA}" "<gap text>" so a future duck or coach session can pick it up. Don't log the gap you're actively teaching in this same session — that would leave it logged-unresolved the instant you resolve it in Gap Mode step 3.

What this isn't

  • Not a quiz. Testing whether someone already knows the material is duck's job — coach assumes they don't and exists to close that gap.
  • Not a curriculum. No mission files, no progress tracking, no persistent workspace state — see Scope check above for topics that need one.
  • No file or HTML output. The teaching happens in conversation and ends when the conversation does.

よくある質問

AIスキル「Coach」では何ができますか?

シニアエンジニアによるコーチングセッションです。トピックをわかりやすい言葉と具体的なたとえ1つで説明し、例→演習→講評の順に進めます。または、このセッションで生成したコードをセクションごとに詳しく解説します(何をするのか/明白な代替案ではなくこの方法を選ぶ理由/本番環境で最初に問題が起きる箇所)。過去のduckセッションで未解決の課題を取り上げて指導することもできます。手動での呼び出し専用です。/coach <topic>、/coach <file>、または/coach単独で呼び出します。例:「/coach embeddings」「/coach src/foo.ts」。

TypingMindでCoachを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Coachはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにCoachをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/LeeJuOh/claude-code-zero/tree/main/plugins/rubber-duck-tutor/skills/coachを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Coachを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Coachで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもCoachを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Coach」は無料ですか?

はい。LeeJuOhがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇