Skip to content
Development
Command

/update-branch-name

Follow these steps to update the current branch name:

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/update-branch-name

Context preview

What this command does when you run it.

Follow these steps to update the current branch name:

Command definition

update-branch-name.md

Update Branch Name

Follow these steps to update the current branch name:

1. Check differences between current branch and main branch HEAD using `git diff main...HEAD` 2. Analyze the changed files to understand what work is being done 3. Determine an appropriate descriptive branch name based on the changes 4. Update the current branch name using `git branch -m [new-branch-name]` 5. Verify the branch name was updated with `git branch`

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