Review Spdのロゴ

Review Spd

コミュニティ
zhu1090093659
review-spd

AIコーディングエージェント向けの、指摘事項を優先するコードレビューのワークフローです。未コミットの変更、指定期間内のコミット、またはmainブランチと比較したブランチやPR形式の差分のレビューをユーザーが求めたときに使用します。バグ、リグレッション、正確性に関するリスク、テスト不足、セキュリティやデータ保護の問題、その他動作を変える不具合に重点を置きます。

概要

公開者zhu1090093659
リポジトリspec_driven_develop
スキル名review-spd
スター
987
フォーク
101
同梱ファイル
3
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 3個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Review SPD

You are executing the Review SPD workflow: a findings-first review of changed code. Identify bugs, regressions, and behavior risks introduced by the changes. Do not turn this into a style review or a broad summary.

Configuration

ItemDefaultPurpose
Context scriptscripts/review-context.py relative to this Review SPD skill directoryCollect stable git context
Default targetUncommitted changesWorking tree + staged changes
Commit range defaultLast 3 daysOnly when the user requests commit/date review without dates
PR baseAuto-detect origin/main, origin/master, then remote default branchBase for branch-vs-main review
Output styleFindings firstFindings by severity before summaries

References: reviewer sub-agent template references/reviewer-template.md; final output format references/output-format.md.

Target Modes

Three mutually exclusive targets:

  1. Uncommitted mode (default)
  2. Commit-range mode — no explicit range → last 3 days
  3. Branch / PR mode — branch vs. main or explicit base

Conflict priority: branch specified → branch mode; else since/until → commit-range mode; else uncommitted. base applies only to branch mode. Vague requests ("review this") → uncommitted mode; "recent commits" without dates → --since "3 days ago".

Phase 1: Target Resolution

Resolve the context script from the installed Review SPD skill directory, not from the repository being reviewed:

bash
python <review-spd-skill-dir>/scripts/review-context.py
python <review-spd-skill-dir>/scripts/review-context.py --since "3 days ago"
python <review-spd-skill-dir>/scripts/review-context.py --since 2026-06-28 --until 2026-07-01
python <review-spd-skill-dir>/scripts/review-context.py --branch feature/foo
python <review-spd-skill-dir>/scripts/review-context.py --branch feature/foo --base origin/main

When reviewing this repository itself, the convenience wrapper scripts/review-context.py is also available.

Phase 2: Context Collection

Run the script with cwd = the repository under review (it cd's to the git root itself). The script only collects git context; it does not judge correctness. From its output identify: review mode and base/head, commit list (if any), changed files and diff stats, added/deleted/renamed files, and the unified diff hunks needing semantic review.

If the script reports no changes, stop and say there is nothing to review. Do not invent findings.

Phase 3: Review Planning

Classify review size:

  • Small (≤3 files, localized diff): cover Correctness + Tests.
  • Medium (multiple files / behavior-affecting): add Regression/Compatibility.
  • Large or high-risk (broad changes, auth/permissions, persistence, migrations, concurrency, caching, money, security, public APIs, generated code, config/deployment): add Security/Data Safety + Performance/Concurrency.

Prioritize behavior code, public contracts, data handling, error paths, configuration, persistence, tests. Deprioritize docs, formatting-only changes, generated files, lockfile churn unless they affect runtime behavior.

Phase 4: Sub-Agent Review

If the platform supports sub-agents, spawn focused reviewers using references/reviewer-template.md; otherwise perform the same focused reviews sequentially yourself. Coverage must not shrink without sub-agents.

Reviewer focuses:

  • Correctness / Bug Risk: logic errors, edge cases, state consistency, exception paths, invalid assumptions.
  • Regression / Compatibility: changed API contracts, config behavior, data formats, migrations, CLI behavior, backward compatibility.
  • Tests / Verification: missing tests for changed behavior, weak assertions, stale tests, untested failure modes.
  • Security / Data Safety: authorization, validation, injection, secrets, destructive operations, data loss, privacy.
  • Performance / Concurrency: async races, caching errors, resource leaks, excessive work, ordering bugs.

Each reviewer returns only evidence-backed candidate findings for its own focus.

Phase 5: Finding Consolidation

Merge reviewer outputs into one findings list:

  • Every finding must be supported by the diff or directly relevant context, with a file:line reference when possible.
  • No style preferences, speculative rewrites, or generic best practices unless they create a concrete bug risk.
  • Incomplete evidence → move to Questions or Residual Risks, not Findings.
  • Deduplicate overlaps; keep the clearest impact statement.
  • Order by severity: Critical, High, Medium, Low.

Severity guide:

  • Critical: data loss, security bypass, production outage, irreversible corruption, severe user impact likely.
  • High: clear bug/regression in a common or important path.
  • Medium: edge-path bug, compatibility break, missing validation, or test gap likely to hide regressions.
  • Low: minor bug risk, confusing behavior, narrow edge case, maintainability issue with direct defect potential.

Phase 6: Final Response

Use references/output-format.md. Findings are the primary focus: present them first, keep summaries brief, never bury a bug below a summary. No findings → explicitly state No findings and include residual risks or testing gaps.

Review Discipline

  • Think like a code reviewer, not a feature planner: does the change introduce new bugs?
  • Verify claims against code context before reporting.
  • Prefer one strong finding over many weak suggestions.
  • Do not modify files unless the user explicitly asks you to fix the findings.
  • If tests/builds are needed to validate a suspected issue, name the exact command or missing coverage.

同梱ファイル

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

よくある質問

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

AIコーディングエージェント向けの、指摘事項を優先するコードレビューのワークフローです。未コミットの変更、指定期間内のコミット、またはmainブランチと比較したブランチやPR形式の差分のレビューをユーザーが求めたときに使用します。バグ、リグレッション、正確性に関するリスク、テスト不足、セキュリティやデータ保護の問題、その他動作を変える不具合に重点を置きます。

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

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

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

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

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

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

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

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

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

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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