
Create Draft PR
Commit, push, and create a draft PR using the pr-description format, with UX flow...
Install
npx skills add trycompai/crm --skill create-draft-pr -g -a claude-code -y- Repository
- trycompai/crm11.8k
- Category
- Design
- Updated
- 4d ago
- License
- MIT
- Context cost
- Lightabout 547 tokens
- Runs scripts
- No, instructions only
What it does
Commit, push, and create a draft PR using the pr-description format, with UX flow context when relevant.
Create Draft PR
Commit all changes, push to remote, and create a draft pull request with a focused generated description.
Steps
- Run
git statusto see changes - Run
git diffto understand what changed - Run
git logto see commit message style - If on
main, create a new branch in the format<initials>/<feature>or the project's branch naming convention, then switch to it - Stage and commit changes with a concise message
- Push branch to remote with
-uflag - Generate the PR description using the
pr-descriptionskill's description format. - If the change is user-facing, workflow-oriented, or architectural, include a concise UX flow section using the
ux-flow-planstyle. - Create draft PR using
gh pr create --draft - If you created the branch (were on
main), switch back tomainafter the PR is created
PR Body Format
Use the pr-description skill's format as the base:
## Summary
<One sentence describing the overall change>
- Additional note if needed
- Another note if needed
## Problem
Describe the issue being addressed. What was broken, missing, or suboptimal? Be specific about the root cause.
## Solution
Explain the approach taken to fix the problem. Include code snippets only when they clarify the core approach.
When relevant, add this section between Problem and Solution:
## UX Flow
```text
Current flow
└─ ...
Desired flow
└─ ...
```
Only include UX Flow when it helps explain the product behavior, user journey, or architecture boundary. Keep it short and use the ux-flow-plan tree style.


