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

review-cloud评论云

Agent Skill

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

总安装

235

周安装

10

GitHub Stars

10

下载量

82
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/inkeep/team-skills --skill review-cloud

简介

review-cloud 用于信息查找、检索与筛选,支持云相关技术内容探索。

  • 适用于 Codex、Claude、Cursor、Gemini CLI 中的研究检索任务。
  • 通过 npx 命令从 GitHub 仓库安装该技能。
  • 安装前需核实仓库权限、维护状态及是否触发网络访问。
  • 建议结合原始文档了解其在云服务管理中的具体应用场景。

SKILL.md

Review Cloud

Manage the full review iteration lifecycle for a PR: poll for feedback, assess each suggestion with evidence, implement fixes, resolve threads, and drive CI/CD to green.

You are a peer engineer evaluating suggestions — not a subordinate implementing directives. Reviewer comments are hypotheses about your code. Your job is to determine which are correct, with evidence, and act accordingly.


Inputs

InputRequiredDefaultDescription
PR numberNoInferred from current branch via gh pr viewThe pull request to manage. If not provided, detected from the current branch. Fails with a clear error if no PR exists for the branch.
RepoNoInferred from gh repo view / git remoteowner/repo format.
Test command(s)Nopnpm test --run && pnpm typecheck && pnpm lintCommand(s) to run after implementing changes. Override if your project uses different tooling.
SPEC.md pathNoNoneIf provided, enables spec-aware review assessment (cross-referencing suggestions against design intent).

Create workflow tasks (first action)

Before starting any work, create a task for each stage using TaskCreate with addBlockedBy to enforce ordering. Derive descriptions and completion criteria from each stage's own workflow text.

  1. Review: Assess starting state — detect PR, fetch feedback, check local changes
  2. Review: Stage 1 — review feedback loop
  3. Review: Stage 2 — CI/CD resolution
  4. Review: Final verification

Mark each task in_progress when starting and completed when its stage's exit criteria are met. On re-entry, check TaskList first and resume from the first non-completed task.


Workflow

This skill has two stages. Complete Stage 1 before moving to Stage 2.

Stage 1: Review feedback loop

Reviewer feedback is the primary signal. CI/CD is secondary and opportunistic during this stage.

1. Resolve PR and assess starting state

Verify gh CLI is available and authenticated:

gh auth status

If this fails, stop and tell the user — this skill requires the GitHub CLI.

If a PR number was not provided, detect it from the current branch:

# Infer PR number from current branch
gh pr view --json number -q '.number'

If no PR exists for the current branch, stop and tell the user — this skill requires an existing PR to iterate on.

Then determine what's already in flight before taking action:

Script path resolution: All scripts/ paths below are relative to this skill's base directory (shown in the skill header when loaded), not your current working directory. Resolve the full path before invoking. For example, if the skill base is ~/.claude/plugins/cache/.../skills/review-cloud, then scripts/fetch-pr-feedback.sh means ~/.claude/plugins/cache/.../skills/review-cloud/scripts/fetch-pr-feedback.sh. If the scripts are not found, fall back to the equivalent gh api commands in references/review-protocol.md.

# Check for unpushed local changes
git status
git log origin/HEAD..HEAD --oneline

# Check for existing review feedback (use full path to skill's scripts/ dir)
<skill-base>/scripts/fetch-pr-feedback.sh <pr-number>
Starting stateAction
Local changes not yet pushedPush, update PR description if needed, then proceed to step 2.
Already pushed, review feedback waitingSkip push. Proceed directly to step 3 (assess feedback).
Already pushed, no feedback yetProceed to step 2 (poll).
Merge conflict detected (CONFLICTING in merge status)Rebase on the target branch (git fetch origin main && git rebase origin/main), resolve conflicts, verify tests pass, then push. Proceed after the PR is mergeable.

When pushing: update the PR body if the implementation has changed materially. Load /pr skill to rewrite the PR body — it is a stateless snapshot of the PR's scope relative to origin/main, not a history of its evolution. Not every small fix requires a PR body edit.

Load: references/review-protocol.md (section: "PR body")

