跳到主内容
智客 ZICQ

技能库 智客分类:Agent 工作流 review-fix-address-bots

Review Fix Address Bots

整合PR基础,运行持久性的只读审查器,固定和再审查结果,用再本地命令进行验证,地址审查bots,并比较模型质量.

905 安装量

官方网址:skills.sh

技能介绍

先看中文介绍;官方 description 原文单独保留,不改写 SKILL.md。

做什么

整合PR基础,运行持久性的只读审查器,固定和再审查结果,用再本地命令进行验证,地址审查bots,并比较模型质量.

何时用

官方 description 未单独写出 Use when。按规范,代理会在用户任务与这段 description 的关键词匹配时激活本技能。

代理如何加载

按 Agent Skills 渐进披露:启动时只加载 name 与 description(约 100 token);任务匹配后才读入整份 SKILL.md 正文;scripts/、references/、assets/ 仅在需要时再读。 本文件正文结构:Review, Fix, and Address Bots、Invariants、1. Prepare the integrated target、Reviewer sessions、Packet、Launch and verify。

文件分析

文件分析:除 SKILL.md 外,正文引用了 scripts/review-run-log.mjs、references/review-guidelines.md、references/run-logging.md,属于带资源的技能包,这些文件按需再读。

官方 description(原文)

Integrate the PR base, run persistent read-only reviewers, fix and re-review findings, validate with repo-native commands, address review bots, and compare model quality.

Review, Fix, and Address BotsInvariants1. Prepare the integrated targetReviewer sessionsPacketLaunch and verifyObserve, recover, and clear stalled workersPreserve session continuity2. Run independent initial reviews3. Verify findings and fix4. Resume reviewers on the fixes5. Validate, commit, and push

来源分类:skills.sh agent-skill

SKILL.md 与 Agent 调用

官方规范 ↗
name
review-fix-address-bots
description
Integrate the PR base, run persistent read-only reviewers, fix and re-review findings, validate with repo-native commands, address review bots, and compare model quality.
  1. 发现技能客户端向 Agent 提供名称与描述目录。
  2. 匹配与调用用户指定或任务匹配后,载入 SKILL.md 指令。
  3. 按需加载按步骤读取参考文档、使用脚本与素材。
指令中引用的文件 · 3
  • scripts/review-run-log.mjs
  • references/review-guidelines.md
  • references/run-logging.md

以下路径提取自原文;文件是否齐全请以来源仓库中的完整目录为准。

具体调用语法与可用工具以目标 Agent 客户端为准。 查看调用机制说明 ↗

安装这个技能

Skills CLI ↗

先选择目标 Agent 和安装范围,保留技能包的附属文件,安装后检查客户端能否发现该技能。

该技能引用了附属文件,请从来源获取完整目录;仅复制 SKILL.md 可能缺少依赖。

交给 Agent 安装

复制安装指令给支持 Agent Skills 的代理,确认其中的目标目录与客户端匹配。

把 Agent Skill「review-fix-address-bots」安装到我的项目:SKILL.md 原文与官方 description 见 https://zicq.com/zh/skills/skl-3624a214ed5ca67f-%E5%AE%A1%E6%9F%A5%E4%BF%AE%E6%AD%A3%E5%9C%B0%E5%9D%80-Bots.html
请存为 .cursor/skills/review-fix-address-bots/SKILL.md 或 .claude/skills/review-fix-address-bots/SKILL.md,frontmatter 的 name 与 description 保持原样,不要改写。
该技能还带 scripts/、references/、assets/ 等文件,请从 https://github.com/biw/skills 取完整目录,不要只建一个 SKILL.md。

GitHub 完整包 ↗

终端安装 · Skills CLI

需要 Node.js 与 npx。先查看仓库技能列表,确认实际名称。

npx skills add 'https://github.com/biw/skills' --list

npx skills add 'https://github.com/biw/skills' --skill 'review-fix-address-bots'

