بنقرة واحدة
ldl-create-pull-request
// Commit changes and create a draft pull request. Trigger on "create a pull request", "create a PR", "open a PR", "make a PR".
// Commit changes and create a draft pull request. Trigger on "create a pull request", "create a PR", "open a PR", "make a PR".
| name | ldl:create-pull-request |
| description | Commit changes and create a draft pull request. Trigger on "create a pull request", "create a PR", "open a PR", "make a PR". |
| disable-model-invocation | true |
| allowed-tools | Bash(git:*, gh:*), Read, Write, Edit, Skill, AskUserQuestion |
| argument-hint | [pr-title] |
Orchestration skill that commits changes and creates a draft pull request following team standards.
git branch --show-currentgit log -1 --onelinegit diff --stat origin/main...HEAD 2>/dev/null || git diff --stat main...HEAD 2>/dev/null || echo "No diff available"When this skill is invoked:
Invoke the ldl:push-changes skill with any arguments passed to this skill.
Wait for completion. Look for the completion message:
Do NOT send any acknowledgment message if push-changes succeeds - just continue to Step 2.
CRITICAL: You MUST complete PR creation in a SINGLE message. PRs are ALWAYS created in draft mode.
In ONE message:
<type>: <short description> (e.g., feat: add config resolution util, fix: handle missing exports field)feat, fix, chore, refactor, test, docs, perf, ci, build## Description and Context
[Brief description of what changed and WHY — 2-3 sentences. The diff shows the "what", so focus on the motivation and context behind the change.]
## Pre-review checklist
- [ ] The `/ldl:code-check` skill has been run and the feedback has been addressed
- [ ] Tests have been added for new behaviors
- [ ] Manually tested the changes
## Screenshots
[Add screenshots here if applicable, otherwise remove this section]
## TODO
[Any remaining work or follow-ups, otherwise remove this section]
## Who to Notify
@brandenrodgers @camden11 @joe-yeager @chiragchadha1
gh pr create --draft --title "..." --body "..."You have the capability to call multiple tools in a single response. Complete the analysis and PR creation in ONE message. Do not send intermediate messages like "Analyzing changes..." or "Creating PR...". Do not send any text before the tool calls.
After PR creation completes, display:
✓ Pull request created in draft mode: [URL]
Your PR is ready for you to review. Mark it as ready when you're done!
--draft. Never create a non-draft PR.<type>: <description>)./create-pull-request "feat: add config resolution util"
→ Calls push-changes (runs checks, commits, pushes) → creates draft PR
/create-pull-request
→ Calls push-changes (runs checks, generates commit message, pushes) → creates draft PR with Conventional Commits title
/create-pull-request
→ Calls push-changes → code-check fails with issues → STOPS
User then fixes issues or asks Claude to fix them, then re-runs:
/create-pull-request
→ Calls push-changes → all checks pass → proceeds with commit, push, and draft PR creation