用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill create-pr命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | create-pr |
| description | Create a GitHub pull request with context-aware description Use when this capability is needed. |
| metadata | {"author":"ebkn"} |
!git rev-parse --abbrev-ref HEAD
!git status --short
!git ls-files ':(top,icase).github/pull_request_template.md' ':(top,icase).github/pull_request_template/*.md' ':(top,icase)pull_request_template.md'
Create a pull request. Follow this flow:
Gather context: Get default branch via gh repo view --json defaultBranchRef -q .defaultBranchRef.name, then run git log --oneline, git diff --stat, and git diff against it.
Uncommitted changes: If git status above shows output, ask the user whether to commit them, ignore them, or abort. Do not proceed until answered.
PR template:
Read it before writing title/body.template_language from headings/instructions/checklists (ignore code, URLs, HTML comments).<!-- -->).Compose PR:
template_language first whenever it can be detected.template_language is detected, use: explicit user request > latest substantive user message > English./create-pr), code blocks, file paths, and URLs when inferring language.type(scope) tokens standard (feat, fix, etc.); localize only the description text.Confirm: Show the full PR title and body. Ask if the user wants to add links or make any edits — apply and re-confirm. Do not push or create until approved.
Push and create: Push (git push -u origin HEAD) only if there are unpushed commits (git log @{upstream}..HEAD). Create with gh pr create --title "<title>" --body "<body>". Return the PR URL.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.