Review Driven Developmentのロゴ

Review Driven Development

コミュニティ
Yvictor
review-driven-development

Use when developing features from GitHub/GitLab issues through to merged PRs/MRs with iterative review cycles. Covers: issue research, implementation planning, worktree isolation, coding, testing, PR/MR creation, multi-reviewer code review (current agent, codex exec, claude -p), fix-review loops until APPROVE, merge and cleanup. Composable with TDD, BDD, systematic-debugging, and other methodology skills. Use this whenever: user provides an issue number (#NN), asks to implement a feature from an issue, wants to create a reviewed PR/MR, or needs code reviewed iteratively before merging. Even if the user just says "implement #42" or "work on issue 15", this skill applies.

概要

公開者Yvictor
リポジトリskills
スキル名review-driven-development
スター
33
フォーク
5
同梱ファイル
指示のみ
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Review-Driven Development

A complete issue-to-merge workflow where the iterative review cycle is the core driver. The PR/MR doesn't just get created — it gets reviewed N rounds with fixes until the verdict is APPROVE.

Announce at start: "Using review-driven-development to implement issue #NN through the full review cycle."

Overview

Issue → Research → Plan → Worktree → Implement → Test → PR/MR → Review ⟲ Fix → APPROVE → Merge
                                                                 ↑_____________↩ (repeat until clean)

The review cycle (Phase 5) is what separates this from a simple "code and push" workflow. Every PR/MR goes through at least one structured review round, with findings posted directly to the PR/MR. Issues get fixed, re-reviewed, and the cycle repeats until the verdict is APPROVE.


Phase 1: Issue Research

When the user provides an issue number:

  1. Fetch issue details — auto-detect platform:

    • GitHub: gh issue view <NN> --json title,body,labels,assignees
    • GitLab: glab issue view <NN>
    • If neither works, ask the user for the issue URL
  2. Research the codebase — launch Explore agents to understand:

    • What code is involved
    • What patterns exist in the codebase
    • What reference repos or docs are relevant (check CLAUDE.md, memory)
  3. Enter plan mode to present the implementation plan

Phase 2: Plan + Worktree

The plan MUST include:

  • Worktree setup: directory path, branch name (read CLAUDE.md/memory for naming conventions)
  • Files to modify: list the key files with what changes each needs
  • Existing code to reuse: functions, patterns, utilities found during research
  • Test strategy: what commands to run (read from CLAUDE.md)
  • Verification: how to confirm the changes work
  • Workflow phases: structure the plan around this skill's 6 phases (Issue Research → Plan + Worktree → Implementation → Commit + PR/MR → Review Cycle → Merge + Cleanup), so the plan serves as both an implementation guide and a workflow tracker

After user approves the plan:

  1. Create worktree + branch
  2. Rebase onto latest default branch (origin/master or origin/main)
  3. Begin implementation

Phase 3: Implementation

Execute the plan following project-specific patterns from CLAUDE.md and memory.

  • Follow existing code patterns — read similar files first
  • Run project-specific build/test commands (from CLAUDE.md)
  • Run real examples or integration tests if applicable
  • This phase composes with other skills:
    • If TDD skill is active → write tests first, then implementation
    • If systematic-debugging skill is active → use it when hitting issues
    • If brainstorming skill is active → use it for design decisions

Phase 4: Commit + PR/MR

  1. Rebase onto latest default branch (git fetch origin && git rebase origin/master or origin/main). If conflicts arise, enter plan mode to analyze the conflicts and plan the resolution strategy before proceeding.
  2. Stage specific files — never git add -A or git add .
  3. Commit with descriptive message
  4. Push to remote with -u flag (use --force-with-lease if rebased)
  5. Create PR/MR:
    • GitHub: gh pr create --title "..." --body-file /tmp/pr_body.md
    • GitLab: glab mr create --title "..." --description "$(cat /tmp/pr_body.md)"
  6. PR/MR body format:
markdown
## Summary
- Bullet points describing what changed and why

Closes #NN

## Test plan
- [x] Test results summary
- [x] Verification steps completed

Phase 5: Review Cycle (THE CORE)

This is the heart of review-driven development. The PR/MR enters an iterative review loop.

Step 1: Choose review strategy

Ask the user which review strategy to use (only on first review round):

StrategyReviewersWhen to use
SingleCurrent agent (code-reviewer subagent)Quick iterations, small changes
DoubleAgent + codex exec "..."Important features, want second perspective
TripleAgent + codex exec "..." + claude -p "..."Critical changes, maximum coverage

Step 2: Execute reviews

For each reviewer, provide the full PR/MR diff and ask them to check:

  • Pattern compliance with the codebase (compare against similar existing files)
  • Error handling consistency
  • Test coverage
  • Type safety and correctness
  • Any issues categorized as:
    • B (Bug/Important) — must fix before merge
    • S (Suggestion) — nice to have
    • N (Note) — informational only

External reviewers:

bash
# Codex review
codex exec "Review PR #NN for <repo>. Run 'git diff master...HEAD' to see the diff. Check: 1) pattern compliance 2) error handling 3) test coverage 4) correctness. Write findings."

# Claude review
claude -p "Review the git diff for PR #NN. $(git diff master...HEAD). Check pattern compliance, error handling, test coverage. Write findings with B/S/N categorization and a verdict."

Step 3: Post combined review

Post the combined review findings to the PR/MR:

bash
# GitHub
gh api repos/{owner}/{repo}/pulls/{NN}/reviews -X POST -f body="$(cat /tmp/review.md)" -f event="COMMENT"

# GitLab
glab mr note {NN} -m "$(cat /tmp/review.md)"

The review comment MUST include:

  1. Pattern compliance checklist — table of checks with PASS/FAIL
  2. Issues — categorized as B (bug), S (suggestion), N (note)
  3. Verdict — APPROVE or REQUEST_CHANGES

Step 4: Fix issues

Ask the user which issue levels to address (B/S/N or any combination). Then:

  1. Enter plan mode — the plan should clearly state:
    • Current phase: Phase 5: Review Cycle
    • Current round: Round N (increment from previous round)
    • Issues to fix: list each issue the user chose to address, with its level (B/S/N)
    • Fix strategy: what changes to make for each issue
    • Re-review plan: after fixes, run the same review strategy again (back to Step 2)
  2. Implement fixes
  3. Re-run tests
  4. Commit + push (new commit, don't amend)
  5. Update PR/MR body to reflect current state (updated test counts, fixed issues, etc.)

Step 5: Re-review

Rebase onto latest default branch if needed (enter plan mode if conflicts arise), then run the same review strategy again on the updated code. Post the new review to the PR/MR.

Step 6: Repeat

Continue the fix → re-review loop until the verdict is APPROVE from all reviewers.

Phase 6: Merge + Cleanup

This phase REQUIRES explicit user confirmation. Do NOT auto-merge. Wait for the user to say "merge", "ok merge", "ship it", etc.

Once confirmed:

  1. Merge:
    • GitHub: gh pr merge <NN> --merge (or --squash/--rebase per CLAUDE.md)
    • GitLab: glab mr merge <NN>
  2. Cleanup:
    • Remove worktree: git worktree remove <path>
    • Delete local branch: git branch -d <branch>
  3. Confirm: show the merge commit on the default branch

Principles

  • CLAUDE.md first — always read project instructions before starting. Build commands, test commands, naming conventions, merge strategy — it's all there.
  • Memory — check auto-memory for user preferences and project context from prior sessions.
  • Platform agnostic — support both GitHub (gh) and GitLab (glab). Auto-detect from git remote.
  • Review is non-negotiable — every PR/MR gets at least one structured review round with findings posted to the PR/MR itself.
  • Composable — this skill handles the lifecycle; other skills handle methodology (TDD, debugging, brainstorming).
  • Only Phase 6 blocks on user — all other phases proceed autonomously. Phase 6 (merge+cleanup) waits for explicit user confirmation.

よくある質問

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

Use when developing features from GitHub/GitLab issues through to merged PRs/MRs with iterative review cycles. Covers: issue research, implementation planning, worktree isolation, coding, testing, PR/MR creation, multi-reviewer code review (current agent, codex exec, claude -p), fix-review loops until APPROVE, merge and cleanup. Composable with TDD, BDD, systematic-debugging, and other methodology skills. Use this whenever: user provides an issue number (#NN), asks to implement a feature from an issue, wants to create a reviewed PR/MR, or needs code reviewed iteratively before merging. Even...

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

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

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

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

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

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

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

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

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

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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