waat-create-pr
Create Pull Request
Overview
Create a GitHub Pull Request, managing the full git workflow from status check through branch creation, commit, and PR creation. PR bodies are generated from templates in assets/ based on linked issue type(s), and titles are generated from commit messages and diff summary.
Git workflow included: This skill handles the full git lifecycle before PR creation — checking git status, creating branches if needed, staging and committing changes. It does not assume a clean branch with ready commits.
Template-first: PR bodies are generated from templates in assets/. Never freehand a PR body when a matching template exists.
Router before template: The skill first determines which template to use based on linked issue types, then renders the template. Template discovery is dynamic — listing assets/*.md.
Issue-linked: Every PR should link to at least one issue. If no issue link is detected, prompt the user.
Many-to-many: Issues and PRs have a many-to-many relationship. One PR can close or progress multiple issues. One issue can be partially addressed by multiple PRs.
Auto-title: Generate the PR title from commit messages and diff summary. Focus on clarity and precision, not rigid format patterns.
Verify before done: After creation, verify the PR exists and has correct metadata before reporting completion.