create-pr
9
总安装量
6
周安装量
#33279
全站排名
安装命令
npx skills add https://github.com/first-fluke/fullstack-starter --skill create-pr
Agent 安装分布
claude-code
4
antigravity
3
windsurf
2
opencode
2
cursor
2
codex
2
Skill 文档
Create PR
This skill streamlines the Pull Request process, ensuring consistent and high-quality PR descriptions.
Prerequisites
gh(GitHub CLI) must be installed and authenticated.- The current branch must have commits that are not yet on the remote (or a corresponding remote branch).
Workflow
- Analyze Context: Checks the git log to understand the changes (
feat,fix,chore). - Generate Metadata:
- Title: Uses the conventional commit format (e.g.,
feat: Implement user login). - Body: Summarizes the changes, links to issues, and provides verification steps.
- Title: Uses the conventional commit format (e.g.,
- Execute: Runs
gh pr create.
Usage
# Standard usage (interactive)
gh pr create
# Fully automated with flags
gh pr create --title "feat: Add user profile" --body "Implements user profile page..."
Best Practices for PRs
- Small & Focused: Keep PRs limited to a single logical change.
- Linked Issues: Always link to the task/issue (e.g.,
Closes #123). - Self-Review: Review your own diff before creating the PR.
- Verification: Explicitly state how you verified the change (screenshots, test output).