2. Poll for review feedback

Wait approximately 6 minutes, then check for reviewer feedback. Opportunistically check CI/CD at the same time.

Always use the skill's scripts for polling — do not call gh pr checks or gh api directly. The scripts handle exit codes, parse output, and categorize results (passed/failed/pending). Raw gh pr checks returns exit code 8 for pending checks, which looks like an error but is normal — the scripts absorb this.

# Primary: fetch all review feedback (reviews, inline comments, discussion)
<skill-base>/scripts/fetch-pr-feedback.sh <pr-number> --reviews-only

# Secondary (opportunistic): check CI/CD status
<skill-base>/scripts/fetch-pr-feedback.sh <pr-number> --checks-only

# Or fetch everything at once:
<skill-base>/scripts/fetch-pr-feedback.sh <pr-number>

Fall back to raw gh pr checks only if the scripts are unavailable (file not found).

Decision logic:

What's availableAction
Review feedback ready, CI/CD not doneProceed to assess review feedback immediately. Do NOT wait for CI/CD.
Review feedback ready, CI/CD also readyAssess both. Handle review feedback first, then CI/CD failures.
No review feedback, CI/CD has failuresAssess and fix CI/CD failures while waiting for review.
Neither readyWait another 3 minutes and check again. After 3 checks with no results, proceed with other work and check back later.

3. Assess reviewer feedback

Load: references/review-protocol.md (section: "Assessment protocol"). The protocol will instruct you to use the Skill tool to invoke /assess-findings — do not assess any reviewer feedback until that skill is loaded.

The full assessment protocol is in the reference file. The short version:

  1. Investigate before deciding — proportional to stakes (deep for bugs, light for style). Name your confidence level before proceeding.
  2. Evaluate across dimensions: validity, correctness, applicability, relevancy, tradeoffs, side effects, appropriateness.
  3. Decide — accept, decline, or partially accept — with evidence-backed reasoning.
  4. Reply with specific evidence. Resolve inline review threads after replying — use the thread_id from fetch-pr-feedback.sh output with the resolveReviewThread GraphQL mutation (see references/review-protocol.md).
  5. Close the loop using the right GitHub mechanism for each feedback type (inline threads → reply then resolve via GraphQL; review bodies → top-level comment; discussion → reply).

Do not default to acceptance. The path of least resistance (just apply every suggestion) produces worse code than thoughtful evaluation. Equally, do not default to rejection — that wastes valid insights. Never resolve a thread by deferring to "future iterations" — you have no authority to commit to future work. Every suggestion gets a substantive conclusion: accept and implement, or decline with evidence.

4. Implement changes and test

For small changes (< 20 lines, single file, clear fix):

  • Make the change directly.

For medium changes (20-100 lines, 2-3 files):

  • Make the change directly, but run full tests before pushing.

For large/complex changes (> 100 lines, architectural, or touching many files):

  • Spin up a subagent with clear, specific instructions and full context (see references/review-protocol.md "Subagent delegation template").
  • Review the subagent's output before committing. You are still the owner.

Before pushing, evaluate your own changes:

  • Correctness: does the change actually fix the issue or implement the suggestion correctly?
  • Clarity: could another engineer understand this without explanation?
  • Codebase alignment: does it follow existing patterns and conventions?
  • Proportionality: does the fix match the scope of the problem, or did you over-build or under-build?

If you are not confident your fix fully and correctly addresses the reviewer's concern, say so in your reply rather than asserting completeness. "I've addressed this by doing X — please verify this matches your intent" is more useful than implying the matter is settled.

At minimum, run tests after any changes:

# Default — override via --test-cmd if your project uses different tooling
pnpm test --run
pnpm typecheck
pnpm lint

If changes affect user-facing behavior, also verify the experience manually (API calls, browser testing, etc.) as appropriate. When fixing a reviewer-flagged UI issue, use agent-browser for visual verification screenshots (agent-browser open <url>, agent-browser screenshot). For console error capture, load /browser skill (Playwright scripts) and use startConsoleCapture / getConsoleErrors. Capture a screenshot as evidence — this strengthens your reply when resolving the thread.

