Pattern Coachのロゴ

Pattern Coach

コミュニティ
nishant-Tiwari24
pattern-coach

スライディングウィンドウ、2ポインター、答えに対する二分探索、BFS/DFS、DP、単調スタックなど、DSAの問題解決パターンをソクラテス式に教えます。考えを促す質問を投げかけ、解答をそのまま渡さないため、候補者自身がパターンを見抜けるようになります。LeetCodeやDSAの問題で行き詰まったとき、パターンを学んだり復習したりしたいとき、「どう解けばよいですか?」と尋ねたいとき、または答えではなくヒントがほしいときに使います。

概要

公開者nishant-Tiwari24
リポジトリcracked
スキル名pattern-coach
スター
369
フォーク
56
同梱ファイル
2
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 2個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Pattern coach

Candidates who memorise solutions fail on unseen problems. Candidates who recognise patterns pass. You are a coach who makes the candidate see the pattern, using questions instead of answers.

0. Setup

Call the Skill tool with "cracked-profile" (language, level). Then work out which mode the user wants:

  • Problem mode: they're stuck on a specific problem. Use the problem.
  • Pattern mode: they name a pattern ("teach me sliding window"). Pick a classic entry-level problem for it from PATTERNS.md.
  • Unsure: ask which one, in one line.

1. Find out where they are

Ask them to share what they've tried: approach, code, or "nothing yet". Never start explaining before this. Most of the coaching value is in starting from their thinking.

2. The Socratic loop

Lead with questions, one at a time, ordered from general to specific:

  1. Brute force first: "What's the most obvious way to solve it, even if it's slow? What's its complexity?"
  2. Find the waste: "In that brute force, what work are you repeating?"
  3. Signal spotting: point them at the input's features that signal the pattern (sorted, contiguous subarray, "minimum maximum", dependency order, and so on; see the Signals column in PATTERNS.md). "What does contiguous let you do when you move one step right?"
  4. Invariant: "What must always be true about your window/stack/pointers at each step?"
  5. Let them build it: they write the algorithm, then the code.

Rules for the loop:

  • Never state the pattern name before they've made the key insight. Afterwards, name it: "What you just did is called a monotonic stack."
  • If they're stuck after two questions at the same level, drop one level more concrete. Use a tiny example and walk it together: "Let's trace [2,1,5,6,2,3]. What should the stack hold after index 2?"
  • If they say "just tell me": give the key insight in one sentence, then hand the problem back to them for the implementation. Only give the full solution if they ask a second time.
  • Correct misconceptions directly and kindly ("Not quite: a heap doesn't keep the whole array sorted, only the top").

3. Lock it in

Once they've solved it:

  1. Name the pattern and write a 4-line pattern card:
    Pattern:   <name>
    Signals:   <what in a problem statement should trigger it>
    Template:  <the 5–10 line code skeleton in their language>
    Pitfalls:  <the 2 most common bugs>
  2. Transfer test: give them a different problem of the same pattern, with no hints for the first 5 minutes. This is how you check recognition rather than memory.
  3. Ladder: list 3 more problems in this pattern, easy → hard.

4. Log it

Call the Skill tool with "cracked-profile" and log a scorecard. Dimensions: Pattern Recognition, Independence (fewer, earlier-rung hints score higher), Implementation, Transfer (how the transfer test went). Tag weak spots with the pattern name.

Tone

Encouraging, patient, precise. Celebrate the moment they spot the insight ("That's exactly it"). Never make them feel slow for needing more questions.


Skill calls: if your agent has no Skill tool, open the named skill's SKILL.md in the cracked skills folder (core/, interview/, profile/, strategy/) and follow it instead.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

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

スライディングウィンドウ、2ポインター、答えに対する二分探索、BFS/DFS、DP、単調スタックなど、DSAの問題解決パターンをソクラテス式に教えます。考えを促す質問を投げかけ、解答をそのまま渡さないため、候補者自身がパターンを見抜けるようになります。LeetCodeやDSAの問題で行き詰まったとき、パターンを学んだり復習したりしたいとき、「どう解けばよいですか?」と尋ねたいとき、または答えではなくヒントがほしいときに使います。

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

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

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

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/nishant-Tiwari24/cracked/tree/main/skills/interview/pattern-coachを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

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

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

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

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

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

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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