work-with-pr — Claude Code skill: PR workflow
This skill takes a task from isolated worktrees to merged PRs, splitting independent work and repeating fixes when a verification gate fails.
npx skills add code-yeongyu/oh-my-openagent --skill work-with-pr -a claude-codeWhat work-with-pr does
work-with-pr gives each atomic part of a task its own git worktree. Independent PRs can run in parallel through subagents or a team. Implementation is driven through ulw-loop, which requires manual checks on a real surface and saved evidence for every success criterion.
The skill then prepares an English PR for review and runs verification through CI and Cubic. A failed active gate sends the work back to its PR worktree for a fix and another QA pass. Merge is the default end state, followed by worktree cleanup.
Before pushing, it runs bun run typecheck, bun test, and bun run build. Check that the project uses these commands first, because a failed local check blocks the next step.
What it helps with
- split one task into atomic PRs
- give each branch an isolated worktree
- prove criteria with manual QA
- send failed gates back for fixes
- merge the PR and clean up its worktree
Example prompts for the agent
- Split this task into atomic PRs and run each one through the complete workflow.
- Implement the issue in an isolated worktree, perform manual QA, and open the PR.
- Run CI and Cubic for this PR; fix every failed gate until it can be merged.
How to install work-with-pr
1Skills CLI (Vercel)
npx skills add code-yeongyu/oh-my-openagent --skill work-with-pr -a claude-code2Manually: put the files in place
~/.claude/skills/work-with-pr/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/work-with-pr/
1Skills CLI (Vercel)
npx skills add code-yeongyu/oh-my-openagent --skill work-with-pr -a codex2Manually: put the files in place
.agents/skills/work-with-pr/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add code-yeongyu/oh-my-openagent --skill work-with-pr -a cursor2Manually: put the files in place
.cursor/skills/work-with-pr/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install code-yeongyu/oh-my-openagent work-with-pr2Manually: put the files in place
.github/skills/work-with-pr/SKILL.md1Skills CLI (Vercel)
npx skills add code-yeongyu/oh-my-openagent --skill work-with-pr -a gemini-cli2Platform CLI
gemini skills install https://github.com/code-yeongyu/oh-my-openagent --path .opencode/skills/work-with-prManually: put the files in place
.devin/skills/work-with-pr/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add code-yeongyu/oh-my-openagent --skill work-with-pr -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set4
The whole set →Similar
Questions about work-with-pr
How do I install work-with-pr in Claude Code?
Run npx skills add code-yeongyu/oh-my-openagent --skill work-with-pr -a claude-code, then run npx skills add code-yeongyu/oh-my-openagent --skill work-with-pr -a claude-code again and check ~/.claude/skills/work-with-pr/SKILL.md.
What does work-with-pr do?
It takes work through isolated worktrees, implementation, manual QA, PR creation, CI, Cubic, and merge. When a gate fails, it returns to the same worktree for a fix and another check.
What checks are required before pushing a PR?
Run bun run typecheck, bun test, and bun run build before pushing. Manual QA is required as well, so a green test suite alone does not finish the workflow.