If your changes affect documented behavior — whether product-facing (user docs, API reference, guides) or internal (architecture docs, READMEs, runbooks) — update the relevant documentation files (.md, .mdx, etc.) alongside the code fix. Docs should stay accurate through the review loop, not deferred to later.

5. Push and repeat

Push changes, then return to step 2. Continue the loop.

6. When feedback exceeds fix-and-push scope

Not all review feedback is a small fix. If a reviewer surfaces something that requires substantial new work, classify and act:

Feedback scopeAction
Bug fix or correctness issue in existing codeFix directly in the review loop.
New functionality not in scope (scope expansion)Pause. Consult the user — this is a product/scope decision.
Architectural rework of existing implementationEvaluate proportionality: does the evidence warrant the complexity? If yes, implement directly or via subagent. If not, decline with reasoning.
Substantial additive work with clear acceptance criteriaIf a workflow orchestrator (e.g., /ship) is driving this review, hand back to the orchestrator for a proper implementation pass. Otherwise, consult the user on how to proceed.

Do not force substantial rework into the review loop's fix-and-push cycle. Larger changes need their own implementation and testing before they merge into the review flow.

7. Exit Stage 1

Do not exit until all review feedback is resolved. After resolving threads, re-poll to confirm no new feedback appeared:

<skill-base>/scripts/fetch-pr-feedback.sh <pr-number> --reviews-only

Exit only when ALL of these are true:

  • Every reviewer feedback thread is resolved (accepted with code changes, or declined with evidence-based reasoning)
  • You have pushed your latest changes
  • You have re-polled after your last push and confirmed no new review comments appeared
  • No threads were resolved by deferring to "future iterations" — every thread has a substantive conclusion

If new feedback appears after a push, return to step 3 and assess it. Continue looping until the above conditions are met.

If the same feedback keeps recurring after 3 iterations, pause and consult the user.

Once Stage 1 is complete, proceed to Stage 2.


Stage 2: CI/CD resolution

After the review loop is finalized, shift focus to monitoring and resolving CI/CD pipeline results.

1. Monitor pipeline

<skill-base>/scripts/fetch-pr-feedback.sh <pr-number> --checks-only

2. Process failures as they appear

Do NOT wait for the entire pipeline to finish. As soon as any check in a given run reports a failure or cancellation, investigate immediately:

# Always use --compare-main — classification without main branch evidence is guesswork
<skill-base>/scripts/investigate-ci-failures.sh <pr-number> --compare-main

Cancelled runs are not "passed." A run cancelled due to runner shutdown, timeout, or resource exhaustion is an unknown — you don't know if the code is clean. Re-trigger it and wait for the result.

Classification requires evidence. You must reach high confidence that a failure is NOT caused by this PR before classifying it as pre-existing or infrastructure. "It looks like infra" is not sufficient — verify with evidence (main branch comparison, retry results, log analysis).

For each failing or cancelled check, investigate then classify:

ClassificationEvidence requiredAction
Caused by this PR's changesFailure is in code paths touched by this PR; main branch passes the same checkFix it.
Pre-existing failure (fails on main too)--compare-main shows the same workflow failing on main with the same errorNote in PR comment with evidence (main run ID, matching error). Do not fix unless trivial.
Flaky test (passes on retry)Same check passes on re-run without code changesRe-trigger: gh run rerun <run-id> --repo <owner/repo>. Wait for the rerun. If it passes, note in PR comment. If it fails again, investigate deeper — two consecutive failures are not "flaky."
Infrastructure issue (timeout, runner shutdown, OIDC, resource)Logs show infrastructure-level error (not test/build failure); main branch shows similar issues OR the error is clearly unrelated to codeRe-trigger: gh run rerun <run-id> --repo <owner/repo>. Wait for the rerun. Note in PR comment with evidence.
Cancelled (any reason)Run was cancelled before completingRe-trigger: gh run rerun <run-id> --repo <owner/repo>. Wait for the result. Do not classify a cancelled run as "passed" or "not PR-related."

