# Accept Pr

> Approve (accept) an Azure DevOps pull request by casting an "Approve" vote on behalf of the authenticated user. Use after a successful code review when all findings are resolved and the PR is ready to merge.

- Skill: `sasky80/accept-pr` (Agent Skill)
- Install (CLI): `npx skillmds@latest add sasky80/accept-pr`
- Raw SKILL.md: https://api.skillmd.com/api/skills/sasky80/accept-pr/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: sasky80 (https://skillmd.com/u/sasky80)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/sasky80/accept-pr

---


# Accept PR

## Platform Note

- Clean-install path: use the Go command from `.github/tools/skills-go`.

## Arguments

| # | Name | Required | Description |
|---|------|----------|-------------|
| 1 | organization | Yes | Azure DevOps organization |
| 2 | project | Yes | Project name or ID |
| 3 | repositoryId | Yes | Repository name or ID |
| 4 | pullRequestId | Yes | Pull request ID |

## Examples

```bash
# Approve PR 42
go run ./.github/tools/skills-go/cmd/skills-go accept-pr myorg MyProject MyRepo 42
```

## Output

Returns JSON with the reviewer vote object including `id`, `vote`, and `displayName`.
A `vote` value of `10` means **Approved**.