CLI 会交互选择目标 Agent,默认安装到项目;用户级安装使用 -g。先通过查看命令核对仓库内容,再用 npx skills list 检查已安装技能。

阅读排版
--- name: review-fix-address-bots description: Integrate the PR base, run persistent read-only reviewers, fix and re-review findings, validate with repo-native commands, address review bots, and compare model quality. --- # Review, Fix, and Address Bots Execute these phases in order. The primary agent alone owns judgment, edits, commands that mutate the workspace, validation, Git, PR changes, and bot replies. ## Invariants - Reviewers are advisory and strictly read-only. They may inspect files, diffs, history, tests, and existing output, but must not modify files or Git/PR state; run tests, builds, package scripts, generators, or arbitrary repository commands; or delegate implementation. - Include this boundary in every reviewer prompt: “Operate in read-only mode. You are advisory only. Never modify the workspace or Git/PR state, and never commit or push. Return findings and critique to the primary agent, who makes the final decision.” - Preserve unrelated user changes. Never use reset, automatic stashing, broad staging, history rewriting, or checkpoint commits to clear a dirty tree. - Logging is observational. If it fails, report the failure and continue the safe workflow; never change code, judgment, Git/PR state, or loop limits for telemetry. - Treat `scripts/review-run-log.mjs` as an opaque executable. Never read its source during this workflow. Invoke its documented commands and use `templates`, `--help`, and the Markdown references; inspect or change its source only when the user explicitly asks to debug or modify the helper. ## 1. Prepare the integrated target 1. Read repository instructions and applicable implementation skills. Record branch, status, target, remotes, upstream, PR state, and the initial dirty-state ownership boundary. Require a named non-target branch before pushing; never rename it or push the default branch without explicit authorization. 2. Use the user's review prompt. If a requested custom prompt is unavailable, stop for it. Only when none was requested, read [references/review-guidelines.md](references/review-guidelines.md). 3. Resolve this skill's directory and run `node /scripts/review-run-log.mjs templates` for canonical payloads, then `start` with the resolved cohort and limits before review work. Keep its `logPath` in `.context`; append material transitions and every reviewer invocation. Read [references/run-logging.md](references/run-logging.md) only if the helper rejects a record, logging needs extension, or telemetry behavior must be diagnosed. 4. Inspect committed, staged, unstaged, and relevant untracked changes together. Prefer Conductor's workspace diff; otherwise inspect the merge-base-to-HEAD diff, `git diff HEAD`, `git status --short`, and relevant untracked files. Exclude unrelated user work from the implementation. 5. Resolve the PR's actual base branch and repository remote; without a PR use repository configuration. Fetch that base explicitly, record its ref and SHA, and do not use `git pull`. If the fetched SHA is not an ancestor of `HEAD`, integrate it before formal review with an explicit merge by default. Rebase only when required or requested, and never rewrite published history without authorization. 6. Do not let pre-existing staged changes enter a merge commit. If dirty work makes integration unsafe, stop. Resolve conflicts from both branches' intent, surrounding code, and tests; request input for material product, UX, public API, or architecture choices. The integrated tree, conflict resolutions included, is the review target. If integration happens after review starts, invalidate every report and rerun the cohort. 7. Before the first push, resolve authority to create a PR if none exists and the bot phase requires one. Stop before the remote mutation when authority is absent. ## Reviewer sessions Use the reviewer count, model mix, and reasoning levels explicitly requested by the user. Otherwise use this default cohort for every initial and remediation pass: | Reviewer ID | Model | Reasoning | | ----------- | --------------- | --------- | | `sol-1` | `gpt-5.6-sol` | `high` | | `terra-1` | `gpt-5.6-terra` | `xhigh` | | `luna-1` | `gpt-5.6-luna` | `max` | | `luna-2` | `gpt-5.6-luna` | `xhigh` | | `luna-3` | `gpt-5.6-luna` | `xhigh` | For a count from one through five, use that order. For another explicit mix, assign stable IDs from model tier plus one-based ordinal. Ask for a mix when a count above five is otherwise underspecified. Normalize task names from `sol-1` to `sol_1` for deterministic discovery. Keep the raw review prompt, target fingerprint, role boundary, and service tier identical across the cohort; use each reviewer's assigned reasoning level. Queue over concurrency limits without editing the target. ### Packet Do not send this skill, any reference, helper commands, run-log details, or the primary conversation to a reviewer. Give every reviewer the same self-contained packet containing only the review task: raw user prompt (or default criteria), target SHA and workspace fingerprint, relevant scope/diff or paths, conflict summary if applicable, read-only boundary, and required finding format (file, minimal line range, severity, scenario, rationale). Exclude other reviewers' findings, the primary's conclusions, remediation decisions, and telemetry instructions. ### Launch and verify Launch every initial reviewer with `fork_turns: "none"`, its self-contained packet, and the requested model and reasoning level; do not fork the primary conversation. Require the runtime to expose the exact applied controls and a stable resumable handle. Verify applied settings from runtime evidence, not requested arguments alone. Launch concurrently where the runtime permits. Never use an ephemeral reviewer. A failed control verification blocks editing and finishes `blocked`; never treat requested arguments alone as verification. Record `reviewer_session_started` as soon as a handle is available and `reviewer_session_controls_verified` only after persisted verification. Record completed-task `durationMs` only when the runtime exposes it. ### Observe, recover, and clear stalled workers After each bounded wait (30 seconds by default), run the cohort watcher. It is a maximum polling interval, not a runtime floor: handle completions immediately. ```bash node scripts/review-run-log.mjs inspect-reviewers \ --log "$REVIEW_RUN_LOG" \ --stale-after-ms 120000 \ --soft-deadline-ms 600000 \ --hard-deadline-ms 1200000 \ --hard-deadline-ms-by-model '{"gpt-5.6-luna":1800000}' \ --record ``` The soft deadline is a warning. The default hard deadline is 20 minutes; Luna reviewers get 30 minutes. A hard deadline begins at the current `task_started` (or session start when absent). Before classifying a reviewer as failed, inspect its exact persisted session. `active`, `stalled`, and one `in_progress` result are not failures. The watcher does not interrupt workers. For a hard-exceeded reviewer, immediately inspect the exact session once more. If it remains non-terminal, call `agents.interrupt_agent` with the inspection's `nativeHandle`, never its persisted `sessionId`; confirm with `agents.list_agents` that it stopped; then append `reviewer_session_cancelled` with reviewer ID, persisted session ID, native handle, phase, reason, and applied deadline. Never use a broad kill, interrupt another reviewer, or probe an initial review with a follow-up. One fresh initial retry may use a distinct task name such as `sol_1_retry_1`, but retains reviewer ID `sol-1`. If that retry also exceeds its hard deadline, mark the reviewer exhausted and exclude it from continuity and remediation. Preserve every completed review and continue the workflow with those reviewers; the run is `partial`, but a timeout alone must not block editing or discard their findings. Block only when no initial reviewer completes or another safety or integrity condition prevents continuation. A hard-exceeded continuity session follows the full-cohort restart rule after clearing the exact handle. For a missing or unreadable result, inspect the exact session before retrying: ```bash node scripts/review-run-log.mjs inspect-native-session --log "$REVIEW_RUN_LOG" --reviewer-id "$REVIEWER_ID" --stale-after-ms 120000 ``` The recovered result must match exactly one reviewer handle, repository, applied controls, and completed final-answer event. Use its recovered answer but never log the review body. Retry only after inspection says `unavailable` and follow the hard-deadline cleanup above. Keep raw results outside the run log; record only concise observations and outcomes. ### Preserve session continuity Before fixes, create a gitignored `.context/reviewer-sessions.json` ledger with stable reviewer ID, requested/applied controls, reviewer handle, initial fingerprint, and continuity state. Never store credentials, prompts, or review bodies. Before editing, resume every session that completed an initial review with its original controls and read-only boundary; require only `SESSION_CONTINUITY_OK`. Record exhausted reviewers as excluded instead of resuming them. Record a completed-task duration when available. If any required handshake fails, discard every report and restart the full cohort once against the unchanged target; a second failure blocks editing. Remediation uses only continuity-verified handles. ## 2. Run independent initial reviews 1. Resolve the user-requested cohort or the default above and keep it fixed. Stop if the runtime cannot verify an exact requested/applied model, reasoning level, or persistent handle; never silently substitute. 2. Give each reviewer the same self-contained raw prompt, integrated target SHA and fingerprint, conflict summary, and role boundary. Do not expose another reviewer's findings or primary-agent conclusions. Require file, minimal line range, severity, scenario, and rationale for every finding. 3. Fingerprint `HEAD`, staged/unstaged diffs, status, and relevant untracked contents. Keep the target unchanged through all initial reports and continuity checks. Launch concurrently where possible and queue the rest unchanged. Apply the launch, watchdog, recovery, and hard-deadline cleanup rules above. 4. Log each launch, control verification, observation, cancellation, and completed or failed pass using the canonical fields above. Use stable reviewer and finding IDs. Record actual token usage and `durationMs` only when exposed. 5. After deadline handling, require at least one completed initial review. Apply the continuity protocol above to each completed reviewer before editing; an exhausted reviewer does not invalidate the others. 6. Verify the target fingerprint after the handshakes. On unexpected mutation, inspect ownership and rerun the full cohort once against a stable target. Repeated instability is a blocker. ## 3. Verify findings and fix 1. Deduplicate by defect while preserving reporting reviewers/models. Independently check every claim against current code, tests, and conventions. 2. Classify each finding as `valid`, `duplicate`, `already_fixed_or_stale`, `false_positive`, `out_of_scope_user_change`, or `needs_user_decision`; log its stable ID and disposition. 3. Fix every valid in-scope issue, add focused regression coverage when practical, run narrow checks, and self-review the entire resulting diff. Request input rather than inventing material product, UX, public API, or architecture decisions. ## 4. Resume reviewers on the fixes Resume every continuity-verified session with its original controls and read-only boundary. Never use an ephemeral or replacement session without user authorization. 1. Freeze and fingerprint the workspace. Give every reviewer the updated diff plus a cumulative ledger of all findings, classifications, evidence, changes or rejection reasons, tests, and prior pushback. 2. Ask whether root causes are fixed, regressions or related cases remain, a materially simpler bounded solution exists, tests cover the failure, or rejected findings merit reconsideration. Actionable pushback must identify a concrete failure mode, affected code, or demonstrably better bounded alternative. 3. Judge each response independently. Run at most three remediation rounds, stopping when all reviewers find the fixes adequate or remaining objections have evidence-backed dispositions. Increase scope after valid pushback: focused fix/call sites in round 1, related module boundaries/integration in round 2, and subsystem invariants/design alternatives/coverage gaps in round 3. 4. Log every pass, including no-finding passes and retries. After each pass, verify the fingerprint. If a reviewer mutated state, the primary agent safely restores only that effect, discards the report, and retries once read-only; a second mutation is a blocker. ## 5. Validate, commit, and push 1. Stage only owned files or hunks and inspect the staged diff. 2. Resolve final validation in this order: explicit user command; repository/CI instruction; otherwise the changed workspace's scripts using the package manager named by `packageManager` or its lockfile. Run `precommit` when present, else each available `lint` and `test`. For non-JavaScript projects use documented CI-equivalent checks; report unavailable coverage instead of inventing commands. 3. Commit with the repository workflow, then run final validation against the exact post-commit tree before every push. Incorporate intended tool-generated changes and rerun after any mutation. Diagnose branch-caused failures without modifying unrelated work; do not push a failing tree. 4. Confirm ownership boundaries. Immediately before pushing, record PR number, UTC review-window timestamp, and commit SHA in `.context`; refresh after a failed attempt. Push without renaming the branch and confirm the PR head equals the verified SHA. ## 6. Close the review-bot loop 1. Resolve and read the repository's `address-review-bots` skill; do not hard-code another workspace's path. Confirm the PR still targets the recorded branch and SHA and pass the push timestamp when supported. 2. Wait for every requested bot on that SHA. Missing review or timeout is unknown, not clean; an unexpected head change requires ownership reconciliation. 3. Classify every substantive observation, fix valid actionable and low-risk cleanup findings, self-review, commit, rerun final validation, and push. Repeat per `address-review-bots` until clean, a decision is needed, its loop limit is reached, or checks time out. ## Finish and report Always attempt `finish`, even for a blocked/failed run, using event-derived reviewers/findings plus actual bot, validation, status, and SHA outcomes. Use `partial` when one or more exhausted reviewers were excluded but the remaining completed reviewers carried the workflow; reserve `blocked` or `failed` for conditions that actually stopped it. Use `--collect-codex-usage`; collection is per reviewer, so completed sessions still contribute real tokens, cost, and duration when another worker is unavailable. Run `diagnose-codex-usage` when a reviewer lacks both tokens and an exact duration. Repair a recoverable session or ledger mismatch, but do not relaunch an exhausted reviewer solely to fill telemetry. Generate the usage section with `report` only when its telemetry gate passes. Otherwise omit the generated table and report the excluded reviewer plus completed-reviewer coverage without inventing values. Treat model comparisons as one-run observations. Report the applied cohort/controls, persistent sessions and continuity/retries, exhausted reviewers, log path and derived invocation/round/usage coverage, shared/unique findings and model comparison, base SHA/integration/conflicts, all finding dispositions, remediation rounds and disagreements, validation per push, commits/PR, bot-loop outcomes, and remaining blockers. `report` refuses an incomplete-telemetry cohort, so append its table verbatim only after it succeeds. Do not add pricing or telemetry caveats. Keep `Estimated cost` immediately after `Total` and `Agent time` last; put nothing after it. ## Resources - [references/review-guidelines.md](references/review-guidelines.md): default review criteria. - [references/run-logging.md](references/run-logging.md): logger troubleshooting, extension, and metric semantics. - `scripts/review-run-log.mjs`: canonical payloads, append-only log, metrics, and final report.

