pr-stack
PR Stack
Use this skill for stacked PR workflows built on top of plain git and gh.
Mental Model
A stack has:
- A trunk branch, usually the repo default branch.
- Feature branches where each branch has one intended parent.
- Pull requests whose base branch is that parent, not always trunk.
Track stack relationships explicitly:
- Required:
stack.trunk=<branch>,branch.<name>.stackParent=<parent-branch> - Strongly recommended:
stack.remote=<remote>,branch.<name>.stackParentRemoteRef=<remote>/<parent-branch>
Use stack.trunk and branch.<name>.stackParent as the source of truth. Resolve PR state live through gh. Derive children by scanning branches for matching stackParent values.
More from ouj/skills
rubber-duck
Collaborative design partner for coding problems, system design, bug fixes, and interface changes. Use when Codex should inspect the current project first, ask lettered multiple-choice questions one at a time, compare 2-3 clean solution approaches, draw before-and-after system interactions, and write a design doc before any implementation begins. Keep the focus on elegant interfaces and trade-offs, not production readiness, rollout, testing, or metrics.
10follow-my-lead
Finish an in-progress code change by reading the current git branch and especially the staged and unstaged diff to infer intent, then completing the implementation, migration work, interface changes, and repairs needed to make the change coherent. Use when the user already started work locally, wants the agent to pick up from the current branch state, wants intent inferred from unfinished edits, or wants plan-first collaboration with multiple-choice clarification before making changes.
4ask-me
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "ask me questions".
3brainstorm
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
3handoff
Compact the current conversation into a handoff document for another agent to pick up.
2