with one click
pr-quality
Create a pull request with quality gate status and metrics
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Create a pull request with quality gate status and metrics
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Push current branch and monitor CI workflow until completion
Find and fix SonarQube issues by severity
Check SonarQube quality gate status and project metrics
| name | pr-quality |
| description | Create a pull request with quality gate status and metrics |
Create a pull request that includes SonarQube quality metrics and CI status.
Before creating the PR, verify:
Check Branch Status:
git status
git log origin/main..HEAD --oneline
Ensure Branch is Pushed: If not pushed or behind:
git push origin HEAD
Check CI Status:
gh run list --branch $(git branch --show-current) -L 1 --json status,conclusion,workflowName
gh run watchGet SonarQube Quality Gate:
Use mcp__sonarqube__get_project_quality_gate_status with projectKey: mayflower-sandbox
Get Key Metrics:
Use mcp__sonarqube__get_component_measures for summary metrics
Create Pull Request:
gh pr create --title "<title>" --body "<body>"
Use this body template:
## Summary
[Brief description of changes]
## Changes
- [List of main changes]
## Quality Status
| Check | Status |
|-------|--------|
| CI Build | :white_check_mark: Passed |
| Quality Gate | :white_check_mark: Passed |
| Coverage | X% |
| New Issues | X |
## Testing
- [x] Unit tests pass
- [x] Linting passes
- [x] SonarQube quality gate passes
Watch PR Checks:
gh pr checks --watch
Generate the PR title from:
Format: <type>: <brief description>
/sonar-fixReport: