From dev-workflow
Post a review comment to a pull request. Use whenever the user asks to "post a comment", "add review comment", "comment on PR", "leave feedback on PR", "post inline comment", "add PR note", "review comment", or wants to post any kind of feedback to a pull request. Handles both general PR comments and inline file-specific comments. Works with Azure DevOps (via MCP or CLI). If no PR link is given, auto-detects from the current branch.
How this skill is triggered — by the user, by Claude, or both
Slash command
/dev-workflow:pr-commentThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Post review comments to pull requests — general or inline on specific lines.
Post review comments to pull requests — general or inline on specific lines.
| Argument | Required | Description |
|---|---|---|
| PR link or ID | No | URL or numeric ID of the PR. Auto-detected if omitted. |
| Comment text | Yes | The review message to post |
| File path | No | Path to file for inline comment |
| Start line | No | First line of the comment range |
| End line | No | Last line of the comment range |
If a PR link/URL is provided, parse it to extract:
If no PR link is provided:
git remote get-url origin to identify the platform and repogit branch --show-current to get the current branch namereferences/azure.md for platform-specific lookup)Use readable review formatting by default:
references/github.MD.Take the user's message after applying the formatting rules above and append the signature:
{user's comment text}
---
_Co-Authored by AI Reviewer_
General comment (no file path provided):
Inline comment (file path provided):
Report back: "Posted comment on PR #{id}" with a link to the PR.
Parse the origin URL or PR link to determine the platform:
| Pattern | Platform |
|---|---|
dev.azure.com or visualstudio.com | Azure DevOps |
github.com | GitHub |
gitlab.com | GitLab |
Use the matching platform's tools/CLI. See references/azure.md for Azure DevOps specifics.
If the platform cannot be determined, ask the user.
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub alex-kopylov/zweihander --plugin dev-workflow