بنقرة واحدة
pr-quality
Create a pull request with quality gate status and metrics
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Create a pull request with quality gate status and metrics
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| 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_scry_53657c30-7823-4138-9fbf-78b92dfb99e9
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: