create-pr
Installation
SKILL.md
create-pr
Create a branch, commit staged changes with a signed commit, and push to open a pull request.
When to use
- When the user asks to create a pull request
- When the user wants to commit and push their changes as a PR
- When the user runs
/create-pr
Instructions
-
Identify the default branch:
- Run
git remote show originor checkgit symbolic-ref refs/remotes/origin/HEADto determine the default branch (e.g.,mainormaster).
- Run
-
Review the current changes:
- Run
git statusandgit diffto understand what has been modified. - If there are no changes, inform the user and stop.
- Run
Related skills
More from guni1192/agent-skills
pasta
Perform PASTA (Process for Attack Simulation and Threat Analysis) threat modeling by guiding through 7 stages interactively.
7docker-init
Initialize Dockerfile and .dockerignore for the current project by detecting language, framework, and package manager.
7designdoc
Write a design document following Google's design doc practices. Guides through structured sections interactively to produce a comprehensive design doc.
5git-tag
Create a new semver-compliant git tag by bumping major, minor, or patch from the latest existing tag. Defaults to a patch bump and refuses to run unless on the default branch.
1