Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计异常

review-fix-loop审查修复循环

Agent Skill

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

总安装

404

周安装

17

GitHub Stars

3

下载量

141
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/jem-open/jem-agent-skills --skill review-fix-loop

简介

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

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

SKILL.md

review-fix-loop

Autonomous review-and-fix loop. Runs any code analysis tool, dispatches parallel subagents to fix all findings, verifies with the project's own lint and test commands, and loops until zero findings remain.

Examples

CodeRabbit review of all changes:

/review-fix-loop coderabbit review --plain -t all

DeepSource issues as JSON:

/review-fix-loop deepsource issues list --json --output-file deepsource-findings.json

Auto-detect tool from project config:

/review-fix-loop

Step 1 — Determine the analysis command

Everything the user types after /review-fix-loop is available as $ARGUMENTS.

If the user provided a command (from $ARGUMENTS), use it as-is.

If no command was provided, auto-detect by checking for config files in the project root:

Config fileToolCommandAuth check
.coderabbit.yamlCodeRabbitcoderabbit review --plain -t allcoderabbit auth status
.deepsource.tomlDeepSourcedeepsource issues list --json --output-file deepsource-findings.jsondeepsource auth status
.eslintrc* or eslint.config.*ESLinteslint. --format json
ruff.toml or [tool.ruff] in pyproject.tomlRuffruff check --output-format json

If multiple config files exist, list them and ask the user which tool to run.

If no config file is found, ask the user to provide the analysis command.


Step 2 — Prerequisite check

Extract the tool name (first word of the analysis command) and verify it is available:

command -v <tool-name> >/dev/null 2>&1

If not found, tell the user the tool is not installed and suggest installation. Halt — do not proceed until the tool is available.

If the tool has an auth check listed in the Step 1 table, run it. For user-provided commands not in the table, skip the auth check. If unauthenticated, tell the user how to authenticate. Halt until resolved.


Step 3 — Run analysis

Execute the analysis command and capture full stdout and stderr:

<analysis-command> 2>&1

If the command exits with a non-zero status and produces no parseable findings, report the error to the user and halt.

Store the complete output for parsing.


Step 4 — Parse findings

From the captured output, extract all findings. Each finding has:

  • File path (relative to project root)
  • Line number (if present in the output)
  • Issue description — title, category, severity, or equivalent
  • Fix instructions — the tool's suggested fix, remediation text, or "Prompt for AI Agent" block if present. If none, use the issue description.

Build a list: findings = [{file, line, description, fix_instructions},...]

Display a count:

Findings: <total> across <file_count> files

Step 5 — Zero findings check

If findings is empty:

  • Print: Zero findings. Codebase is clean.
  • Exit loop — skip to Step 10.

Step 6 — Group by file

Group findings by file path. All findings in the same file go to one subagent to avoid conflicting edits.


Step 7 — Fix with subagents (parallel)

For each file group, dispatch one subagent in parallel with this prompt:

Fix the following findings in `<file_path>`.

Current file content:
<content of the file>

Findings to fix:
<for each finding in the group>
- Line <line>: <description>
  Fix instructions: <fix_instructions>
</for each>

Requirements:
- Edit only what is needed to fix the listed findings.
- Do not refactor unrelated code.
- Preserve all existing tests.
- After editing, confirm what was changed.

Claude Code

Use the Agent tool with subagent_type: "general-purpose" for each file group. Launch all agents in a single message to run them in parallel. Wait for all to complete before proceeding.

Gemini CLI

Use the generalist_agent tool for each file group. Dispatch all calls to run in parallel. Wait for all to complete before proceeding.

Other agents

If parallel subagent dispatch is not available, fix each file group sequentially — read the file, apply the fixes directly, then move to the next file group.


Step 8 — Verify

Discover and run the project's lint and test commands.

Discovery order

Check these sources in order. Use the first lint command and first test command found:

1. Project files:

FileLint commandTest command
package.jsonscripts.lint (run via npm run lint)scripts.test (run via npm test)
pyproject.tomlLook for [tool.ruff]ruff check.Look for [tool.pytest]pytest --tb=short -q
Makefilemake lint (if target exists)make test (if target exists)
Justfilejust lint (if recipe exists)just test (if recipe exists)

2. CLAUDE.md or project docs:

Look for a "Commands" section listing lint/test commands.

3. Ask the user:

If no lint or test commands can be detected, ask: "What commands do you use to lint and test this project?"

Run verification

Run the lint command first, then the test command:

<lint-command>
<test-command>

If either fails:

  • Read the error output.
  • Fix the regressions directly (do not spawn subagents for verification fixes).
  • Re-run the failing command until it passes before continuing.

Step 9 — Loop

Go back to Step 3.

Maximum iterations: if the loop has completed 5 iterations, exit regardless of findings and proceed to Step 10.

Stuck detection: track the set of findings each iteration by (file + description). If the same findings appear unchanged for 2 consecutive loops:

  • Print: Stuck after <n> iterations. The following findings require manual review:
  • List each stuck finding with file, line, and description.
  • Exit loop.

Step 10 — Report

After the loop exits (clean or stuck), print a summary:

+----------------------------------+
|  Review Fix Loop — Summary       |
+----------------+-----------------+
| Iterations     | <n>             |
| Fixed          | <count>         |
| Remaining      | <count>         |
+----------------+-----------------+

If remaining > 0, list each stuck finding below the table with its file path, line number, and description.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.98%
按下载量换算49

Claude

32.66%
按下载量换算46

Cursor

17.7%
按下载量换算25

Gemini CLI

9.48%
按下载量换算13

安全审计

Gen Agent Trust Hub

未通过

Socket

可疑

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/jem-open/jem-agent-skills --skill review-fix-loop 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills