Prepare complete PR content ready for creation via reedom-gh:pr-maker agent.
This skill is limited to using the following tools:
scripts/cleanup.shscripts/collect-info.shCollect data, draft complete PR content, cleanup, return ready-to-use JSON.
| Arg | Default | Description |
|---|---|---|
--against | origin/main | Target branch |
--lang | system | PR content language |
--prefix | "" | Prefix to prepend to title |
${CLAUDE_PLUGIN_ROOT}/skills/create-draft-pr/scripts/collect-info.sh -a <target> --lang <lang>${CLAUDE_PLUGIN_ROOT}/skills/create-draft-pr/scripts/cleanup.sh <temp_dir>{
"current_branch": "feature/x",
"target_branch": "origin/main",
"push_needed": true,
"matched_spec": "auth",
"pr": {
"title": "feat(auth): add login module",
"body": "## Summary\n..."
},
"existing_pr": {
"exists": false,
"number": null
},
"preceding_pr": {
"exists": true,
"number": 122,
"updated_body": "## PR Order\n- this PR\n- #NEW\n\n<original body>"
}
}
Agent replaces #NEW with actual PR number after creation.
<prefix> type(scope): description
--prefix value if providedLanguage: lang.effective
## Summary
What and why (2-3 sentences)
## Changes
- Key changes
## Testing
How to verify
## Related Issues
closes #N
If preceding PR exists, prepare updated_body:
## PR Order
- this PR
- #NEW
<original body>
Use ## PR順序 for Japanese.
When split: read manifest.json, prioritize source files, skip generated.
{"error": "message", "error_code": "NOT_GIT_REPO"}