相关技能

Agent 工作流

Skill Creator

创造有效技能指南。 当用户想创造出新的技能(或更新现有的技能),以专业知识,工作流程,或工具集成来扩展克洛德的能力时,应该使用这种技能.

Agent 工作流

Clawdhub

使用ClawdHub CLI搜索,安装,更新并发布从taladhub.com的代理技能. 需要获取苍蝇上的新技能时使用,将安装的技能同步到最新版本或特定版本,或者发布 npm-instainddhub CLI 的新/更新的技能文件夹.

Agent 工作流

Agent Team Orchestration

管弦乐团多代理团队,任务设定周期,交接协议,审查工作流程. 使用时间: (1)建立2+特派员队伍,具有不同专业,(2)确定任务路线和生命周期(收录框_ spec_建设_审查_完成),(3)在特派员之间制定交接协议,(4)建立审查和质量关口,(5)管理特派员之间的交流和文物共享.

Agent 工作流

Superpowers

Spec-first,TDD,子代理驱动的软件开发工作流程. 当:(1)构建任何新功能或应用——触发脑暴_计划_子代理执行回路,(2)调试出一个bug或测试失败——触发系统性的根起过程,(3)用户说"让我们构建","帮助我计划","我想添加X",或"这个被打破",(4)完成一个功…