Agent skill
pr-comment
Post a comment on a pull request. Use when the user wants to add a comment to a PR, respond to feedback, request review, or document decisions.
Install this agent skill to your Project
npx add-skill https://github.com/rlcurrall/aide/tree/main/skills/pr-comment
SKILL.md
Post PR Comment
Post a comment on a pull request thread.
When to Use
- User wants to add a general comment to a PR
- User wants to comment on a specific file or line
- User wants to request re-review after changes
- User wants to document a decision or explanation
How to Execute
Run:
aide pr comment "comment text" [--pr <id>] [options]
Flags
| Flag | Description |
|---|---|
--pr |
PR ID or URL (auto-detected from branch if omitted) |
--file |
File path to attach comment to |
--line |
Line number in file (requires --file) |
--end-line |
End line for multi-line comment range |
Output Includes
- Thread ID
- Comment content
- File and line location (if specified)
- Timestamp
Common Patterns
# General PR comment (auto-detect PR from branch)
aide pr comment "Ready for re-review after addressing all feedback"
# Comment on specific PR
aide pr comment "LGTM!" --pr 24094
# Comment on specific file
aide pr comment "Consider refactoring this section" --pr 24094 --file src/auth.ts
# Comment on specific line
aide pr comment "Added null check as suggested" --pr 24094 --file src/utils/helpers.ts --line 127
Use Cases
| Purpose | Example |
|---|---|
| Request review | "Ready for re-review after addressing all feedback" |
| Acknowledge feedback | "Good point, I've updated the implementation" |
| Ask questions | "Should this use async/await or promises?" |
| Document decisions | "Using OAuth 2.0 with PKCE for enhanced security" |
| Mark completion | "All comments addressed, tests passing" |
Best Practices
- Be specific when commenting on code locations
- Use line comments for inline feedback
- Use general comments for overall PR updates
- Keep comments constructive and actionable
Next Steps
After posting a comment:
- Use pr-comments skill to verify your comment was posted
- Use pr-reply skill to respond to specific threads
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
release
Create a new software release by bumping version numbers, committing changes, creating git tags, and pushing to remote. Use when creating a release, bumping versions, or publishing a new version.
ticket-attach
Manage Jira ticket attachments. Use when the user wants to list, upload, download, or delete attachments on a ticket.
pr-comments
Load PR comments and feedback for code review. Use when the user wants to see reviewer feedback, check for unresolved comments, understand what changes are requested, or review discussion on a PR.
pr-list
List pull requests from the repository. Use when the user wants to see open PRs, find PRs to review, check their own PRs, or browse PR history.
ticket-update
Update fields on an existing Jira ticket. Use when the user wants to modify a ticket's summary, description, assignee, priority, labels, or custom fields.
pr-create
Create a new pull request. Use when the user wants to open a PR, submit code for review, create a draft PR, or push changes for merge.
Didn't find tool you were looking for?