Create Pr logo

Create Pr

OrganizationPopular
ccusage
create-pr

Runs the full PR lifecycle. Use when creating a branch, committing, pushing, opening a PR, requesting AI review, replying to review threads, and driving CI to green.

Overview

Publisherccusage
Repositoryccusage
Skill namecreate-pr
Stars
19K
Forks
871
Bundled files
3
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 3 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by ccusage on GitHub. Read the source before you install it.

Installation

Install the Create Pr AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/ccusage/ccusage/tree/main/.agents/skills/create-pr
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ccusage/ccusage.git /tmp/ccusage
mkdir -p .claude/skills
cp -r /tmp/ccusage/.agents/skills/create-pr .claude/skills/create-pr
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Create Pr in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Create Pr on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Create Pr is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Create PR

This skill owns PR work in this repository: branch setup, opening the PR, AI review requests, reviewer thread replies, follow-up pushes, CI inspection, and merge.

A PR is one reviewable responsibility and may hold several atomic commits. A branch is not a PR boundary — split independent work into separate PRs and stack only dependent work.

Workflow

  1. Branch. Pushing to main needs explicit permission from the user; everything else goes through a feature branch named after the change (existing branches read <type>/<description>). Commits come from the commit skill, so they stay atomic and independently revertable. Leave unrelated formatter churn, generated files, and user edits outside the task unstaged.
  2. Push and open the PR — references/open-pr.md. A squash merge writes the PR title as the commit subject on main, so CI holds the title to the same Conventional Commit scope rules the commit skill describes.
  3. Request and handle AI review — references/ai-review.md, with the gh reply and thread-state calls in references/gh-review.md.
  4. Watch CI after opening and after every push with gh pr checks. Read the failing step logs and annotations rather than the summary, then use the fix-ci skill for the fix, and ask the bots for another pass if they do not rerun on their own.
  5. Merge only when the user explicitly asks and the conditions below hold: gh pr merge <pr> --squash --delete-branch. Squash is the repository's normal flow.

Ready means

  • The branch is pushed, the PR exists, and its body describes the change and the validation that ran.
  • CodeRabbit — and Cubic when it is available on the PR — reviewed the latest pushed commit, with no unresolved actionable feedback.
  • Every required check passes. Queued, cancelled, failing, or missing required checks all mean not ready.
  • The user has the PR URL plus any residual risk or pending external state.

When a bot or CI system stays silent past a reasonable polling window, state exactly what is pending instead of claiming completion, and leave the visible PR comment or CI state for follow-up.

Context

  • Reviewer bots act on a comment only when their handle is mentioned — in the initial request and in every reply asking them to do something.
  • Amending or force-pushing after reviewers have read the PR needs an explicit request from the user.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Create Pr AI skill do?

Runs the full PR lifecycle. Use when creating a branch, committing, pushing, opening a PR, requesting AI review, replying to review threads, and driving CI to green.

Why use Create Pr on TypingMind?

Because you install it once and use it with any model. Create Pr is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Create Pr in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/ccusage/ccusage/tree/main/.agents/skills/create-pr. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Create Pr?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Create Pr?

As many as you like. As long as a model supports skills, you can use Create Pr with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Create Pr AI skill free?

It is published on GitHub by ccusage. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