create-pr
Installation
SKILL.md
Create a GitHub pull request from the current branch using gh CLI. Reads chalk.json for project context to generate better test instructions and embeds visual artifacts if available.
Workflow
-
Check prerequisites — Run
git statusto verify:- Not on
main/master(if so, warn and suggest creating a branch) - No uncommitted changes (if there are, suggest running
/commitfirst) - Branch has commits ahead of base branch
- Not on
-
Analyze changes — Run
git log main..HEAD --onelineandgit diff main...HEAD --statto understand all changes. -
Read project context — Read
.chalk/chalk.jsonif it exists:test.command— for test plan instructionsdev.command— for setup instructionsroutes— to identify affected pagesproject.framework— for framework-specific review notes
-
Determine base branch — Default to
main. If the user specifies a different target, use that.