بنقرة واحدة
create-pr
Create a descriptive GitHub PR with summary and test plan using gh CLI
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Create a descriptive GitHub PR with summary and test plan using gh CLI
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Review code changes for best practices, complexity, compatibility, and gaps
Create a conventional commit from staged changes without Co-Authored-By
Review codebase for CLEAN code practices and DRY violations
Implement features following strict coding best practices with docs and tests
Run ruff linting and formatting checks, auto-fix issues
Scan for hardcoded secrets, credentials, tokens, and security vulnerabilities
| name | create-pr |
| description | Create a descriptive GitHub PR with summary and test plan using gh CLI |
| user-invocable | true |
| argument-hint | [base branch, defaults to develop] |
Create a well-structured GitHub Pull Request using the gh CLI.
Determine the base branch:
$ARGUMENTS if provided, otherwise default to develop.Gather context by running:
git log <base>..HEAD --oneline — all commits in this branchgit diff <base>...HEAD --stat — changed files summarygit branch --show-current — current branch namePush the branch if needed: git push -u origin HEAD
Analyze ALL commits (not just the latest) to understand the full scope of changes.
Create the PR using gh pr create:
## Summary
- <1-3 bullet points describing what changed and why>
## Changes
- <key file modifications and their purpose>
## Test plan
- [ ] <specific testing steps relevant to the changes>
Use a HEREDOC to pass the body to ensure correct formatting:
gh pr create --title "..." --body "$(cat <<'EOF'
## Summary
...
EOF
)"
Return the PR URL when done.