Skip to content
Development
Command

/create-pull-request

Auto-generate Pull Request with comprehensive description, test plan, and changelog. Uses gh CLI for creation.

From plugin
fusengine-agents
2733 skills37 agents33 commands
Install
> /plugin marketplace add fusengine/agents

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-pull-request

Context preview

What this command does when you run it.

Auto-generate Pull Request with comprehensive description, test plan, and changelog. Uses gh CLI for creation.

Command definition

create-pull-request.md
description: Auto-generate Pull Request with comprehensive description, test plan, and changelog. Uses gh CLI for creation.
disable-model-invocation: false

Create Pull Request

Generate and create a comprehensive Pull Request:

1. **Analyze Branch Changes**:

   git log main..HEAD --oneline
   git diff main...HEAD --stat

2. **Extract Commit Information**:

  • Parse all commit messages since branch diverged from main
  • Identify key features/fixes/changes
  • Categorize changes (Features, Bug Fixes, Documentation, etc.)

3. **Generate PR Description**:

   ## Summary
   [Concise overview of changes]

   ## Changes
   - ✨ Feature: [Description]
   - 🐛 Fix: [Description]
   - 📚 Docs: [Description]

   ## Test Plan
   - [ ] Unit tests pass (`bun test`)
   - [ ] Linters pass (`bun run lint`)
   - [ ] Manual testing completed
   - [ ] [Specific test scenario]

   ## Breaking Changes
   [None / List any breaking changes]

   ## Screenshots
   [If applicable]

4. **Create PR**:

   gh pr create --title "[TITLE]" --body "$(cat <<'EOF'
   [GENERATED DESCRIPTION]
   EOF
   )"

5. **Output PR URL**

**Arguments**:

  • $ARGUMENTS will be used as PR title or additional context

**Example Usage**:

  • `/create-pull-request Add authentication` → Creates PR with title
  • `/create-pull-request` → Auto-generates title from commits
Read more
Ships withfusengine-agents

A plugin ecosystem that turns Claude Code into a supervised, multi-agent development environment.

Get the whole plugin

Other commands on fusengine-agents.