Comet Reviewのロゴ

Comet Review

組織人気
rpamis
comet-review

Manually review the implementation diff for the current Comet change. Report correctness, security, and edge-case issues without advancing the workflow.

概要

公開者rpamis
リポジトリcomet
スキル名comet-review
スター
3.1K
フォーク
295
同梱ファイル
1
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 1個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Comet Manual Code Review

Perform one on-demand, read-only code review of the currently selected Comet change. This entry is not a workflow phase and does not replace Build or Verify checks and reviews.

This entry is independent of review_mode. That field controls automatic reviews within the workflow; /comet-review is a single review explicitly requested by the user. Do not read, modify, or override the current change's review_mode during this invocation.

Perform read-only operations

The entire Skill invocation must remain read-only:

  • Do not modify, create, or delete files.
  • Do not stage, commit, switch branches, create branches, or create worktrees.
  • Do not run comet state select, comet native select, comet state set, comet state transition, phase guards, comet native next, or archive commands.
  • Do not fix findings, advance phase, or update tasks, state, verification reports, or review records.
  • Do not call this review a Verify pass or treat “no findings” as proof that tests passed.

Only run commands needed to read files, query state, and inspect Git diffs. Checks that might execute project code, install dependencies, or produce files are outside this entry's scope.

1. Locate the project and current change

  1. Use read-only Git queries to find the project root. Outside a Git repository, use the current Comet project root.

  2. Run at the project root:

    bash
    comet status . --json
  3. Read .comet/current-change.json and choose the review target in this order:

    • If the file contains a valid comet.selection.v2, use its workflow and change.
    • If selection is absent and status lists exactly one unarchived Comet change, use that change for this review only; do not write selection.
    • If selection is absent and several changes exist, list their names, workflows, and phases, ask the user to choose one, and end this invocation.
    • If selection points to a missing, archived, or invalid change, report the stale/invalid selection and stop without repairing it.

Ignore ordinary OpenSpec changes that Comet does not manage. Do not replace the selected workflow with the default workflow merely because they differ.

2. Gather review context

Read only the context needed for this change. Keep a source path or command for each fact.

Classic

  1. Read and follow comet-classic/reference/classic-layout.md to resolve the project's Classic logical roots.

  2. Read the current change's proposal.md, design.md, tasks.md, and specs/*/spec.md. Also read any linked Design Doc.

  3. Use these read-only queries for the phase, baseline, and existing evidence references:

    bash
    comet state get <change-name> phase
    comet state get <change-name> base_ref
    comet state get <change-name> plan
    comet state get <change-name> verification_report
  4. Read the existing plan, verification report, and build/verify command checks returned by comet status . --json. Mark missing evidence as “not provided”; do not infer failure or success.

Native

Run these read-only commands:

bash
comet native show <change-name> --json
comet native status <change-name> --details --json

Follow the returned references to read the brief, complete proposed Specs, acceptance, Builder handoff, checks, verification, risks, blockers, and verification report. Use evidence for the current candidate/iteration only. Historical iterations may explain remaining risks but must not override current state.

3. Establish the implementation diff

  1. Run git status --short --untracked-files=all to list all staged, unstaged, and untracked files in the worktree.
  2. Use the current change's requirements, workspace binding, Git history, and worktree state to establish the most reliable relevant scope. For Classic, prefer a valid plan base-ref; if it is absent or invalid, fall back to the state base_ref. The two values do not need to match. Only when both values are invalid is the Classic baseline missing. For Native, use the workspace relationships in state and the evidence defining the current candidate's implementation scope.
  3. Inspect the complete diff from the reliable baseline to the current worktree, including committed, staged, and unstaged changes. Read all untracked files belonging to this change, including source, tests, documentation, configuration, and metadata such as SKILL.md and agents/openai.yaml. Clearly identify them as untracked.
  4. Exclude changes clearly belonging to other changes or unrelated user work. Ask the user only when ambiguity would materially affect the review conclusions. Otherwise, continue with the available evidence and state your scope assumptions in the report.

If the available evidence still cannot establish a reliable, verifiable baseline, review the visible worktree diff and prominently label the review scope as incomplete.

4. Perform the review

Review the requirements, tasks, and current diff, focusing only on:

  • Implementation correctness and clear logic errors.
  • Security, permission, and path-boundary risks.
  • Error handling, compatibility, and important edge cases.
  • Missing tasks or implementation that contradicts explicit requirements for this change.
  • Whether tests cover the changed behavior and whether the available test evidence supports the conclusions.

Do not report style preferences, unrelated refactoring, or speculation without a concrete impact. Each finding must identify a file and line number and explain the input or situation that triggers the error or risk. Lower its severity or place it under “Open questions” when evidence is insufficient.

Use only these severity levels:

  • CRITICAL: security compromise, data loss, or an unusable core workflow.
  • IMPORTANT: a clear correctness error, missing core acceptance requirement, or likely regression.
  • WARNING: a real, non-blocking edge-case risk or test gap.
  • SUGGESTION: a concrete improvement that does not affect current correctness.

5. Report the results

List findings first, ordered by severity. Use this format:

text
[IMPORTANT] Short title — path/to/file.ts:123
Impact: The input or situation and the resulting error.
Evidence: The specific relationship to the diff, task, spec, or verification record.

Then include:

  • Review scope: workflow, change, phase, baseline, included diffs, and any scope limitations.
  • Evidence status: the test, build, and verification records inspected and whether they still apply to the current changes. Do not rerun tests.
  • Open questions: only questions that actually prevent a judgment.
  • Conclusion: the finding count, or an explicit “No concrete findings.”

Even with no findings, state remaining risks and checks not performed. End with this reminder:

This was a read-only manual review. It does not advance the Comet phase and cannot replace /comet-verify or Native Verify.

If the user subsequently requests fixes, treat that as a new write task: leave this Skill and resume development under the repository's current workflow rules.

同梱ファイル

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

よくある質問

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

Manually review the implementation diff for the current Comet change. Report correctness, security, and edge-case issues without advancing the workflow.

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

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

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

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

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

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

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

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

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

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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