Skip to content
cccskills
FreePublished on GitHub

pr

Open or update a draft PR for the current branch. Use when: create PR, open PR, draft PR, pull request, prepare for review.

The English summary is being prepared. Showing the original description.

Works withGitHub
See how to install

Files included (1)

  • SKILL.md2.2 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Draft PR Creator

Creates or updates a draft pull request for the current branch.

Usage

  • /pr - Create draft PR for current branch (or update if one exists)
  • /pr <url> - Update existing PR description

Workflow

1. Ensure feature branch and commit

NEVER commit to main unless the user explicitly requests it.

git branch --show-current
git status

If on main, create and switch to a feature branch before doing anything else.

Branch naming follows the PR type prefix:

  • feat/ — new features
  • fix/ — bug fixes
  • refactor/ — refactoring
  • chore/ — maintenance

2. Gather context

git log main..HEAD --oneline
git diff main...HEAD --stat

3. Check if PR already exists

gh pr view --json number,title,body 2>/dev/null

4. Write PR description

Use the template below. Keep it concise and natural.

5a. If NO existing PR - Create draft PR

gh pr create --draft --title "<title>" --body "$(cat <<'EOF'
<body>
EOF
)"

5b. If PR already exists - Update description

gh pr edit --title "<title>" --body "$(cat <<'EOF'
<updated body>
EOF
)"

Report the PR URL to the user when done.

PR Title Format

<type>: <short description>

Types: feat:, fix:, refactor:, test:, chore:, docs:

Rules:

  • Lowercase after prefix
  • Present tense imperative ("add" not "added")
  • Under 70 characters

PR Body Template

Closes #<issue_number>

## Summary

1-2 paragraphs explaining what this does and why.

## Changes

- Highlight 1
- Highlight 2
- Highlight 3

## Testing

- [ ] `mix test` passes
- [ ] `mix format --check-formatted` passes
- [ ] `mix compile --warnings-as-errors` passes

Omit the Closes #... line if there is no source issue.

Style

  • Fluid prose in Summary — natural writing, not robotic
  • 2-3 bullet points in Changes — highlights only, not a file list
  • No file lists — GitHub shows that in "Files changed"

Pipeline

/dev <issue> -> /review -> /commit -> /pr -> merge

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

commit

Free

Create a git commit following project conventions. Use when: commit, commit this, make a commit, commit changes, git commit, save changes, commit my work, stage and commit, detailed commit.

The English summary is being prepared. Showing the original description.

leandronsp/curupira22Updated Mar 21, 2026

dev

Free

Implementer - fetches a GitHub issue, builds an implementation plan, then implements using TDD. Use when: implement, build this, code this, add this feature, TDD, test first, red green refactor, pick a task, next task, dev.

The English summary is being prepared. Showing the original description.

leandronsp/curupira22Updated Mar 21, 2026

po

Free

Product Owner - scans codebase and creates or amends GitHub issues with PRD. Use when: PRD, feature, issue, create issue, amend issue, what should we build, plan feature, design feature, scope, requirements.

The English summary is being prepared. Showing the original description.

leandronsp/curupira22Updated Mar 21, 2026

review

Free

Deep code review - Elixir idioms, Phoenix patterns, architecture, safety. Launches 3 parallel reviewers + plan-reviewer gate. Use when: review, review this, code review, check this code, review my changes, is this good, what do you think, code smells.

The English summary is being prepared. Showing the original description.

leandronsp/curupira22Updated Mar 21, 2026

See all skills by leandronsp

Report a problem with this skill