一键导入
resolve
Resolve PR review comments by fetching unresolved feedback and making necessary code changes
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Resolve PR review comments by fetching unresolved feedback and making necessary code changes
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | resolve |
| description | Resolve PR review comments by fetching unresolved feedback and making necessary code changes |
| disable-model-invocation | true |
| allowed-tools | Skill, Read, Edit, Write, Glob, Grep, Bash |
| argument-hint | [extra_context] |
Automatically fetch and address PR review comments. This command examines review feedback and makes necessary code changes to resolve the issues.
/resolve [extra_context]
extra_context (optional): Additional instructions or filtering context (e.g., focus on specific files or issue types)/resolve # Address all unresolved PR comments
/resolve Focus on type hint issues only # Filter specific comment types
/resolve Skip comments from automated bots # Apply custom filtering
/resolve Only resolve comments in mlflow/tracking/ # Focus on specific directories
Auto-detect PR context:
PR_NUMBER and GITHUB_REPOSITORY are set, read them and parse GITHUB_REPOSITORY as owner/repo and use PR_NUMBER directlygh pr view <PR_NUMBER> --repo <owner/repo> --json 'title,body' to retrieve the PR title and descriptiongh pr view --json 'title,body,url,number' to get PR info for the current branchFetch unresolved review comments:
fetch-unresolved-comments skill to get only unresolved review threadsApply additional filtering from user instructions if provided (e.g., focus on specific files or issue types)
For each unresolved review comment:
After making all changes, run pre-commit on changed files:
pre-commit run --files <changed files> to lint and auto-fix formatting until it passes