Create pr
A collection of agent skills.
npx -y skills add to4iki/skills --skill create-prAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Push the branch and open a pull request with gh. Use when the user asks to create a PR, open a pull request, or push and create a PR. Create a draft PR only when the user explicitly requests draft.
SKILL.md
1.2 KB, 274 tokens by cl100k_base, as published. Nobody here has run it
Create PR
Run only when the user asks to create a PR. Do not stage or commit. Write the title and body in English (Japanese only if the user explicitly asks).
Procedure
- Inspect changes in parallel (base = default branch; if
mainis missing, resolve withgit symbolic-ref refs/remotes/origin/HEAD):git log $(git merge-base HEAD <base>)..HEAD --onelinegit diff $(git merge-base HEAD <base>)..HEAD --stat
- Draft title and body. Follow
.github/pull_request_template.mdif present. Otherwise:
## Summary
<brief description>
## Changes
- <change>
## Related Issues / Links
- Fixes #<issue-number>
git push -u origin <branch_name>- Create (pass
--draftonly when the user explicitly asks for a draft):
gh pr create [--draft] --title "<title>" --body "$(cat <<'EOF'
<body>
EOF
)"
- Report the PR URL
Gotchas
- If
ghis missing or unauthenticated, stop and ask the user to set it up - If the push is rejected, stop and ask the user to resolve conflicts