Borrowing it
Nothing to install: this file belongs to antdigital-ai/agentic-ui. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/antdigital-ai/agentic-ui/main/.cursor/skills/gh-create-pr/SKILL.mdgit clone --depth 1 https://github.com/antdigital-ai/agentic-uiWrote 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.
[](https://agentmods.dev/skills/antdigital-ai/agentic-ui/gh-create-pr)<a href="https://agentmods.dev/skills/antdigital-ai/agentic-ui/gh-create-pr"><img src="https://agentmods.dev/badge/skills/antdigital-ai/agentic-ui/gh-create-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.
<a href="https://agentmods.dev/skills/antdigital-ai/agentic-ui/gh-create-pr"><img src="https://agentmods.dev/badge/skills/antdigital-ai/agentic-ui/gh-create-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00047 | $0.00691 |
| Opus 5.5 | $0.00019 | $0.00276 |
| Sonnet 5.5 | $0.00009 | $0.00138 |
| Haiku 4.5 | $0.00005 | $0.00069 |
Grade A, and why
gh-create-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 2mo 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.
What it actually says
使用 gh 创建 / 更新 PR
何时使用
- 用户说:提 PR、新建 PR、用 gh 建 PR、submit PR、create pull request、开 PR
- 当前分支有未推送提交,需要推送到 origin 并创建或更新 PR
流程
1. 确认状态
git status -sb
git log -1 --oneline
- 若有未提交变更,先按项目规范提交(见下方「提交信息规范」)。
- 若
[ahead N],需要先 push。
2. 推送当前分支
若当前分支领先 origin:
git push -u origin <当前分支名>
或简写(当前分支已跟踪 origin 时):
git push origin
3. 创建 PR
gh pr create --base main --head <当前分支名> --title "<标题>" --body "<正文>"
- --base:目标分支,一般为
main或master,可与仓库默认分支一致。 - --head:当前分支;不写时 gh 会使用当前检出分支。
- 若该分支已有开放中的 PR,gh 会提示已存在并给出链接,不会重复创建。
4. 标题与正文
- 标题:简短说明变更,可与最近一次 commit 的 summary 一致或稍作归纳。
- 正文:可选;可包含「变更说明」「测试说明」「关联 Issue」等。若用户未指定,可用简洁模板,例如:
## 变更说明
- (根据 commit 或改动简要列出)
> Submitted by Cursor
提交信息规范(本仓库)
提交时遵循既有规范:
- 格式:
Component: Emoji 描述或type(scope): description - Props、组件名用反引号;中英文之间加空格
- 多类变更按组件/类型分条写
示例:MarkdownEditor: 优化 Jinja 模板(可访问性、错误处理、样式与单测)
命令速查
| 步骤 | 命令 |
|---|---|
| 看状态 | git status -sb |
| 推送 | git push -u origin $(git branch --show-current) |
| 建 PR | gh pr create --base main --title "标题" --body "正文" |
| 查看已有 PR | gh pr list --head $(git branch --show-current) |
注意
- 执行
gh前需已登录:gh auth login。 - 若遇 TLS / 证书错误,可带
required_permissions: ["all"]再试。 - 创建 PR 需要网络权限。
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.
- 2mo ago First seen · 86 lines · 47 tokens per session scan A ed45abc4c876
gh-create-pr is a skill published in the GitHub repository antdigital-ai/agentic-ui (237 stars, last pushed 24d ago), licensed MIT. It adds 47 tokens to every session and 691 once invoked, about $0.0002 per session on Opus 5.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-30.
gh-create-pr compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| gh-create-prantdigital-ai/agentic-ui | Skill | 237 | 24d ago | MIT | A | 47 | Cursor |
| merge-batchdiegosouzapw/OmniRoute | Skill | 83k | 5d ago | MIT | A | 46 | Claude Code |
| prowler-commitprowler-cloud/prowler | Skill | 15k | yesterday | Apache-2.0 | A | 44 | Claude Code, Codex |
| gh-auth-isolationgithub/gh-aw | Skill | 5.6k | today | MIT | A | 20 | Claude Code, Codex |
| github-skillzeenie-ai/OpenCompany | Skill | 1.1k | yesterday | MIT | A | 51 | Claude Code |
| comet-githubrpamis/comet | Skill | 3.3k | today | MIT | A | 72 | Claude Code, Codex |
| re0-mergeLilMGenius/paperthin | Skill | 1.4k | 4d ago | MIT | A | 70 | Claude Code |