用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/cuga-project/cuga-flo --skill cuga-create-pr命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | cuga-create-pr |
| description | ### Step 1: Validate Your Local Repository do it all against upstream `origin` |
| metadata | {"user-invocable":true,"disable-model-invocation":true} |
originBefore creating a PR, you must ensure all your changes are committed and pushed to your branch.
Run the following command to check for any uncommitted files:
git status --porcelain
⚠️ CRITICAL: If this command returns any output, STOP HERE!
You have uncommitted changes that must be handled before creating a PR. You must either:
git add . && git commit -m "your message"git stashDo not proceed with PR creation until this is resolved.
Next, confirm that all your local commits have been pushed to the remote repository.
git rev-list --count @{u}..HEAD
⚠️ CRITICAL: If the count is greater than zero, STOP HERE!
You have commits that have not been pushed to the remote repository. You must:
git push origin <branch-name>Do not proceed with PR creation until this is resolved.
Only if both checks pass (no uncommitted changes AND no unpushed commits), you are ready to create your pull request.
Use the GitHub CLI (gh) to create the pull request.
First, identify the appropriate template from your .github/PULL_REQUEST_TEMPLATE/ directory. Your options are typically bugfix.md, feature.md, docs.md, or chore.md.
Ask which GitHub issue this PR closes or relates to (issue number or URL). If the user says there is none, to skip the issue, or similar, continue without one—leave Related Issue blank, omit that line, or write that there is no linked issue. Do not block PR creation on this.
Before creating the PR, you must fill out the template with relevant information about your changes:
Use the correct template:
.github/PULL_REQUEST_TEMPLATE/[template].md
Fill out the required sections based on current commits and changes:
Remember filled template
gh pr create --base main --title "<title in commit convention>" --body "<content of .md filled>"