بنقرة واحدة
create-pr
Create a well-structured PR with conventional commit title and descriptive body
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Create a well-structured PR with conventional commit title and descriptive body
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
View and edit gasclaw maintainer configuration at runtime
Check and apply updates to all Gastown dependencies
Create well-structured conventional commit messages from staged changes
Monitor PR CI checks and review comments, auto-fix failures and address feedback
Review a pull request for code quality, test coverage, security, and best practices
Write docstrings for PyTorch functions and methods following PyTorch conventions. Use when writing or updating docstrings in PyTorch code.
Create a pull request with a properly formatted conventional commit title and a structured body.
PR titles MUST follow conventional commit format:
<type>(<scope>): <summary>
| Type | When to use |
|---|---|
feat | New feature or capability |
fix | Bug fix |
perf | Performance improvement |
test | Adding or updating tests only |
docs | Documentation changes only |
refactor | Code change that neither fixes a bug nor adds a feature |
build | Build system or dependency changes |
ci | CI/CD configuration changes |
chore | Maintenance tasks (deps, configs) |
The scope should be the primary module or area affected:
cli, health, proxy, bootstrap)deps, config)Examples:
feat(cli): add status subcommand
fix(proxy): handle timeout in key rotation
test(health): add compliance deadline edge cases
refactor(bootstrap): extract service startup into helpers
ci: add Python 3.12 to test matrix
# Get current branch
BRANCH=$(git branch --show-current)
# Get base branch (default: main)
BASE="${base:-main}"
# Get commit log since divergence
git log "$BASE".."$BRANCH" --oneline
# Get full diff summary
git diff "$BASE"..."$BRANCH" --stat
# Get detailed diff
git diff "$BASE"..."$BRANCH"
Based on the changes:
Use this template:
## Summary
<1-3 bullet points describing what changed and why>
## Changes
- <specific change 1>
- <specific change 2>
- ...
## Test Plan
- [ ] <how to verify change 1>
- [ ] <how to verify change 2>
- [ ] All existing tests pass (`make test`)
If the PR fixes an issue, add: Fixes #<issue_number>
# Push branch to remote
git push -u origin "$BRANCH"
# Create PR
gh pr create \
--base "$BASE" \
--title "<type>(<scope>): <summary>" \
--body "$BODY"
If draft is true:
gh pr create \
--base "$BASE" \
--title "<type>(<scope>): <summary>" \
--body "$BODY" \
--draft
# Confirm PR was created
gh pr view --json number,url,title,state
# Check CI was triggered
gh pr checks
Print the PR URL at the end.
Fixes #N or Related to #N