Skip to content

Commit 9610415

Browse files
runningcodeclaude
andcommitted
ref(skill): Pass the per-branch body file to gh pr create
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent c37c75b commit 9610415

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎.claude/skills/create-java-pr/SKILL.md‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,11 @@ comment hints, and check any checklist items that apply.
114114
115115
Write the body to `/tmp/pr-body-<branch>.md`, with each `/` in the branch name replaced by `-`, not
116116
to pr-writer's `/tmp/pr-body.md`: that file outlives sessions and can still hold another PR's body.
117-
Run `gh pr create` only after the write succeeds.
117+
Only after the write succeeds, pass that file to `gh pr create` in place of pr-writer's:
118+
119+
```bash
120+
gh pr create --draft --title '<title>' --body-file /tmp/pr-body-<branch>.md
121+
```
118122

119123
If the change needs no changelog entry (see Step 6), make `#skip-changelog` the last line of the
120124
body to disable the changelog CI check.

0 commit comments

Comments
 (0)