Skip to content
Development
Command

/create-pr

Create a new branch, commit changes, and submit a pull request.

From plugin
claude-code-templates
30k200 skills200 agents200 commands2 MCP
Install
$ npx -y skills add davila7/claude-code-templates --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/create-pr

Context preview

What this command does when you run it.

Create a new branch, commit changes, and submit a pull request.

Command definition

create-pr.md

Create Pull Request Command

Create a new branch, commit changes, and submit a pull request.

Behavior

  • Creates a new branch based on current changes
  • Formats modified files using Biome
  • Analyzes changes and automatically splits into logical commits when appropriate
  • Each commit focuses on a single logical change or feature
  • Creates descriptive commit messages for each logical unit
  • Pushes branch to remote
  • Creates pull request with proper summary and test plan

Guidelines for Automatic Commit Splitting

  • Split commits by feature, component, or concern
  • Keep related file changes together in the same commit
  • Separate refactoring from feature additions
  • Ensure each commit can be understood independently
  • Multiple unrelated changes should be split into separate commits
Ships withclaude-code-templates

Ready-to-use configurations for Anthropic's Claude Code. A comprehensive collection of AI agents, custom commands, settings, hooks, external integrations (MCPs), and project templates to enhance your development workflow.

Get the whole plugin, auto-invoked
Stats
30,155
Stars
18
Views
3,377
Forks
Active
Maintenance
Python
Language
MIT
License
27m ago
Last commit
1y ago
Created

Repo: davila7/claude-code-templates