create-pr
Installation
SKILL.md
Work the steps in order.
Arguments: $ARGUMENTS — an ENG-xxx task ID when one is given.
1. Determine the branch
- Read the current branch with
git branch --show-current. - On a feature branch (anything but
main,master,staging), stay on it. - On
main/master/staging, read the changes withgit diff --statandgit diff --cached --stat, then create and check out a kebab-case branch named for them (e.g.add-user-endpoint,fix-search-pagination).
Done when git branch --show-current reports a feature branch.
2. Check coding standards
Skip when git ls-files '*CODING_STANDARDS.md' comes back empty.
Dispatch one subagent on a cheap model (Sonnet, Luna, etc.) to make a quick pass over the change and fix what breaks the standards. Hand it: