chore: add create-pr skill#978
Conversation
|
Nice skill. Two additions from my pass on #966 that I'd fold in: 1. Hard length budget on the visible body (~150 words). The "make it easy to review" principles don't fight verbosity on their own without a number. If the body can't fit in the budget, that's usually a signal to split the PR, not to grow the description. Enforcement rule: "cut, don't hide." 2. Pattern that worked on #966: <details>
<summary>Background: spec references, why X was wrong</summary>
### Why X was wrong
### Spec references
- `file:line`: what it says
### Intentionally unchanged
- <preempts scope-creep follow-ups>
</details>Visible body stays skimmable; depth is one click away. |
- Drop hardcoded PR section list; defer to .github/PULL_REQUEST_TEMPLATE.md loaded in pre-flight so the skill stays in sync with template edits. - Remove --repo sigp/anchor from gh pr create so the command works from forks and lets gh infer the upstream target.
|
Thanks, good points to think through. On the 150-word budget: I like the principle but not the specific number. The repo template already requires five sections (Problem/Evidence/Context, Change Overview, Risks/Trade-offs, Validation, Rollback), and ~30 words per section pushes authors toward cryptic rather than clear. I'd rather frame it as "if the visible body doesn't fit on a screen, that's a signal to split, not to grow the description" and keep "cut, don't hide" as the enforcement rule. On the
Happy to fold the length principle (without the hard number) into the skill. Leaning toward leaving |
|
@shane-moore are you ok to approve it? |
shane-moore
left a comment
There was a problem hiding this comment.
great! also perhaps mention this in mattermost or something that it can be useful for creating pr's or even just to make the description for a pr you create manually
Problem, Evidence, and Context (Required)
create-prworkflow existed locally but was hidden by Git exclude rules, so it was not available from a clean checkout..claudeworkflow tree..claude/skills/create-pr/SKILL.md. The generated Codex mirrors remain local-only, as described inAGENTS.md.Change Overview (Required)
create-prskill under.claude/skills/..agents/or.codex/mirror files and does not change runtime behavior.Risks, Trade-offs, and Mitigations (Required)
.claudetree so future edits can follow the repo's normal authoring flow.Validation (Required)
.claude/skills/create-pr/SKILL.md.Rollback (Required for behavior or runtime changes; optional otherwise)
.claudetree.Blockers / Dependencies (Optional)
N/A.
Additional Info / Next Steps (Optional)
N/A.