Re-trigger, don't just note. For flaky, infrastructure, and cancelled failures, always re-trigger the run and wait for the result. Noting a failure without retrying leaves an unknown — the pipeline is not green and you have no evidence it would be.

3. Fix, test, push, and monitor next run

After fixing failures:

  1. Run tests locally to verify the fix.
  2. Push.
  3. Monitor the next CI/CD run.
  4. Repeat until the pipeline is green or all remaining failures are documented as pre-existing/unrelated with evidence.

4. Exit Stage 2

Stop when ALL of these are true:

  • CI/CD pipeline is green (or failures are documented as pre-existing/unrelated with evidence — main branch comparison, matching error, retry results)
  • No cancelled or pending runs — every check has a definitive pass or documented-with-evidence failure
  • PR is mergeable — no merge conflicts. If conflicts appeared during the review loop (base branch diverged), rebase and push before exiting.
  • You are satisfied with the implementation quality
  • No pending items in your task list

If CI keeps failing on the same issue after 3 attempts, pause and consult the user.


Second-pass review (optional)

After Stage 1 + Stage 2 complete, assess whether the PR warrants a second full review. Trigger a second pass when any of these apply:

  • The PR touches auth, permissions, data mutations, or security-sensitive code
  • The implementation involved significant architectural decisions or trade-offs
  • Multiple files were changed across different subsystems
  • The first review round surfaced substantive issues (not just nits)

To trigger the second pass, leave a PR comment requesting a full review, then loop back to Stage 1 Step 2 (poll for feedback). The same assessment and resolution process applies.

For straightforward PRs (single-file config changes, simple bug fixes, cosmetic updates), skip the second pass.


Completion

When both stages are complete (and second-pass review if triggered), report to the user (or the invoking skill):

  • All reviewer feedback threads resolved (with summary of accepted/declined)
  • CI/CD pipeline status
  • Declined findings with future relevance — items from the /assess-findings Declined Findings Summary (Phase 7) where Future-relevant: Yes. List each finding, its classification, and evidence. These are consumed by /ship (which persists them to state.json's deferredScope[]) and appear in the PR's "Future considerations" section via the Ship Summary.

Re-invocation guidance for callers: If new commits are pushed to the PR after this skill reports completion — from any source (caller fixes, user-requested changes, subsequent workflow phases) — the review cycle should be re-invoked. The review loop is complete only when the most recent push has been through a review cycle with all threads resolved.


Anti-patterns

  • Blindly accepting all reviewer suggestions without evaluating them
  • Blindly rejecting reviewer suggestions without investigating them
  • Shallow investigation — accepting or rejecting a suggestion without reading the relevant code
  • Pushing code without running tests locally first
  • Force-pushing or destructive git operations without user confirmation
  • Leaving review threads unresolved after making a final decision
  • Flattening nuance — forcing binary accept/decline when the honest assessment is "legitimate tradeoff"
  • Asserting without evidence — writing confident-sounding replies that don't reflect actual investigation depth
  • Deferring to "future iterations" — resolving threads with "we'll do in a future iteration" or similar. You have no authority to commit to future work. Either accept and implement, or decline with evidence.
  • Exiting with unresolved threads — leaving the review loop while review feedback threads or pending items remain unaddressed
  • Forcing substantial rework through the fix-and-push cycle instead of escalating

Appendix: Reference and script index

PathUse whenImpact if skipped
references/review-protocol.mdAssessing reviewer feedback (Stage 1, step 3); PR body guidance; subagent delegationMechanical/uncritical response to reviews; missed nuance in feedback assessment
/pr skillWriting or updating the PR body (Stage 1, step 1; after any material push)Inconsistent PR body structure; missing sections; stale description
scripts/fetch-pr-feedback.shFetching review feedback and CI/CD statusAgent uses wrong/deprecated gh commands, misses inline review comments
scripts/investigate-ci-failures.shInvestigating CI/CD failures with logs (Stage 2)Agent struggles to find run IDs, fetch logs, or compare with main

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.87%
按下载量换算29

Claude

28.64%
按下载量换算23

Cursor

18.37%
按下载量换算15

Gemini CLI

8.1%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills