Token导航 LogoToken导航

Agent Skill · 研究检索

ado-create-pr(废话不多说,创建公关)

ado-create-pr 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

ado-create-pr 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 40,765。

总安装 1,248周安装 52GitHub Stars 163下载 416核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ado-create-pr(废话不多说,创建公关)
来源仓库:https://github.com/flora131/atomic
仓库路径:skills/ado-create-pr
安装命令:
npx skills add https://github.com/flora131/atomic --skill ado-create-pr
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/flora131/atomic --skill ado-create-pr

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

ado-create-pr 可自动提交代码变更、推送分支并创建或更新 Azure DevOps 拉取请求。适用于需要快速生成符合约定式提交规范的 PR 标题和描述的协作开发场景。能自动识别当前分支、默认分支及差异内容,提供简洁的变更摘要和提交历史预览。

包含系统命令执行能力,安装前务必检查权限、凭据安全及潜在的文件操作风险。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/ado-create-pr

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/flora131/atomic --skill ado-create-pr;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

ado-create-pr 怎么安装?

在终端执行 npx skills add https://github.com/flora131/atomic --skill ado-create-pr。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

ado-create-pr 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

ado-create-pr 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

ado-create-pr 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

ado-create-pr 用的人多吗?

公开数据是累计安装 1,248 次,近一周安装 52 次,下载 416 次,GitHub 163 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

ado-create-pr 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
ado-create-pr

废话不多说,创建公关 · 本页

1,248163接触敏感数据未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

ADO Create Pull Request

Commit changes, push the branch, and open or update an Azure DevOps pull request with a conventional-commit-style title and a complete description: $ARGUMENTS

Current state

  • Git status:!git status --porcelain
  • Current branch:!git branch --show-current
  • Default branch:!git rev-parse --abbrev-ref origin/HEAD 2>/dev/null | sed 's|origin/||' || echo main
  • Staged diff (stat):!git diff --cached --stat
  • Unstaged diff (stat):!git diff --stat
  • Recent commits on this branch:!git log --oneline -10
  • Commits ahead of default:!git log --oneline origin/$(git rev-parse --abbrev-ref origin/HEAD 2>/dev/null | sed 's|origin/||' || echo main)..HEAD 2>/dev/null | head -20
  • Remote URL (to confirm ADO host):!git remote get-url origin 2>/dev/null || echo "no-remote"

Use the Azure DevOps MCP tools

All ADO operations in this workflow go through the Azure DevOps MCP tools — never az / az devops. When you see tool names like repo_create_pull_request or wit_link_work_item_to_pull_request below, call the matching Azure DevOps tool from your tool list. If no Azure DevOps MCP tools are loaded in this session, stop and ask the user if they want to fallback to the az CLI.

Workflow

1. Stage and commit

Follow the ado-commit skill for the commit step — same conventional-commit format, same AI-authorship trailer, same AB#<id> work-item trailer rules. Split into multiple commits if the staged diff covers unrelated concerns.

If the user is currently on the default branch (main / master), switch to a feature branch *before* committing. A reasonable default name is user/<short-topic> or feature/<topic>; if a work-item ID is known, prefix it: feature/1234-<topic>.

2. Push

git push -u origin "$(git branch --show-current)"

-u sets upstream tracking so subsequent pushes don't need arguments.

3. Gather context for the PR

Read the *full* diff against the base branch, not just the last commit — a PR title needs to summarize the whole branch, not one step of it.

git diff origin/<default-branch>...HEAD

Open the files that changed significantly so you can describe the *why* accurately. If there's an existing PR for this branch, fetch it first (see step 5) and edit rather than replace — a human may already have curated the title or description.

4. Identify the repo, project, and work items

The MCP tools need identifiers:

  • Project and repository name — parse from the origin remote URL. ADO URLs follow https://dev.azure.com/<org>/<project>/_git/<repo> or https://<org>.visualstudio.com/<project>/_git/<repo>.
  • Repository ID — call repo_get_repo_by_name_or_id with {project, repositoryNameOrId: <repo-name>}. Use the returned id for subsequent calls.
  • Work item IDs — scan the branch name and every commit subject/body on the branch (git log origin/<default>..HEAD) for AB#<id>, #<id>, or numeric prefixes like feature/1234-.... If the user mentioned a work item in the prompt, trust that.

If projects or repos aren't obvious, core_list_projects and repo_list_repos_by_project let you browse.

5. Check for an existing PR

repo_list_pull_requests_by_repo_or_project {
  repositoryId: <id>,
  status: "active",
  sourceRefName: "refs/heads/<current-branch>"
}

If a result comes back, you're in *update* mode — keep the existing PR's ID and edit in place in step 7. Otherwise you're in *create* mode.

6. Generate title and description

Title — Conventional Commits, under 72 chars. For a single-commit PR the commit subject works; for a multi-commit PR synthesize a higher-level subject that captures the whole branch.

feat(auth): add JWT token refresh endpoint
fix(ui): resolve layout shift on mobile nav
refactor(db): migrate from raw SQL to query builder
feat(api)!: change pagination response shape

