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.zip

Installs 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.
152 chars✓ has a “when” trigger
Intermediate

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

You give it
Current Git changes
You get back
New Git branch and a pull request on GitHub

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 diff and git diff --staged to understand all changes
  • git log --oneline -5 to 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 format and make mypy from /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.

SkillInstallsUpdatedSafetyDifficulty
pr (this skill)03moReviewIntermediate
fix-pr14moReviewIntermediate
resolve-checks16moReviewIntermediate
agent-github-pr-manager16moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry