Create GitHub pull requests by analyzing branch diff and following the project template
Create GitHub pull requests by analyzing branch diff and following the project template.
gh) authenticated# Get current branch name
git branch --show-current
# Check if branch is pushed
git status
# Get diff against main
git diff main...HEAD --stat
git diff main...HEAD
# Get commit history for this branch
git log main..HEAD --oneline
Review the diff to understand:
Use gh pr create with the project template structure:
gh pr create --title "<type>: <description>" --body "$(cat <<'EOF'
Fixes #issue-number-here
# What
- [Describe specific changes made]
- [List modified components/files]
# Why
- [Explain the motivation]
- [Reference related issues]
# Testing done
- [List tests run]
- [Describe manual testing]
# Decisions made
- [Document any non-obvious choices]
# Checks
- [x] I have tested this code
- [x] I have reviewed my own PR
- [ ] I have created an issue for this PR
- [x] I have set a descriptive PR title compliant with conventional commits
# Reviewing tips
- [Guidance for reviewers]
# User facing release notes
- [Changes visible to end users, if any]
EOF
)"
| Type | Use Case | |------|----------| | feat | New feature | | fix | Bug fix | | docs | Documentation only | | style | Formatting, no code change | | refactor | Code change, no feature/fix | | perf | Performance improvement | | test | Adding/fixing tests | | chore | Maintenance, deps, config |
gh pr create --title "feat: add user authentication" --body "..."
gh pr create --title "fix: resolve timeout in consensus worker" --body "..."
gh pr create --title "fix: handle empty contract data" --body "Fixes #123..."
Fixes #N or Closes #N for auto-closegh pr create --draftgit push -u origin $(git branch --show-current)Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer