git-pr-workflow
Prepare and submit pull requests with clean history, passing checks, and review-ready context. Use when asked to open, prepare, or finalize a PR.
- License 许可
- MIT
- 最近更新
- 2026-04-11
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- git-pr-workflow
- description
- Prepare and submit pull requests with clean history, passing checks, and review-ready context. Use when asked to open, prepare, or finalize a PR.
02 资源文件 3
- 参考文档agents/openai.yaml215 B
- 参考文档references/pr-template.md172 B
- 脚本scripts/pr-checklist.sh222 B
03 SKILL.md 正文
Git PR Workflow
Prepare PRs that are easy to review, safe to merge, and fully validated.
Required Sequence
- Confirm branch intent and scope.
- Ensure commits are atomic (
git-atomic-commit) and messages are conventional (git-conventional-commit). - Run
git-run-checkson latest branch state. - Rebase or merge mainline according to project policy.
- Push branch and open PR with a concise summary, test evidence, and risk notes.
PR Description Checklist
- Problem statement
- What changed and why
- Screenshots/logs when relevant
- Validation performed (commands + outcomes)
- Risks and rollback plan
- Follow-up tasks (if any)
Use ./scripts/pr-checklist.sh to generate a markdown template.
Review Readiness Rules
- No unrelated diffs.
- No failing or skipped mandatory checks.
- No unresolved TODOs that hide correctness risk.
- Commit history tells a coherent story.
Boris-Inspired Operating Rules
- Keep implementation minimal and focused on stated goal.
- Use parallelism only for independent workstreams.
- Verify continuously and surface uncertainty explicitly.
Claude Mapping (Optional)
- Map this workflow to
/pr-prepareand/pr-submitcommands when command files are supported. - Hook pre-push to run the same check command used in
git-run-checks.
04 同仓库更多 Skills
vercel-react-best-practices
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
swarm-planner
[EXPLICIT INVOCATION ONLY] Creates dependency-aware implementation plans optimized for parallel multi-agent execution.
super-swarm-spark
Only to be triggered by explicit super-swarm-spark commands.
role-creator
Create and install Codex custom agent roles in ~/.codex/config.toml, generate role config files, enforce supported keys, and guide users through required role inputs (model, reasoning effort, developer_instructions).
read-github
Read and search GitHub repository documentation via gitmcp.io MCP service. **WHEN TO USE:** - User provides a GitHub URL - User mentions a specific repo in owner/repo format - User asks "what does this repo do?", "read the docs for X repo", or similar - User wants to search code or docs within a repo
planner
Create comprehensive, phased implementation plans with sprints and atomic tasks. Use when user says: "make a plan", "create a plan", "plan this out", "plan the implementation", "help me plan", "design a plan", "draft a plan", "write a plan", "outline the steps", "break this down into tasks", "what's the plan for", or any similar planning request. Also triggers on explicit "/planner" or "/plan" commands.