open-source-pr-workflow/SKILL.md
PR-focused workflow for open-source repositories. Use when the user asks to prepare a PR branch from existing changes, draft/open/update a PR, or push a ready contribution branch. Do not use this skill for implementing product features or editing business logic; use it after code changes are already prepared. Enforce branch naming as codex/{change_type}/{changes}, open PRs directly by default without waiting for draft confirmation, show drafts only when the user explicitly asks to review them first, default forked repositories to open PRs against the upstream parent repository unless the user explicitly requests the fork, and write PR content in English by default with required sections for related issues or motivation, engineering decisions with rationale, and test results with commands. For code-affecting changes, run code-simplifier before opening the PR.
npx skillsauth add laitszkin/apollo-toolkit open-source-pr-workflowInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
commit before publishing the contribution branch (any remaining changes MUST be committed/readiness-checked through that skill; push only when the user requested remote update—then continue to PR steps).code-simplifier for code-affecting PRs before opening the PR.commit or a required code-affecting dependency is unavailable, stop and report the missing dependency instead of bypassing the quality gate.commit when the working tree still needs a gated commit, run dependent skills for code changes, then draft and open the PR.gh repo view --json isFork,parent,nameWithOwner).codex/{change_type}/{changes}.{change_type} and {changes} to lowercase kebab-case ([a-z0-9-] only).Example:
git checkout -b codex/fix/add-rate-limit-retry
commitgit status shows uncommitted work on the PR branch, run commit through commit (and push when the user explicitly asked to publish the branch remotely) before PR creation—MUST NOT bypass readiness/review gates that skill applies.code-simplifier before opening the PR.gh pr create to open the PR.gh pr create --repo <upstream-owner>/<upstream-repo> --head <fork-owner>:<branch>).Use this structure (or equivalent headings) every time:
## Related Issues / Motivation
- Related: #<issue-id> (or link)
- Why this change is needed
## Engineering Decisions and Rationale
- Key implementation choices
- Why each choice was made
- Trade-offs considered (if applicable)
## Test Results and Commands
- ✅ `command 1`
- ✅ `command 2`
- Summary of outcomes
### Test Cases (for complex changes)
- Case 1: input/scenario -> expected result
- Case 2: input/scenario -> expected result
If tests cannot run locally, state why and provide the closest available validation evidence.
codex/{change_type}/{changes}.code-simplifier before opening the PR.development
Guides the agent through creating a new Agent Skill from scratch. Use when the user wants to build a skill, create a new skill, scaffold a skill directory, or author a SKILL.md. Do NOT use for optimising or rewriting existing skills — use 'optimise-skill' for that. Do NOT use for editing files that are already part of a skill. Do NOT use for creating non-skill content like documentation, scripts, or project files.
development
Guides the agent through creating a new Agent Skill from scratch. Use when the user wants to build a skill, create a new skill, scaffold a skill directory, or author a SKILL.md. Do NOT use for optimising or rewriting existing skills — use 'optimise-skill' for that. Do NOT use for editing files that are already part of a skill. Do NOT use for creating non-skill content like documentation, scripts, or project files.
development
Review a pull request — interactive PR selection via `gh`, 4-dimension code review (hallucinated code, architecture, performance, test validity), then post severity-graded comments with fix suggestions on the PR. Not for spec-based review — use `review` instead.
tools
協助完成自動化版本發佈。同步文檔、更新版本號、推送 tag 並建立 GitHub Release。