Code Module Reviewのロゴ

Code Module Review

コミュニティ
Integralist
code-module-review

Explain and review how a scoped piece of code is structured. Use when the user asks how a feature or package is put together; whether a PR or existing code has clean module boundaries; where new logic should live or which module should own it; or how the code could be reshaped.

概要

公開者Integralist
リポジトリagent-skills
スキル名code-module-review
スター
26
フォーク
1
同梱ファイル
指示のみ
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

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

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

スキルの指示

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

Map a scoped piece of code, then assess whether its modules and seams belong where they are. Back every claim with source evidence. This is review-only: change code only when the user asks.

Use the vocabulary and principles in code-module-design, the project's domain terms from GLOSSARY.md, and conventions-mermaid for every diagram.

1. Scope

Resolve the target from the user's file, diff, PR, feature, or package. If none is clear, ask which code to map. For a PR or diff, follow callers, dependencies, and neighbouring modules only as far as needed to establish ownership; do not scan the whole codebase. Read nearby package docs, GLOSSARY.md, and ADRs. If only CONTEXT.md exists, use it and note it is the legacy glossary. Continue when you can name the code being traced and its neighbours.

2. Map the current state

Read source, imports, call sites, and peers before drawing. Keep static dependencies separate from runtime calls: an import alone does not prove a call.

Draw only views that add information beyond the others:

  • Placement: the target and neighbouring modules that own related responsibilities, showing static dependencies and plausible existing homes for the logic.
  • Interaction: runtime participants and control or data flow. Use a sequence diagram for ordered exchanges, or a flowchart when branching or ownership reads better.
  • Call path: one entry point through the functions implementing the behaviour, including transformations, side effects, and error paths. Use real names and source locations.

Keep each view readable; split diagrams rather than shrinking them. For every skipped view, say why. Cite path:line in nearby text, not diagram labels. Validate each view, or mark it unvalidated if mmdc is unavailable.

3. Assess ownership and seams

Use source evidence to check:

  • Which existing module owns the concept, based on responsibility, callers, types, and imports—not its name alone.
  • Whether callers coordinate several shallow modules that one deeper module could own behind a smaller interface.
  • Whether logic sits with the concept it changes or leaks into a caller, shared utility, or unrelated package.
  • Whether a likely change to a format, policy, or default requires edits in several modules, or callers must know an implementation detail.
  • Whether callers handle an ordinary case or configuration choice that the owning module could handle once.
  • Whether dependencies cross the seam in the right direction, and whether a proposed seam has a second adapter to justify it.
  • Whether moving logic would improve locality or leverage without pushing complexity onto callers.
  • Whether the module's tests reach it through its interface, or pin internal helpers. Pinned helpers suggest the seam is in the wrong place.

A finding must name its demonstrated cost: duplicated responsibility, leaked implementation, caller coordination, coupling, or another specific cost. A layout that differs from a preferred pattern is not a cost. If a claim relies on project precedent, use the precedent skill and cite at least two peers. Finish with evidence for every finding, or conclude that placement is sound or the evidence is inconclusive.

4. Report

Label inferences and proposals as such. Include:

  • Scope and summary: what was traced and the short answer.
  • Current state: each view, with a short explanation and path:line citations.
  • Boundary findings, ranked by impact: current responsibility, evidence, cost, and the smallest coherent alternative. If there are none, say the boundaries look sound.
  • Target view: only for findings that warrant structural change; show the proposed ownership or interaction at the same level as the current view.
  • Unknowns and next step: facts that could change the assessment and one focused follow-up.

Finish when the report is delivered.

Hand off when appropriate

よくある質問

AIスキル「Code Module Review」では何ができますか?

Explain and review how a scoped piece of code is structured. Use when the user asks how a feature or package is put together; whether a PR or existing code has clean module boundaries; where new logic should live or which module should own it; or how the code could be reshaped.

TypingMindでCode Module Reviewを使うメリットは何ですか?

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

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

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

Code Module Reviewを使えるAIモデルはどれですか?

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

Code Module Reviewは何個のAIモデルで使えますか?

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

AIスキル「Code Module Review」は無料ですか?

IntegralistがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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