/create-pr

> Create a pull request with summary, test plan, and proper labeling.

170 stars

Best use case

/create-pr is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

> Create a pull request with summary, test plan, and proper labeling.

Teams using /create-pr should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/create-pr/SKILL.md --create-dirs "https://raw.githubusercontent.com/Miosa-osa/canopy/main/library/skills/development/create-pr/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/create-pr/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How /create-pr Compares

Feature / Agent/create-prStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

> Create a pull request with summary, test plan, and proper labeling.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# /create-pr

> Create a pull request with summary, test plan, and proper labeling.

## Usage
```
/create-pr [--base <branch>] [--draft] [--title "title"]
```

## What It Does
Analyzes all commits on the current branch vs the base branch, generates a PR title and description, pushes the branch, and creates the PR using `gh`. Includes a summary of changes, test plan, and links to related issues.

## Implementation
1. **Analyze changes** -- `git log` and `git diff` against base branch.
2. **Generate PR title** -- concise (<70 chars), focused on the "what".
3. **Generate PR body** -- summary bullets, test plan checklist, related issues.
4. **Push branch** -- `git push -u origin <branch>`.
5. **Create PR** -- `gh pr create` with title, body, labels, reviewers.
6. **Return URL** -- display the PR link.

## Examples
```bash
# Create PR against main
/create-pr

# Create draft PR against specific base
/create-pr --base develop --draft

# Create PR with explicit title
/create-pr --title "Add user authentication flow"
```

Related Skills

ads create

170
from Miosa-osa/canopy

Campaign concept and copy brief generator for paid advertising. Reads brand-profile.json and optional audit results to produce structured campaign concepts, messaging pillars, and copy briefs. Outputs campaign-brief.md. Run after /ads dna and before /ads generate. Triggers on: "create campaign", "campaign brief", "ad concepts", "write ad copy", "campaign strategy", "ad messaging", "creative brief", "generate concepts"

create-spec

170
from Miosa-osa/canopy

Guided spec creation through 9 phases from discovery to testing strategy. Supports spec types: library, feature, change. Produces a complete specification document with requirements, architecture, constraints, and YAML test data. Interactive or autonomous modes. Triggers on: "create spec", "write spec", "spec out", "specification", "design document"

/create-operation

170
from Miosa-osa/canopy

> Define a new operation (a packaged workflow with agents, skills, and deliverables).

/create-agent

170
from Miosa-osa/canopy

> Define a new specialist agent with role, capabilities, triggers, and routing rules.

/do

170
from Miosa-osa/canopy

> The agent's primary skill. Customize this to match your agent's purpose.

/report

170
from Miosa-osa/canopy

> Generate structured reports. Director-owned.

/primary

170
from Miosa-osa/canopy

> Main workflow execution and routing. Director-owned.

Qualify

170
from Miosa-osa/canopy

## Command

Prospect

170
from Miosa-osa/canopy

## Command

Close Plan

170
from Miosa-osa/canopy

## Command

Battlecard

170
from Miosa-osa/canopy

## Command

Spec

170
from Miosa-osa/canopy

## Command