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
2233 skills43 agents33 commands
Install
$ npx -y skills add fusengine/agents --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-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, auto-invoked