| name | pr-prepare |
| description | Prepare a pull request with quality checks, commit, and PR creation. Use when ready to submit changes for review. |
Pull Request Preparation
Complete workflow for preparing and submitting a PR.
Pre-flight Checks
Run all quality gates:
cargo fmt && cargo clippy -- -D warnings && cargo test && cargo bench
Create Feature Branch (if needed)
git checkout -b feature/your-feature-name
git checkout -b fix/bug-description
Commit Changes
git add .
git commit -m "Add feature X
- Implemented Y
- Fixed Z
- Updated tests"
Push and Create PR
git push -u origin HEAD
gh pr create --title "Your PR title" --body "## Summary
- What this PR does
## Test Plan
- How to test the changes
## Checklist
- [ ] Tests pass
- [ ] Clippy clean
- [ ] Documentation updated"
PR Checklist
Before submitting:
After PR Creation
- CI will run automatically
- Automated review runs if configured
- Address any feedback
- Squash and merge when approved