create-github-pull-request-from-specification

Creates GitHub pull requests from specification files using the repository pull request template.

Updated Aug 28, 2026
One-click install
npx skills add https://github.com/miyake-san/sogo-agent-platform --skill create-github-pull-request-from-specification-miyake-san
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-github-pull-request-from-specification
Source: https://github.com/miyake-san/sogo-agent-platform/tree/main/skills/core/create-github-pull-request-from-specification
Command: npx skills add https://github.com/miyake-san/sogo-agent-platform --skill create-github-pull-request-from-specification-miyake-san

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Manually drafting pull requests that follow a repository's pull_request_template.md and filling in every required section is repetitive and error-prone, especially when the PR must reflect an existing specification. ## Core Features & Use Cases - Template-Driven PR Creation: Reads the repository's pull_request_template.md to extract required sections and fills them with specification content. - Duplicate Detection: Checks for an existing pull request on the current branch before creating a new one, updating it instead when found. - Full PR Lifecycle: Creates the draft PR, updates title and body from the diff, marks it ready for review, assigns the author, and returns the PR URL. - Use Case: After finishing a feature branch, ask the agent to open a PR against the target branch; it produces a complete, template-compliant pull request assigned to you. ## Quick Start Create a GitHub pull request from my specification for the current branch targeting the main branch using the repository pull request template.

Frequently Asked Questions about create-github-pull-request-from-specification

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a GitHub pull request from a specification file?

Provide the target branch and let the skill read your repository's pull_request_template.md. It creates a draft PR, fills the title and body from the template and specification, marks it ready for review, and returns the PR URL.

How to avoid duplicate pull requests on the same branch?

The skill calls get_pull_request before creating anything. If a pull request already exists for the current branch, it skips creation and updates the existing PR's title and body instead.

Does this work with GitHub MCP pull request tools?

Yes, the workflow is built on GitHub MCP tools: create_pull_request, get_pull_request, get_pull_request_diff, update_pull_request, get_me, and update_issue. These must be available in the agent environment.

Can the pull request be auto-assigned to its creator?

Yes, the skill uses get_me to retrieve the authenticated user's username and passes it to update_issue, assigning the pull request to the person who created it.

What are the limitations of template-based PR creation?

The skill depends on a pull_request_template.md existing in the repository's .github directory and on the specification content being complete. It creates a single PR per specification and does not split work across multiple PRs.