Create a pull request
I'll create a pull request for the current branch by following these steps. If any steps fail, stop.
- •Run
/formatto format code - •Check for formatting changes and commit them if needed with message "🤖 apply code formatting"
- •Run
/lintto verify code style and quality - •Run
/build-for-testingto ensure project builds successfully with no warnings - •Run
/testto verify all tests pass - •Spawn the
code-revieweragent to perform a code review of all changes (pass the git diff output as context) - •Summarize the code review findings:
- •List any critical or high-severity issues that should be addressed
- •List any medium-severity suggestions for improvement
- •Note any low-severity or stylistic recommendations
- •If there are critical/high-severity issues:
- •Recommend specific changes needed
- •Ask user for confirmation before proceeding (fix issues or continue anyway)
- •If user wants to fix issues, stop and let them address the feedback
- •Check if branch is up-to-date with main (warn if behind)
- •Run
git statusandgit diff origin/main...HEADto understand all changes - •Analyze the commits and changes to generate an appropriate title and summary
- •Push the current branch to remote if not already pushed
- •Create a PR using
gh pr createwith:- •IMPORTANT: Title MUST start with a gitmoji prefix (e.g., "✨ Add new feature", "🐛 Fix bug", "📚 Improve documentation")
- •Refer to https://gitmoji.dev to use the correct emoji
- •Common: ✨ feature, 🐛 bugfix, ♻️ refactor, 🧪 tests, 📚 docs, 🔧 config, 🎨 style
- •A comprehensive summary with bullet points
- •Proper formatting with sections (Summary, Changes, Benefits, etc.)
- •IMPORTANT: Title MUST start with a gitmoji prefix (e.g., "✨ Add new feature", "🐛 Fix bug", "📚 Improve documentation")
The PR will include the Claude Code attribution footer.
$ARGUMENTS