skills/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
Read a user-specified PDF that marks the week's key financial events, deeply research each marked event with current sources, capture any additional breaking financial developments, and produce a concise Chinese-capable PDF briefing that explains what happened and why it matters.
documentation
Generate long-form videos (more than 10 minutes) by following user instructions and invoking related skills only when needed (`openai-text-to-image-storyboard`, `docs-to-voice`, `remotion-best-practices`). For text inputs, extract a complete long-form story arc, generate fresh storyboard images (no reuse of previously generated pictures), and render a 16:9 animated long-form video.
tools
協助完成自動化版本發佈。同步文檔、更新版本號、推送 tag 並建立 GitHub Release。
development
Incrementally refresh the architecture atlas when the project diagram drifts from actual code. Measures drift before updating to determine scope, then updates the base atlas and re-renders HTML.