AgentSkillsCN

review-pr

根据个人准则审阅拉取请求

SKILL.md
--- frontmatter
name: review-pr
description: Review pull requests using personal guidelines
disable-model-invocation: true
argument-hint: [pr-number]
allowed-tools: Read, Grep, Bash(gh *)

Pull Request Review

Review PR #$0 following the guidelines in @/workspace/configs/ai/code-review-guidelines.md and @/workspace/configs/ai/AGENTS.md

Read those files first, then:

  1. Fetch PR info with gh pr view $0 and gh pr diff $0
  2. Check for existing comments in the PR with gh pr comments $0
  3. Review according to the guidelines.
  4. Provide structured feedback with specific line references.
  5. Only add comments to files on specific lines or the file itself or respond to existing comments if they are relevant to the review. Always make it clear that you are AI by prefixing comments with how you identify yourself as AI. Never comment directly on the pull request and only comment in files.