Create Draft Pull Request
Description
Create a draft pull request for the current branch following project conventions.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
Repository README
This is the README for drewipson/claude-code-config, shared by 5 entries
in this directory. It describes the repository, not this entry specifically.
Create Draft Pull Request
Create a draft pull request for the current branch following project conventions.
Instructions
**Verify prerequisites:**
- Check current branch:
git branch --show-current - Ensure commits exist:
git log origin/main..HEAD - Confirm branch is pushed:
git push -u originif needed
- Check current branch:
**Analyze all changes:**
- Review full diff:
git diff main...HEAD - List all commits:
git log main..HEAD --oneline - Understand the scope and purpose of all changes
- Review full diff:
**Generate PR description with this structure:**
## Summary
Brief overview of what this PR accomplishes (2-3 sentences).
## Changes
- **Feature/Fix Name**: Description of change
- **Another Change**: Description
- List all significant changes
## Technical Details
- Implementation approach or architectural decisions
- Key files modified
- Any dependencies added or updated
## Testing
- [ ] Tested in Extension Development Host
- [ ] Manual testing completed
- [ ] Cross-platform testing (if applicable)
- [ ] No console errors or warnings
## Screenshots (if applicable)
Add screenshots for UI changes
## Breaking Changes
None / List any breaking changes
## Checklist
- [ ] Code follows project style guidelines
- [ ] TypeScript strict mode compliance (no `any` types)
- [ ] Error handling implemented
- [ ] Documentation updated (CLAUDE.md, README.md)
- [ ] No debugging code or console.log statements
- [ ] Tested thoroughly
- Create the draft PR:
gh pr create --draft \
--title ": " \
--body ""
PR Title Format
Use conventional commit format:
:
**Examples:**
feat: add visual hook builder with multi-step wizardfix: resolve file watcher crash on Windowsrefactor: extract file discovery logic to servicedocs: comprehensive VS Code extension development guide
PR Best Practices
Title
- Use conventional commit type (feat, fix, docs, refactor, etc.)
- Keep under 72 characters
- Be specific and descriptive
- Lowercase except proper nouns
Description
- Comprehensive but concise: Include all relevant information
- Context: Why is this change needed?
- Approach: How was it implemented?
- Testing: What testing was performed?
- Screenshots: For any UI changes
- Breaking changes: Clearly document if applicable
Before Creating
- Ensure all tests pass
- Remove debugging code
- Update documentation
- Rebase on latest main if needed
- Review your own changes first
Output
After creating the draft PR:
- Display the PR URL
- Show PR number and title
- List changed files count
- Show next steps:
- Request review when ready
- Convert from draft to ready for review
- Address any CI/CD feedback
Example
✓ Created draft pull request
PR #42: feat: add visual hook builder
https://github.com/username/claude-code-manager/pull/42
📝 Files cha
Related Skills
Epic Sync
Sync epic issue bodies, labels, and local coordination snapshots from GitHub.
Git 使用 Git Worktrees
创建孤立的 Git worktrees,带有智能目录选择与安全验证。
Git Claude skills github
[Building agent skills blog](https://www.anthropic.com/engineering/equipping-agents-for-the-real-world-with-ag
Git #148
, [#161](https://github.com/affaan-m/everything-claude-code/pull/161))
Git GitHub MCP
| Token | Repos, issues, PRs, workflows |
Git GitHub MCP Server
Official first-party server to read repos, manage issues/PRs, and automate workflows.
Git