Skip to content
Development
Command

/pr

Create a branch, split changes into logical commits, and open a pull request

From plugin
claude-code-everything-you-need-to-know
3k7 skills5 agents7 commands
Install
$ npx -y skills add wesammustafa/Claude-Code-Everything-You-Need-to-Know --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/pr

Context preview

What this command does when you run it.

Create a branch, split changes into logical commits, and open a pull request

Command definition

pr.md
name: pr
description: Create a branch, split changes into logical commits, and open a pull request

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-everything-you-need-to-know

From first prompt to agent teams — one guide. A practical guide to Claude Code — from your first prompt to multi-agent automation, hooks, MCP, and team workflows. Built around clear mental models and real examples, not marketing.

Get the whole plugin
Stats
3,017
Stars
342
Forks
Maintained
Maintenance
Python
Language
MIT
License
1mo ago
Last commit
1y ago
Created

Repo: wesammustafa/Claude-Code-Everything-You-Need-to-Know