X As Pr

Start a development workflow as a draft PR. Creates a NEW branch from the current branch, pushes the branch ref, implements, then opens a draft PR targeting the current branch as soon as the first real commit is pushed. ALWAYS creates a new branch by default — produces a nested PR-on-PR when the current branch already has one. Use when: (1) User says 'dev as pr', (2) User wants a PR-first workflow before coding, (3) User passes -s/--stay to reuse the current branch instead of nesting, (4) User passes a GitHub issue URL to implement, (5) User passes --make-issue/--issue to create an issue first. Logs progress via issue comments when an issue is linked. Pass -toco/--to-codex to hand the whole job to Codex CLI instead of implementing here: it opens a new tmux window running codex, stages the matching $-prefixed Codex skill invocation in its composer, focuses it, and ends the session -- fired at the very start, before any branch or PR is created (terminal-only).

takazudo 4ca9caa 40.4 KB Updated

File contents

takazudo/claude-resources/tree/main/skills/x-as-pr commit 4ca9caa423

Frequently asked questions

npx skillmds@latest add takazudo/x-as-pr