Description — use this template, omitting sections that don't apply:

## Summary

[1–2 sentences on what this PR does and why]

## Changes

- [Key change 1]
- [Key change 2]

## Breaking Changes

[What breaks and the migration step — delete this section if none]

## Test Plan

- [How this was verified — commands, manual checks, screenshots]

## Work Items

AB#1234

Keep the AB#<id> references in the description — ADO parses them and shows the linked work items alongside the PR. You'll *also* link them via MCP in step 8 so the links are first-class, not just string-matched.

7. Create or update the PR

Create (default to draft):

repo_create_pull_request {
  repositoryId: <id>,
  sourceRefName: "refs/heads/<current-branch>",
  targetRefName: "refs/heads/<default-branch>",
  title: "<conventional-commit title>",
  description: "<markdown from template>",
  isDraft: true
}

sourceRefName and targetRefName need the full refs/heads/ prefix — a common mistake is passing the bare branch name and getting a cryptic 400.

Update (existing PR):

repo_update_pull_request {
  repositoryId: <id>,
  pullRequestId: <id-from-step-5>,
  title: "<updated title>",
  description: "<updated description>"
}

Respect the existing title/description if they're already meaningful — enhance rather than overwrite. If the existing title already follows conventional commits and is accurate, leave it alone.

8. Link work items

Even if the description contains AB#<id>, explicitly link each work item so it shows up as a structured PR-WorkItem relationship:

wit_link_work_item_to_pull_request {
  projectId: <project-id>,
  repositoryId: <repo-id>,
  pullRequestId: <pr-id>,
  workItemId: <work-item-id>
}

Call once per work item ID.

9. Reviewers (optional)

If the user named reviewers, resolve them to identity IDs and attach:

core_get_identity_ids { searchFilter: "<name or email>" }
repo_update_pull_request_reviewers {
  repositoryId: <id>,
  pullRequestId: <id>,
  reviewerIds: [<ids>],
  action: "add"
}

Don't auto-assign reviewers the user didn't mention — ADO default reviewer policies usually handle that, and guessing people's IDs is a good way to ping the wrong person.

10. Report back

Print the PR's web URL (returned in the create/update response as url or _links.web.href) so the user can click through. Summarize: branch → target, draft status, work items linked, reviewers added.

Guidelines

  • Draft by default. Pass isDraft: true unless the user says otherwise. It's easier to mark ready than to walk back a premature review request.
  • Never skip pre-commit hooks. They run locally during commits created in step 1. A hook failure is the hook earning its keep.
  • Always attribute AI assistance via the Assistant-model trailer on every commit (see the ado-commit skill).
  • Respect existing content. If updating an existing PR, keep what's already curated; only replace sections that are stale or wrong.
  • Holistic title. The PR title is one line describing the whole branch. Don't concatenate commit subjects.

Related Azure DevOps tools

The 10-step workflow above names the tools you need on the happy path. Reach for the ones below when the situation calls for it — don't run them by default. Grouped by the sub-task they unlock.

Sub-taskToolWhen to reach for it
Locate the repocore_list_projectsProject name isn't obvious from the remote URL
repo_list_repos_by_projectMultiple repos in the project and you need to pick
Inspect branchesrepo_list_branches_by_repoConfirm the default / target branch exists before creating the PR
repo_get_branch_by_namePull the latest commit or branch policies on the source branch
repo_create_branchBranch off server-side when the user isn't working locally
Pick a work itemwit_my_work_itemsUser didn't name one — surface their active items so they can confirm
search_workitemKeyword search when the work item ID is uncertain
wit_get_work_item / wit_get_work_items_batch_by_idsFetch title/state to enrich the PR description (e.g. "Closes AB#1234 — add JWT refresh")
Inspect the changerepo_get_pull_request_changesProgrammatic diff on an existing PR when local git diff isn't enough
repo_search_commitsVerify specific commits landed on the source branch
repo_get_file_contentRe-read a file at a specific commit to describe it accurately
Fetch the PRrepo_get_pull_request_by_idReload the PR after create/update (web URL, status, policy state)
Extra linkingwit_add_artifact_linkLink a commit or build to a work item (non-PR relationship)
wit_add_work_item_commentPost "PR #N opened" on the work item so watchers see it async
Comments & votesrepo_list_pull_request_threads / repo_list_pull_request_thread_commentsRead existing review threads before editing the PR
repo_create_pull_request_threadSeed a context comment on the new PR (e.g. testing notes)
repo_reply_to_commentRespond to a reviewer inline
repo_vote_pull_requestApprove / wait-for-author / reject on the user's behalf — only when explicitly asked
CI signalpipelines_get_build_statusCheck whether the branch's CI is green before un-drafting
pipelines_get_build_logPull logs when CI is red and you're helping diagnose

平台分布

Codex

33.94%
按下载量换算141

Claude

29.19%
按下载量换算121

Cursor

19.57%
按下载量换算81

Gemini CLI

9.6%
按下载量换算40

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills