create-pull-request

Create a branch, run CI checks, update CHANGELOG, and push for a PR.

Updated May 27, 2026
One-click install
npx skills add https://github.com/santanapol/agent-skills --skill create-pull-request-santanapol
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-pull-request
Source: https://github.com/santanapol/agent-skills/tree/main/.cursor/skills/create-pull-request
Command: npx skills add https://github.com/santanapol/agent-skills --skill create-pull-request-santanapol

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill eliminates the risk of unregulated direct pushes to the main branch and missing CHANGELOG updates, ensuring all code changes follow a standardized, reviewable Pull Request workflow that aligns with team CI quality gates.

Core Features & Use Cases

  • Enforced Branch Creation: Automatically prevents direct commits to main by requiring a new feature or fix branch for all changes.
  • Pre-Push CI Validation: Runs local project CI checks (lint, tests, audits) before pushing to catch issues early and avoid failed GitHub Actions runs.
  • Mandatory CHANGELOG Updates: Ensures all changes are documented in the CHANGELOG.md file under the [Unreleased] section, aligned with the actual code diff.
  • Use Case: A developer finishing a login bug fix can use this Skill to automatically create a fix branch, run tests, update the CHANGELOG with the fix details, push the branch, and get a direct link to open a PR for team review, all while avoiding accidental main branch pushes.

Quick Start

Use the create-pull-request skill after completing your code changes to automatically create a new branch, run local CI checks, update the CHANGELOG, push the branch, and get a link to open a Pull Request for team review.

Frequently Asked Questions about create-pull-request

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

FAQPage Schema
How do I prevent accidental direct commits to the main branch?

To prevent direct commits to the main branch, this Skill enforces branch creation by automatically requiring a new feature or fix branch for all code changes before pushing. This ensures modifications follow a standardized, reviewable Pull Request workflow.

How do I automate CHANGELOG updates when creating a pull request?

Automating CHANGELOG updates during pull request creation ensures all code changes are documented under the [Unreleased] section in CHANGELOG.md. This Skill aligns the changelog entries with the actual code diff to maintain consistent documentation for team review.

Can I run local CI validation before pushing my branch to GitHub?

Yes, you can run local CI validation before pushing to GitHub. This Skill executes local project CI checks including lint, tests, and audits beforehand to catch issues early and avoid failed GitHub Actions runs during your branch management process.

What is the best way to manage branch creation and PR generation for code review?

The best way to manage branch creation and PR generation is to automate the workflow end-to-end. This Skill handles branch creation, local CI validation, commit and push automation, and delivers a direct PR creation link for team code review.

Does this pull request workflow require any dependencies to run?

No, this pull request workflow does not require any external dependencies to run. It operates independently to enforce branch management and changelog documentation without needing additional packages or modules installed in your environment.

Why should I update the CHANGELOG.md file for unreleased code modifications?

Updating the CHANGELOG.md file for unreleased code modifications ensures all changes are documented under the [Unreleased] section and aligned with the actual code diff. This enforces consistent changelog documentation required for standardized team code review.