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.
npx skills add https://github.com/giuseppe-trisciuoglio/developer-kit --skill create-pr-from-spec
Create a GitHub Pull Request for a specification using the pull_request_template.md template located at ${workspaceFolder}/.github/pull_request_template.md.
This skill automates the creation of GitHub Pull Requests directly from specifications. It follows a structured process:
Key Benefits:
Use this skill when:
Trigger phrases:
Before using this skill, ensure:
main, develop).github/pull_request_template.md exists in the repository1. Analyze specification template
${workspaceFolder}/.github/pull_request_template.md2. Create pull request draft
create_pull_request tool to create draft PR to target branchget_pull_request to prevent duplicates3. Get pull request changes
get_pull_request_diff tool to analyze differences4. Update pull request
update_pull_request tool to populate PR body and title5. Mark ready for review
update_pull_request tool to change state from draft to ready for review6. Assign pull request
get_me to retrieve current user informationupdate_issue tool to assign PR to creator7. Return pull request URL
Input: Create PR from spec to main branch
Process:
1. Analyze pull_request_template.md
2. Create draft PR to main
3. Check for existing PRs
4. Update PR title: "feat: [Feature Name from Spec]"
5. Update PR body with template sections
6. Mark as ready for review
7. Assign to creator
Output: https://github.com/user/repo/pull/123
PR Title: feat: Implement user authentication system
PR Body:
## Description
Implements JWT-based authentication with token refresh mechanism
## Related Issue
Closes #456
## Changes
- Added JWT middleware
- Implemented token validation
- Added refresh token endpoint
## Testing
- Unit tests for auth middleware
- Integration tests for token endpoints
## Checklist
- [x] Tests pass
- [x] Documentation updated
- [x] No breaking changes
Input: Create PR from spec
Check: PR for current branch already exists?
→ Yes: Report error, don't create duplicate
→ No: Proceed with PR creation
Output: "PR already exists at https://github.com/user/repo/pull/789"
⚠️ Important:
.github/pull_request_template.md🚫 Limitations:
search - Analyze specification template requirementscreate_pull_request - Create new PR in draft modeget_pull_request - Check for existing PRs before creationget_pull_request_diff - Analyze PR changesupdate_pull_request - Update PR title, body, and stateupdate_issue - Assign PR to creatorget_me - Retrieve current user informationUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation
Use when completing tasks, implementing major features, or before merging to verify work meets requirements
Execute git commit with conventional commit message analysis, intelligent staging, and message generation. Use when user asks to commit changes, create a git commit, or mentions "/commit". Supports: (1) Auto-detecting type and scope from changes, (2) Generating conventional commit messages from diff, (3) Interactive commit with optional type/scope/description overrides, (4) Intelligent file staging for logical grouping
Comprehensive GitHub code review with AI-powered swarm coordination
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid overcomplication, make surgical changes, surface assumptions, and define verifiable success criteria.
Use this skill to review code. It supports both local changes (staged or working tree) and remote Pull Requests (by ID or URL). It focuses on correctness, maintainability, and adherence to project standards.
Refactor bloated AGENTS.md, CLAUDE.md, or similar agent instruction files to follow progressive disclosure principles. Splits monolithic files into organized, linked documentation.
Create high-quality git commits: review/stage intended changes, split into logical commits, and write clear commit messages (including Conventional Commits). Use when the user asks to commit, craft a commit message, stage changes, or split work into multiple commits.
Take giuseppe-trisciuoglio/create-pr-from-spec from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.