一键串联暂存、提交、推送并用 GitHub CLI 创建拉取请求。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "yeet" 技能: 1. 下载 https://raw.githubusercontent.com/openai/skills/main/skills/.curated/yeet/SKILL.md 2. 保存为 ~/.claude/skills/yeet/SKILL.md 3. 装好后重载技能,告诉我可以用了
gh. Check gh --version. If missing, ask the user to install gh and stop.gh session. Run gh auth status. If not authenticated, ask the user to run gh auth login (and re-run gh auth status) before continuing.{description} when starting from main/master/default.{description} (terse).{description} summarizing the full diff.Before creating the PR, resolve the repository root and look for the active GitHub PR template from there:
repo_root="$(git rev-parse --show-toplevel)"
Template candidates, in order:
.github/pull_request_template.md.github/PULL_REQUEST_TEMPLATE.md*.md file under .github/pull_request_template/*.md file under .github/PULL_REQUEST_TEMPLATE/Use paths as emitted from the repository root, such as .github/pull_request_template.md, not ./.github/pull_request_template.md.
If exactly one template is found, read it before composing the final PR body and pass it to gh pr create with --template "$template".
If multiple template files are found, stop before PR creation and ask which template to use. If no template exists, use the fallback body shape in this skill.
git checkout -b "{description}"git status -sb then git add -A.git commit -m "{description}"git push -u origin $(git branch --show-current)gh pr view "$(git branch --show-current)" --json number,isDraft,urlGH_PROMPT_DISABLED=1 GIT_TERMINAL_PROMPT=0 gh pr create --draft --fill --template "$template" --head "$(git branch --show-current)"GH_PROMPT_DISABLED=1 GIT_TERMINAL_PROMPT=0 gh pr create --draft --fill --head "$(git branch --show-current)"--body-file or gh pr edit --body-file to avoid \n-escaped markdown.When updating a PR created earlier in the flow, infer the PR from the current branch when possible:
git branch --show-current
gh pr view "$(git branch --show-current)" --json number --jq '.number'
If this finds an existing PR, preserve its current review state. Never convert an existing ready-for-review PR back to draft as part of yeet; only new PRs created by this flow should start as draft.
Format: <type>(<scope>): <subject>
<scope> is optional. A scope consist of a noun describing a section of the codebase (component, service or subsytem).
feat: add hat wobble
^--^ ^------------^
| |
| +-> Summary in present tense.
|
+-------> Type: chore, docs, feat, fix, refactor, style, or test.
More Examples:
feat: (new feature for the user, not a new feature for build script)fix: (bug fix for the user, not a fix to a build script)docs: (changes to the documentation)style: (formatting, missing semi colons, etc; no production code change)refactor: (refactoring production code, eg. renaming a variable)test: (adding missing tests, refactoring tests; no production code change)…
用于构建、脚手架生成、重构并排查 ChatGPT Apps SDK 应用问题。
帮助你基于接口文档或脚本快速生成可组合的命令行工具
帮助你将应用与基础设施部署、发布并托管到 Cloudflare 平台。
帮助用户把模糊想法转成具体、可衡量的目标与成功标准。
将 Figma 设计组件与代码组件建立映射,便于设计与实现保持一致。
帮助你构建、评审与重构 ASP.NET Core Web 应用及架构方案