sdcorejs-pr-create

Create GitHub pull requests with auto-generated titles and reviewer-focused bodies.

2|Updated Apr 18, 2026
One-click install
npx skills add https://github.com/sdcorejs/sdcorejs-agent --skill sdcorejs-pr-create
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sdcorejs-pr-create
Source: https://github.com/sdcorejs/sdcorejs-agent/tree/main/plugin/skills/sdcorejs-pr-create
Command: npx skills add https://github.com/sdcorejs/sdcorejs-agent --skill sdcorejs-pr-create

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires git, gh, bash.

What problem does it solve?

Turns a feature branch and its commit history into a ready-to-review pull request with a clear bilingual title and a structured body generated from commits and diffs, so reviewers can understand the change quickly.

Core Features & Use Cases

  • Commit + diff driven PR writing: Builds a reviewer-friendly PR title and body from full commit messages (including bodies) and triple-dot merge-base diffs.
  • Language-aware output (VI/EN): Detects whether to write in Vietnamese or English based on commit message diacritics and/or target project language.
  • End-to-end PR creation workflow: Verifies base branch, checks for uncommitted changes and empty commit ranges, pushes the branch if needed, and opens/returns the PR via GitHub CLI.

Quick Start

Ask to create the pull request from the current feature branch by saying "tạo PR" or "open pull request".

Frequently Asked Questions about sdcorejs-pr-create

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

FAQPage Schema
How do I create a GitHub pull request from commit history and diff?

To create a GitHub pull request from commit history and diff, the Skill automates PR creation by analyzing base-to-head commits and merge-base diffs to generate a reviewer-focused title and body via the gh CLI.

How does this PR automation generate a bilingual title and body?

PR automation generates a bilingual title and body by detecting Vietnamese or English based on commit message diacritics and target project language, structuring the output from full commit messages and triple-dot merge-base diffs.

Do I need the gh CLI and a feature branch to automate pull request creation?

Yes, you need the gh CLI for authentication and PR operations, along with a valid non-main/non-master feature branch containing committed changes, to automate pull request creation and push the branch if needed.

Does this PR automation work with Angular Portal, NestJS, and Next.js repositories?

Yes, this PR automation works with Angular Portal, NestJS, Next.js, and the sdcorejs-agent repo, applying its commit and diff driven workflow when a feature branch is ready to ship across these specific projects.

What happens if there is an empty diff or duplicate pull request?

For an empty diff or duplicate pull request, the Skill guards against these scenarios by verifying the base branch, checking uncommitted changes, and validating the commit range before opening or returning a PR.

How do I trigger pull request creation from the current feature branch?

To trigger pull request creation from the current feature branch, simply say "tạo PR" or "open pull request", and the Skill will verify your branch, push if needed, and open the PR via GitHub CLI.