Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计提醒

review-driven-development审查驱动开发

Agent Skill

review-driven-development 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

250

周安装

10

GitHub Stars

28

下载量

81
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:review-driven-development(审查驱动开发)
来源仓库:https://github.com/yvictor/skills
仓库路径:skills/review-driven-development
安装命令:
npx skills add https://github.com/yvictor/skills --skill review-driven-development
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/yvictor/skills --skill review-driven-development

简介

review-driven-development 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词或任务场景快速定位候选结果。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装使用。
  • 安装前需确认权限范围、维护状态,注意是否触发联网或文件操作。
  • 建议结合原始 README 核验具体用法和功能边界。

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

  1. 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)

  1. 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)"

  1. PR/MR body format:
## 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:

# 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:

# 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. VerdictAPPROVE 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)

  1. Implement fixes
  2. Re-run tests
  3. Commit + push (new commit, don't amend)
  4. 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>

  1. Cleanup:

- Remove worktree: git worktree remove <path> - Delete local branch: git branch -d <branch>

  1. 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.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.2%
按下载量换算29

Claude

32.25%
按下载量换算26

Cursor

16.91%
按下载量换算14

Gemini CLI

8.4%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills