Commit changes, format code, and open a pull request according to project standards.
Install
mkdir -p .claude/skills/pr-couchers-org && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/11858" && unzip -o skill.zip -d .claude/skills/pr-couchers-org && rm skill.zipInstalls to .claude/skills/pr-couchers-org
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Commit all changes, push to a new branch, and create a pull request using the repo's PR template. Use when the user says to make a PR or submit changes.Key capabilities
- →Assess current Git status and changes.
- →Determine appropriate branch names.
- →Run linters and formatters before committing.
- →Create a new branch and commit changes.
- →Push to origin and create a pull request.
How it works
The skill standardizes the PR process by assessing Git changes, determining branch names, running linters, committing to a new branch, pushing to origin, and creating a pull request using a template.
Inputs & outputs
When to use pr
- →Submit feature code
- →Automate PR branch creation
- →Enforce linting before PR submission
About this skill
Create a Pull Request
Create a branch, commit, push, and open a PR for the current changes.
Steps
1. Assess the current state
Run in parallel:
git status(never use-uall)git diffandgit diff --stagedto understand all changesgit log --oneline -5to see recent commit message style
Identify which files should be committed. Do NOT commit files that are:
- Scratch/debug/temporary files
- Files containing secrets (
.env, credentials, etc.)
If there are no meaningful changes to commit, tell the user and stop.
2. Determine the branch name
Branch names in this repo follow the pattern: <area>/<type>/<short-description>
Where:
<area>is one of:backend,web,frontend,mobile,devops,docs, or another area that matches the changed files. For cross-cutting changes spanning multiple areas, pick the one that best describes the change.<type>is one of:feature,bugfix,fix,refactor, or similar<short-description>is a short kebab-case description
Infer area and type from the changed files and the nature of the changes. Never use a username as the area.
3. Run linters and formatters
Before committing, run the appropriate linters and formatters for the changed areas:
- Backend:
make formatandmake mypyfrom/app/backend - Web/Frontend: lint/format as appropriate
Fix any issues before proceeding. If linters produce changes, include those in the commit.
4. Create the branch and commit
If there are already commits on the current branch and no uncommitted changes remain (e.g. changes were already committed earlier), skip the commit and proceed to pushing.
Otherwise:
git checkout -b <branch-name>
git add <specific files> # add only the relevant files by name
git commit -m "<message>"
Write a concise commit message (1-2 sentences) that describes what changed and why.
5. Push the branch
git push -u origin <branch-name>
6. Create the PR
Read the PR template from .github/pull_request_template.md in this repo. Fill it in based on the actual changes:
-
Fill in the description at the top (what and why)
-
Fill in the Testing section with what was done or what should be done
-
Include the appropriate checklist(s) — backend, web, or both — based on which areas were changed. Remove checklists that don't apply.
-
Keep the "For maintainers" section as-is
-
Append the following note as the very last line of the PR body, after the "For maintainers" section (separated by a blank line):
_This PR was created with the Couchers PR skill._
gh pr create --base develop --title "<short title>" --body "$(cat <<'EOF'
<filled-in PR template>
_This PR was created with the Couchers PR skill._
EOF
)"
7. Report back
Tell the user the PR URL when done.
When not to use it
- →When there are no meaningful changes to commit.
- →When committing scratch/debug/temporary files.
- →When committing files containing secrets.
Limitations
- →Does not commit scratch/debug/temporary files.
- →Does not commit files containing secrets.
- →Requires specific branch naming conventions.
How it compares
This skill enforces a structured PR creation process, including linting, formatting, and template-based PR descriptions, which is more consistent than a manual approach.
Compared to similar skills
pr side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| pr (this skill) | 0 | 3mo | Review | Intermediate |
| fix-pr | 1 | 4mo | Review | Intermediate |
| resolve-checks | 1 | 6mo | Review | Intermediate |
| agent-github-pr-manager | 1 | 6mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
fix-pr
AztecProtocol
Fix a failing PR by analyzing CI logs and fixing errors. Autonomous workflow that identifies failures, rebases, fixes issues, and pushes.
resolve-checks
flowglad
Resolve all failing CI checks and address PR review feedback on the current branch's PR. Runs tests locally, fixes failures, incorporates valid review comments, and resolves addressed feedback. Use when CI is red, after receiving PR feedback, or before merging.
agent-github-pr-manager
ruvnet
Agent skill for github-pr-manager - invoke with $agent-github-pr-manager
agent-github-modes
ruvnet
Agent skill for github-modes - invoke with $agent-github-modes
agent-pr-manager
ruvnet
Agent skill for pr-manager - invoke with $agent-pr-manager
git-pr-workflows-git-workflow
sickn33
Orchestrate a comprehensive git workflow from code review through PR creation, leveraging specialized agents for quality assurance, testing, and deployment readiness. This workflow implements modern g