Skip to content
cccskills
FreePublished on GitHub

draft-pr

Prepare commits, push a branch, and create a draft PR targeting your base branch.

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

See how to install

Files included (1)

  • SKILL.md1.7 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Draft PR

Invocation

This skill defaults to running in the Developer persona. If you are not already running as Developer (for example, the user invoked /draft-pr directly or you are the parent agent), delegate execution to a Developer subagent and stop. If you are already running as Developer, continue with the steps below.

Objective

Prepare a clean branch and create a draft PR targeting your base branch.

Instructions

  1. Review the current changes with git status.
  2. Run the applicable verification checks before proceeding.
  3. Confirm or create a feature branch if the current branch is your base branch.
  4. Gather commit details and use a conventional commit message (see below).
  5. Push the branch.
  6. Generate the PR body via /pr-description.
  7. Create the draft PR targeting your base branch. PR title: if the branch name contains a ticket key, include it in the PR title. If there is no recognizable key and the user did not supply one, omit it.
  8. End with the commit hash, branch name, PR URL or creation instructions, and the recommended next step: /review.

Commit messages

  • Format: type(scope): subject (scope optional). Types: feat, fix, refactor, perf, docs, test, build, ci, chore, revert.
  • Subject: imperative, concise, lowercase except proper nouns/acronyms.
  • Do not add auto-generated Co-authored-by: trailers from tooling.
  • Before the first commit on a change, run a full verification pass from the repo root; targeted checks are fine while iterating but not a substitute for that pre-commit pass.

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

brief

Free

Create a product brief document for a feature or project.

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

g2i-ai/agents52Updated Apr 21, 2026

code

Free

Implement production changes with or without new test coverage.

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

g2i-ai/agents52Updated Apr 21, 2026

Generate a PR description for the current branch against your base branch.

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

g2i-ai/agents52Updated Apr 21, 2026

review

Free

Review a branch or PR for merge readiness and produce a QA report.

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

g2i-ai/agents52Updated Apr 21, 2026

spec

Free

Transform a product brief into a technical specification.

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

g2i-ai/agents52Updated Apr 21, 2026

tdd

Free

Practice test-driven development for new features and bug fixes.

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

g2i-ai/agents52Updated Apr 21, 2026

See all skills by g2i-ai

Report a problem with this skill