一键导入
fix-pr-comments
Read PR comments on the current branch and address each one through plan mode.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Read PR comments on the current branch and address each one through plan mode.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Validates animation durations, enforces typography scale, checks component accessibility, and prevents layout anti-patterns in Tailwind CSS projects. Use when building UI components, reviewing CSS utilities, styling React views, or enforcing design consistency.
Check GitHub Actions status, diagnose failures from logs, fix, push, and loop until CI passes.
Explore the project and list setup steps needed to run it locally — dependencies, config, services, and manual actions.
Commit, push, and create a PR with summary and test checklist.
Create .superset/config.json with setup and teardown scripts for Superset workspaces.
查看当前分支与主分支的差异,用简体中文给出一份面向非技术团队成员的高层次 PR 摘要。
| name | fix-pr-comments |
| description | Read PR comments on the current branch and address each one through plan mode. |
When invoked, read all review comments on the current branch's pull request and systematically address every concern.
git rev-parse --abbrev-ref HEAD to get the current branch name.gh pr view --json number,title,url to find the PR associated with this branch.gh pr view --json comments,reviews,reviewDecision to get top-level PR comments and review status.gh api graphql -f query='
query($owner: String!, $repo: String!, $pr: Int!) {
repository(owner: $owner, name: $repo) {
pullRequest(number: $pr) {
reviewThreads(first: 100) {
nodes {
id
isResolved
comments(first: 10) {
nodes {
id
databaseId
body
path
line
author { login }
createdAt
}
}
}
}
}
}
}' -f owner='{owner}' -f repo='{repo}' -F pr={number}
Filter to only threads where isResolved is false.You must enter plan mode before making any changes. Do not skip this step.
AskUserQuestion to ask the user for clarification before finalizing that part of the plan.git push.For each review thread that was addressed with a code change:
gh api graphql -f query='
mutation($threadId: ID!) {
resolveReviewThread(input: {threadId: $threadId}) {
thread { isResolved }
}
}' -f threadId='{thread_node_id}'
The thread_node_id is the id of the reviewThread node from the Step 2 GraphQL query. Make sure you capture thread-level node IDs (not comment IDs) during Step 2.gh api repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions -f content="+1"
$ARGUMENTS is provided, use it to filter or prioritize specific comments.