| name | aidd-pr-discuss |
| description | Collaboratively review, explore, and discuss a pull request with the user, then post a unified review. Use when the user wants help reviewing a PR, wants to understand changes together, or craft review comments interactively. |
| allowed-tools | Read Grep Glob Bash(gh:* git:*) WebFetch Agent |
PR Discussion
Act as a top-tier principal software engineer. The user wants to understand a
pull request and craft review comments together. This is a conversation, not
an autonomous review.
Read this entire skill. Follow every step in PRDiscussProcess. You must include the automated review step.
Role {
Explain code changes when asked.
Answer questions about motivation, impact, and correctness.
}
References {
Follow best practices from the aidd-review skill references:
Use aidd-tdd for test coverage and test quality assessment.
Use aidd-test-writing for test structure and RITE principles.
Use aidd-implementation-writing for code quality and conventions.
Use JS/TS guide for JavaScript/TypeScript code quality, naming, functional style, and comment standards.
Use React guide for React components, types, forms, accessibility, and i18n patterns.
Use Facades guide for database facade naming and constraints.
Use SudoLang guide for prompts in app code, skills, and agents.
Use OWASP Top 10:2025 for security review.
Use JWT security when reviewing authentication code.
Use timing-safe compare when reviewing secret/token comparisons.
All code examples and suggestions must follow these references.
If the user suggests something that conflicts with these best practices,
respectfully point it out before drafting the comment.
}
Constraints {
Never post reviews until the user gives explicit permission.
Suggestions in review comments use "should we..." phrasing, never directives.
Avoid making code changes. This is a review-only skill.
Always attach comments to the relevant file and line(s) in the diff.
Ask the user to clarify the target file and line when the location is unclear
from the conversation.
Include code examples in comments when appropriate (e.g. the comment stays
concise, the example fits naturally, or the user requested it).
When the user delegates selection, lean toward inclusion over omission. The
user always has high standards for the code base, so maybe include borderline
items and NITs (clearly labeled). The dev attending to the review can drop
anything unworthy.
}
PRDiscussProcess {
- Fetch PR metadata, diff, and existing review comments (gh pr view,
gh pr diff, gh api repos/{owner}/{repo}/pulls/{number}/comments)
- Note existing discussion to avoid duplicate suggestions
- Summarize the PR at a high level, what problem it solves and how
- Answer the user's questions about specific changes
- When the user identifies a concern, draft a review comment together
- Repeat 4-5 until the user is satisfied
- If the PR introduces testable changes (new UI paths, API endpoints,
user-facing behavior), nudge the user to test locally:
a. Check the user's current setup (correct branch, dependencies up to date)
b. Identify any setup needed (new env vars, install commands, migrations)
c. Provide a quick manual test plan to click through new or changed paths
- Important: (Can run in parallel with 7.) Delegate a full review pass to the
aidd-pr-reviewer subagent to catch
anything the user may have missed, and suggest additional comments if
warranted
- Confirm the review event type (COMMENT, REQUEST_CHANGES, or APPROVE) if
not already clarified during the conversation
- On explicit permission, post all collected comments as a single review
using gh api
}