Aegis Code Reviewのロゴ

Aegis Code Review

コミュニティ
antropos17
aegis-code-review

Review an AEGIS PR, commit, branch or working-tree diff for concrete defects, requirement gaps and project-rule violations. Read-only unless fixes are requested; use audit-check for broad repository readiness checks.

概要

公開者antropos17
リポジトリAegis
スキル名aegis-code-review
スター
162
フォーク
29
同梱ファイル
1
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 1個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

AEGIS change review

Adapted from Matt Pocock's code-review skill; attribution and terms: LICENSE.

Bound the review

Read the selected checkout's AGENTS.md and relevant source. Record path, HEAD, git status and review target. Use aegis-context when available; otherwise inspect Vite and package configuration directly. Resolve the active renderer and runtime path before calling code missing or retired. Do not switch or clean another task's worktree.

Use the target supplied by the user. For a PR/branch, resolve base/head and inspect git diff <base>...<head>, stating that the base is the merge base. For a commit, choose its appropriate parent. For working changes inspect unstaged and staged diffs separately and read relevant untracked files from git ls-files --others --exclude-standard. HEAD-only review misses unfinished work. Ask for a base only when the request cannot be resolved reliably.

When workers may change the reviewed tree, agree on a frozen review scope and record its file hashes, including relevant untracked files. Recheck the scope and hashes after validation. Review any changed delta before accepting the result; otherwise identify the exact earlier revision covered by the review. Coordinate generated reports with their owner.

Find requirements in the request, supplied spec, linked issue and applicable contracts. Read issue/PR content without posting. No issue-tracker setup is required. If the spec is unavailable, state that limitation and continue defect/convention review without inventing requirements.

Two passes, one reviewer

Perform both passes yourself. Do not spawn subagents or external AI CLIs unless the user explicitly requests delegation. A review request does not authorize code fixes or publication; existing project authorization applies to actions actually within the task.

Requirements: trace each relevant promised behavior through its real callers and outputs. Identify omissions, wrong results and unrequested behavior. Consult current memory-bank notes as navigation, then verify source. A test count, successful command or old handoff is not implementation evidence.

Engineering: check the applicable documented conventions and the changed runtime paths. Main uses CommonJS and renderer uses its configured ESM/Svelte setup. Verify platform abstraction, dependency seams and the effective TypeScript/test configuration; bare tsc --noEmit against the root solution is not a type check of the codebase.

Follow contracts where the diff reaches them:

  • Identity and attribution: stamped instance identity, OS-grounded birth time or null, PID reuse, concurrent instances, unknown ownership and observation outages. Read relevant memory-bank/ai-mistakes.md entries.
  • Sensor/native paths: distinguish empty results, unavailable observations, deliberate filtering and counted loss. Check actual lifecycle and cleanup paths. Live ETW claims need live-provider evidence for the relevant binary/configuration, separate from mocks and self-tests.
  • Audit: trace append/flush/normalization and drop accounting. A valid retained chain alone cannot establish event completeness.
  • IPC and UI: inspect producer, preload exposure, active consumer and visible result. Verify payload handling and subscription cleanup for changes that affect them.
  • Tests: prove that mocks reach the CommonJS caller, source files enter the configured test/coverage projects, and assertions observe the actual triggering pattern.
  • Qualification harnesses: trace the actual driver's names, roots, transferred files and execution context into each helper and oracle. For Windows guest changes, check the effective PowerShell policy, principal and desktop, and derive temporary paths on the executing machine. Use caller-produced values in integration regressions; agreeing fabricated fixtures can hide a broken connection. Report local same-principal controls separately from actual guest observations.

Treat architectural smells as hypotheses requiring a concrete consequence in this diff. Do not report a stylistic preference, generic rewrite opportunity or tooling-enforced formatting as a defect. Clearly distinguish introduced defects from relevant pre-existing issues.

Evidence and delivery

For each actionable finding give priority, exact file/line or symbol, trigger, consequence and supporting requirement or code path. Label requirements versus engineering findings, order by impact and distinguish proven issues from open questions. A concise combined list is sufficient; do not force duplicate reports.

Use existing check results tied to the reviewed revision and focused read-only validation where useful. audit-check, when available, covers a separately requested readiness audit; do not automatically run that whole workflow for every diff. Derive any required final checks from the current AGENTS.md/CI. Do not run mutation campaigns or deliberately break source. Review the assertions and their independent expected results directly.

Do not edit source, regenerate lockfiles, run broad formatting, weaken checks or post review comments just to finish a read-only review. Report actual scope, findings and validation gaps. No findings means no defects were found within that scope; it does not establish security, release readiness or correct installation.

同梱ファイル

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

よくある質問

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

Review an AEGIS PR, commit, branch or working-tree diff for concrete defects, requirement gaps and project-rule violations. Read-only unless fixes are requested; use audit-check for broad repository readiness checks.

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

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

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

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

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

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

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

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

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

はい。antropos17がGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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