ado-open-pr

ado-open-pr is a skill for Claude Code from jamesyang124/agent-skills. It costs 124 tokens per session (4,869 once invoked), scanned A, original, MIT.

A tool that creates an Azure DevOps pull request for the current Git branch. It pushes the branch, writes the description using the pull request notes format, chooses a target branch, and adds reviewers.

In plain words
What is it for?
Use it to publish the current branch as an Azure DevOps pull request, target a branch such as develop, attach a Jira ticket, and request review from selected people or teams.
Why use it?
It brings the steps for opening a reviewed change into one workflow instead of requiring separate branch pushing, description writing, and reviewer setup. It can also use team information or explicit email addresses to resolve reviewers.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions subagents; mentions Claude Code.

Good fit Use it to publish the current branch as an Azure DevOps pull request, target a branch such as develop, attach a Jira ticket, and request review from selected people or teams.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jamesyang124/agent-skills/ado-open-pr
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add jamesyang124/agent-skills --skill ado-open-pr
Clone the repo
git clone --depth 1 https://github.com/jamesyang124/agent-skills

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ado-open-pr

README.md
[![agentmods](https://agentmods.dev/badge/skills/jamesyang124/agent-skills/ado-open-pr/github.svg)](https://agentmods.dev/skills/jamesyang124/agent-skills/ado-open-pr)
Your own site
<a href="https://agentmods.dev/skills/jamesyang124/agent-skills/ado-open-pr"><img src="https://agentmods.dev/badge/skills/jamesyang124/agent-skills/ado-open-pr/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ado-open-pr

Your own site · 80×15
<a href="https://agentmods.dev/skills/jamesyang124/agent-skills/ado-open-pr"><img src="https://agentmods.dev/badge/skills/jamesyang124/agent-skills/ado-open-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 124 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,869 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00124 $0.04869
Opus 5 $0.00062 $0.02434
Sonnet 5 $0.00025 $0.00974
Haiku 4.5 $0.00012 $0.00487

Measured 9d ago against content hash fb80d9474ff6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

ado-open-pr scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agent-settings/skills/tools/ado-open-pr/SKILL.md · 217 lines

How it starts

The opening of the file, as written. The whole thing — 217 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Create Azure DevOps Pull Request

⚙️ Dependencies

  1. Azure DevOps MCP — provides the repo_* and core_* tools. Install once with the install-azure-devops-mcp skill (writes .mcp.json + ~/.env.mcp-azure-devops), then restart your agent. Repository: https://github.com/microsoft/azure-devops-mcp
  2. generate-pr-notes skill — its note-generation contract is reused for the PR description (see Step 4). Install it globally (~/.claude/skills/generate-pr-notes/) or import it with .agent-settings/skills/import-skills.sh <agent> generate-pr-notes.
  3. Optional: Azure CLI (az, logged in) — used only to identify the current user so they are not added as their own reviewer. Falls back to git config user.email when az is unavailable.

This skill lives at .agent-settings/skills/tools/ado-open-pr/ and is auto-discovered by import-skills.sh — no manual copy or registry edit is needed.


Arguments

All optional, any order. Disambiguate each bare (unflagged) token as follows:

Token shape Interpreted as
matches [A-Z]+-\d+ Jira ticket
contains @ reviewer email / unique name
matches a team key under teams in the reviewer config reviewer team
literally draft open the PR as a draft
anything else target branch

Flags: --title <text> (explicit PR title), --ado-project <name>, --ado-repo <name>, --no-sync-spec (skip the Step 1.5 spec-alignment scan, which otherwise runs by default). Default target branch is develop.


Step 1 — Preflight

  1. Confirm this is a git repo. Read the current branch: git branch --show-current.
  2. Abort if the branch is empty, main, or develop — a PR must come from a feature branch. Tell the user which branch they are on.
  3. Check the working tree: git status --porcelain=v1 -b. If there are uncommitted changes, warn: "The PR will only include committed work — uncommitted changes are not part of it." Continue unless the user redirects.
  4. Resolve the target branch from the args; default to develop.
  5. Resolve the Jira ticket in this order — accept the first [A-Z]+-\d+ match found:
    1. explicit ticket arg
    2. current branch name
    3. latest commit subject (git log --format=%s -1)
  6. Load the reviewer config now (the merged sources in Step 6) so a bare token can be recognized as a team key during argument parsing. A missing or malformed config is fine here — it just means no team keys are known yet.
  7. Capture the title candidate nowgit log --format=%s -1 — and hold it for Step 4. Do this before Step 1.5 can add a docs(spec): sync to code commit on top of HEAD; otherwise that commit would become the PR title.

Read the full file on GitHub · 217 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 217 lines · 124 tokens per session scan A fb80d9474ff6

Subscribe to this mod's changes

ado-open-pr is a skill published in the GitHub repository jamesyang124/agent-skills (2 stars, last pushed 1mo ago), licensed MIT. It adds 124 tokens to every session and 4,869 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

review-implement-phase

Implements triaged review actions, commits focused fixes, and posts Done plus resolves threads. Use when the user wants only the implementation phase of the review-framework workflow.

prisma/orm · 38 tokens

engram-branch-pr

PR creation workflow for Engram following the issue-first enforcement system. Trigger: When creating a pull request, opening a PR, or preparing changes for review.

Gentleman-Programming/engram · 37 tokens

verify-behavior

Verify or reproduce visible product behavior by driving the real UI with pi-computer-use's checked tools, requiring verified expect postconditions and durable state evidence for meaningful UI flows. Use when triage needs visual reproduction, implementation needs behavioral proof, review needs interactive confirmation…

nicknisi/dotfiles · 68 tokens

github-contributor

End-to-end playbook for shipping high-quality pull requests to open-source projects you don't maintain — discovery, CONTRIBUTING compliance, PR-size check, minimal-diff implementation, PR description with AI-assisted disclosure, conflict resolution, and post-submission maintainer interaction. Use whenever creating…

daymade/claude-code-skills · 133 tokens

revdiff

Review diffs, files, and documents with inline annotations in a TUI overlay, or answer questions about revdiff usage, configuration, themes, and keybindings. Opens revdiff in agterm/tmux/zellij/herdr/kitty/wezterm/cmux/ghostty/iterm2/emacs-vterm, captures annotations, and addresses them. Works in git, hg, and jj repos…

umputun/revdiff · 248 tokens

write-pr

Reference standards for writing pull request titles and descriptions in the tldraw repository, plus the pre-flight comment sweep over the diff. Use as supporting guidance when another skill or workflow needs PR content standards, not as the user-facing create/update PR workflow.

tldraw/tldraw · 53 tokens