create-pr

Stage, commit, push, and create a GitHub Pull Request with structured sections.

1|Updated Oct 9, 2018
One-click install
npx skills add https://github.com/Apostolos-Delis/Dotfiles --skill create-pr-apostolos-delis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-pr
Source: https://github.com/Apostolos-Delis/Dotfiles/tree/main/.agents/skills/create-pr
Command: npx skills add https://github.com/Apostolos-Delis/Dotfiles --skill create-pr-apostolos-delis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the entire process of preparing and submitting code changes for review, from staging and committing to pushing and creating a GitHub Pull Request.

Core Features & Use Cases

  • Automated Git Operations: Stages all changes, analyzes diffs, and commits code with intelligent message generation.
  • Code Formatting: Automatically formats code based on detected language tooling (JS/TS, Python, Ruby).
  • PR Creation: Generates a GitHub Pull Request with a structured body, including context, test plans, and mitigation strategies.
  • Use Case: After completing a new feature, you can run this skill to ensure your code is clean, well-committed, and a PR is ready for review with all necessary details filled in.

Quick Start

Use the create-pr skill to stage, commit, push, and create a GitHub PR for your current changes.

Frequently Asked Questions about create-pr

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

FAQPage Schema
How do I automate GitHub pull request creation from git commits?

To automate GitHub pull request creation, this Skill stages your changes, analyzes diffs, generates commit messages, and pushes to GitHub with a structured PR body. It handles repository checks and branch validation before submitting the pull request.

Can I auto-format code and generate commit messages before pushing a git branch?

Yes, you can auto-format code and generate commit messages before pushing. The Skill detects language tooling for JS/TS, Python, and Ruby, formats the code, analyzes the diffs, and intelligently generates a commit message prior to pushing the branch.

What is the best way to structure a pull request for code review?

The best way to structure a pull request for code review is using predefined sections for context, testing, and mitigation. This Skill constructs the PR body with those exact sections and performs a self-review of changes before submission.

Does this automated git workflow handle branch validation and repository checks?

Yes, this automated git workflow handles branch validation and repository checks. It ensures your local repository and branch are in a valid state before staging, committing, pushing, and creating the pull request.

How do I include test plans and mitigation strategies in an automated pull request?

To include test plans and mitigation strategies in an automated pull request, this Skill builds a structured PR body with predefined sections. It automatically formats the pull request with context, test plans, and mitigation strategies.