用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/antdigital-ai/agentic-ui --skill gh-create-pr命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | gh-create-pr |
| description | 使用 GitHub CLI (gh) 推送当前分支并创建或更新 PR。在用户说「提 PR」「新建 PR」「用 gh 建 PR」「submit PR」「create pull request」时使用。 |
git status -sb
git log -1 --oneline
[ahead N],需要先 push。若当前分支领先 origin:
git push -u origin <当前分支名>
或简写(当前分支已跟踪 origin 时):
git push origin
gh pr create --base main --head <当前分支名> --title "<标题>" --body "<正文>"
main 或 master,可与仓库默认分支一致。## 变更说明
- (根据 commit 或改动简要列出)
> Submitted by Cursor
提交时遵循既有规范:
Component: Emoji 描述 或 type(scope): description示例: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。required_permissions: ["all"] 再试。