Code Reviewのロゴ

Code Review

コミュニティ
IgorWarzocha
code-review

Must apply when your task is to review code changes.

概要

公開者IgorWarzocha
リポジトリhowaboua-agent-stuff
スキル名code-review
スター
426
フォーク
46
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Load an applicable codebase hygiene skill and apply it throughout.

Judge two concerns independently:

  • Intent and correctness: the requested behavior is complete, with no unrequested behavior or regression.
  • Codebase hygiene: ownership, contracts, execution, lifecycle, tests, and file boundaries remain coherent.

Never let one concern excuse failure in the other. Treat implementation, tests, comments, types, and documentation produced from the same premise as one evidence source. Agreement within the patch is not independent proof.

1. Establish scope

  1. Resolve the intended base. Inspect the full diff and commit range, not only the last commit.
  2. Read the request, acceptance criteria, and complete owning units around changed behaviour. Follow affected callers, contracts, tests, configuration, and registration where they establish a material claim. Read complete files for structural changes, cross-cutting state or initialisation, or unresolved ownership.
  3. Trace changed behavior from a real entry point to its result or effect. Confirm tests reach the production path.
  4. Record claimed behavior, missing or partial requirements, unrequested scope, and behavior that must remain stable.
  5. Separate observed requirements, compatibility assumptions, and reviewer inference. Ask only when the distinction changes the verdict.

2. Establish evidence

Prefer:

  1. explicit acceptance criteria and confirmed product decisions
  2. public compatibility contracts, persisted formats, protocols, and observed external behavior
  3. stable prior behavior when compatibility is required
  4. independent callers or implementations with matching semantics
  5. tests, comments, names, and implementation structure

Identify the one or two facts the change relies on for safety, including facts beyond direct callers. Prove each with source evidence, an unreachable failure path, an executable check, or the running artifact. Mark unproved claims as unproved.

3. Challenge each material claim

Choose the cheapest decisive falsifier:

  • Regression: reproduce the failure or exact old path. Confirm the cause is removed rather than hidden by a guard, retry, fallback, or catch.
  • Boundary logic: probe supported transitions around empty, singleton, first, last, missing, duplicate, zero, limits, and ordering.
  • Refactor or optimization: compare observable behavior before and after on representative supported inputs. Judge differences against the contract.
  • State or lifecycle: probe illegal order, repetition, partial failure, cancellation, retry exhaustion, cleanup, shutdown, and ownership transfer.
  • Serialization or compatibility: round-trip real supported data. Inspect old readers, writers, stored data, and version boundaries.
  • Test: name a plausible wrong implementation the test rejects. For regressions, demonstrate fail-before and pass-after when practical. Registration, rendering, symbol existence, type validity, and mock choreography are not evidence.
  • External integration: verify the project-owned boundary. Use controlled real-provider evidence when compatibility itself matters. A hand-built double cannot prove an external API.

Use concrete inputs, callers, and local comparisons before fuzzing, mutation campaigns, property frameworks, generated corpora, new dependencies, or elaborate harnesses. Existing machinery earns use only when it supplies a real oracle at proportionate cost.

Challenge the proof:

  • Assertions can fail and reach changed production behavior.
  • Fixtures inhabit the supported contract rather than invented data.
  • Filters, catches, retries, and fallbacks do not hide failure.
  • Types and schemas are not mistaken for runtime proof.
  • No broad ignore, unsafe cast, skipped file, weakened assertion, silent fallback, deleted useful test, or compatibility wrapper exists only to pass checks.
  • No old implementation, bypass, duplicate registration, or unmigrated consumer remains.
  • A green suite proves only what that suite tested.

4. Report

Report a finding only when a requirement or compatibility contract supports a reproducible failure, or hygiene evidence shows concrete risk from ownership, hidden behavior, lifecycle, verification, or navigation.

Each finding needs:

  • severity and specific title
  • primary file and symbol
  • violated requirement, contract, repository rule, or hygiene principle
  • trigger and execution path
  • concrete consequence
  • independent evidence or minimal reproducer
  • smallest credible correction

Rank severity by consequence and realistic reach. Group symptoms under one cause. Reject speculative edge cases, generic best practices, style preferences, and demands for tests without a protected failure.

Lead with findings and put the strongest evidence under each. Then report checks and material residual risk. If none survive, say no material finding was established within the inspected paths and challenges. Never call the change correct.

Stay read-only during review-only work. Stop when each material claim faced a decisive challenge, further checks repeat existing evidence, or remaining uncertainty requires a product decision or unavailable external system.

よくある質問

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

Must apply when your task is to review code changes.

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

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

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

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

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

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

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

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

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

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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