Token导航 LogoToken导航TokenDH.com
开发权限需确认github未标认证来源可访问许可证需确认审计未展示

dev%3apr-fixdev%3apr 修复

Agent Skill

dev%3apr-fix 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

269

周安装

11

GitHub Stars

公开资料未说明

下载量

86
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/cloudvoyant/codevoyant --skill dev:pr-fix

简介

用于处理 GitHub 仓库、Issue 和 Pull Request 协作信息,适合跟踪代码变更。

  • 可结合来源仓库和原始 README 核验具体用法和协作流程。
  • 安装前建议确认权限范围和维护状态,避免触发不必要的网络请求。
  • 适用于需要围绕仓库状态进行整理的场景,如代码审核或协作管理。
  • dev%3apr-fix 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Compatibility: If AskUserQuestion is unavailable, present options as a numbered list and wait for the user's reply. If Task is unavailable, run parallel steps sequentially. The context: fork and agent: frontmatter fields are Claude Code-specific — on OpenCode and VS Code Copilot they are ignored and the skill runs inline using the current model.

Arguments

  • pr-id (optional positional): PR/MR number to fix. If omitted, processes all open PRs/MRs with pending review comments.
  • --github / --gitlab: Override auto-detected provider
  • --silent: Suppress desktop notification on completion

Step 0: Detect Provider and Parse Arguments

Check arguments for pr-id (optional) and --github/--gitlab override flags.

Auto-detect provider from git remote:

  • git remote get-url origin → contains "github" → PROVIDER=github
  • contains "gitlab" → PROVIDER=gitlab
  • Override with --github or --gitlab flags

Parse --silent flag: if present, set SILENT=true, else SILENT=false.

Store: PROVIDER, TARGET_PR (specific PR ID or empty for all), SILENT.

Step 1: List Open PRs/MRs with Pending Reviews

GitHub:

gh pr list --state open --json number,title,headRefName,baseRefName,author,url
# For each PR, check for review threads:
gh pr view {number} --json reviewThreads --jq '.reviewThreads[] | select(.isResolved==false)'

GitLab:

glab mr list --state opened --output json
# For each MR with threads:
glab mr note list {number} --output json  # or: glab api projects/:id/merge_requests/{iid}/discussions

If TARGET_PR is set, only fetch that PR/MR. Otherwise list all open ones with unresolved review threads.

Filter to only PRs/MRs that have unresolved review comments or change requests (requested changes review state). Skip if none found, report: "No open PRs with pending review comments found."

Step 2: Create PR Documents

Create .codevoyant/pr-fix/ directory if it doesn't exist.

For each PR/MR with unresolved threads, create .codevoyant/pr-fix/{pr-id}.md:

GitHub — fetch full review data:

gh pr view {number} --json number,title,headRefName,baseRefName,author,url,reviewThreads,reviews
gh pr diff {number}  # for code context

GitLab — fetch MR notes/discussions:

glab mr view {number} --output json
glab api "projects/:id/merge_requests/{iid}/discussions"

Document format — use the template in references/pr-document-template.md.

Report: ✓ Created.codevoyant/pr-fix/{pr-id}.md — {N} change request(s)

Step 3: Launch Parallel Fixer Agents

For each created document, launch a Task agent in parallel (run_in_background: true, model: claude-sonnet-4-6):

Agent:
  description: "pr-fix: propose fixes for PR #{id}"
  run_in_background: true
  prompt: |
    Read .codevoyant/pr-fix/{pr-id}.md to understand the change requests.
    For each change request:
    1. Read the referenced file and line numbers from the repository
    2. Understand what the reviewer is asking for
    3. Write a concrete proposed fix in the "## Proposed Fixes" section of the document

    Each fix should include:
    - The action to take (what to change and why)
    - The exact code change (diff or replacement snippet)
    - Any caveats or things to verify

    Do NOT apply fixes to the actual code — only write proposals into the document.
    Keep proposals terse and actionable.

Wait for all agents with TaskOutput(block=true).

After all agents complete, unless SILENT=true, use the Bash tool to send a desktop notification:

if [ "$SILENT" != "true" ]; then
  npx @codevoyant/agent-kit notify --title "Claude Code — PR Fix" --message "PR fix proposals ready — {N} PR(s), {N} change requests"
fi

Step 4: Report

✓ PR fix proposals ready

  PR #{id}: {title}
    .codevoyant/pr-fix/{pr-id}.md — {N} change requests, {N} proposals written

  PR #{id}: {title}
    .codevoyant/pr-fix/{pr-id}.md — {N} change requests, {N} proposals written

To apply fixes:
  "Read .codevoyant/pr-fix/{pr-id}.md and apply every fix in the Proposed Fixes section."

To update GitHub/GitLab with a response:
  /dev:ci  (or push a fix commit and it triggers review)

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

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

平台分布

Codex

36.02%
按下载量换算31

Claude

31.54%
按下载量换算27

Cursor

17.73%
按下载量换算15

Gemini CLI

9.59%
按下载量换算8

安全审计

暂无安全审计结果可展示。

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

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

来源信息

继续浏览同类 Skills