| name | create-pr-from-spec |
| description | Create GitHub Pull Request from specification using pull_request_template.md. Use when: spec needs to be converted to PR, spec is ready for review/merge, need to automate PR creation from specification file with template-based body and title. |
| allowed-tools | Read, Grep, Glob, Bash |
Create Pull Request from Specification
Create a GitHub Pull Request for a specification using the pull_request_template.md template located at ${workspaceFolder}/.github/pull_request_template.md.
Overview
This skill automates the creation of GitHub Pull Requests directly from specifications. It follows a structured process:
- Analyzes the specification template requirements
- Creates a draft PR with the target branch
- Verifies no duplicate PRs exist
- Updates PR body and title with template-compliant content
- Marks PR as ready for review
- Automatically assigns to the creator
- Returns PR URL to user
Key Benefits:
- ✅ Automated PR creation from specifications
- ✅ Template-compliant PR body and title
- ✅ Duplicate PR prevention
- ✅ Auto-assignment to creator
- ✅ Streamlined spec-to-PR workflow
When to Use
Use this skill when:
- Specification is ready to merge - Convert finalized spec to PR
- Need automated PR creation - Avoid manual PR drafting
- Template compliance required - Ensure PR follows pull_request_template.md
- Multiple PRs from specs - Batch process specifications into PRs