一键导入
pr
Push committed changes and create or update a pull request
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Push committed changes and create or update a pull request
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Set up the development environment with all required tools and dependencies
Conventional Commits message generation rules. Referenced by other skills.
Stage changes and create a Conventional Commits compliant commit
Create a feature branch and implement changes based on a GitHub issue or text instruction
Linter and formatter command reference table by file extension. Referenced by other skills.
Run all linters and formatters with auto-fix, then report results
| name | pr |
| description | Push committed changes and create or update a pull request |
Push committed changes to the remote and create or update a pull request.
This skill handles PR creation only. Review is offered as a next action after completion.
Run the following commands to understand the current state:
git branch --show-current to check the current branchgit status to check for uncommitted changesgit log --oneline origin/<branch>..HEAD 2>/dev/null || git log --oneline -5 to check for unpushed commitsIf on the main branch: Warn that pushing directly to main is not allowed. Suggest creating a feature branch with the implement skill or manually with git checkout -b <branch>, then end.
If there are uncommitted changes: Suggest committing first with the commit skill, then end.
If there are no commits to push: Inform the user that there are no commits to push and end.
git push -u origin <branch> to push to the remotegh pr view to check for an existing PRgh pr create --title "<title>" --body "<body>" to create a new PR. Use the first line of the most recent commit message as the titlePR body format:
## Summary
- <bullet points describing the changes>
Closes #N <!-- Only when originating from an issue. Infer issue number from branch name or commits -->
## Test plan
- [ ] TypeScript tests pass
- [ ] Python tests pass
- [ ] CDK tests pass
Report the results:
Done:
Branch: feat/add-auth
PR: https://github.com/owner/repo/pull/123
After reporting completion, ask the user which action to take next:
.agents/skills/review/SKILL.md and follow its workflowgh pr merge --squash --delete-branch and report the result