Analyze Git changes and suggest appropriate branch names
Generates conventional Git branch names by analyzing current changes and status.
/plugin marketplace add thkt/claude-config/plugin install complete-workflow-system@thkt-development-workflowsinheritAnalyze current Git changes and suggest appropriate branch names following conventional patterns.
Implementation: This command delegates to the specialized branch-generator subagent for optimal performance and context efficiency.
When invoked, this command:
branch-generator subagent via Task tool/branch
Analyzes current changes and suggests branch names.
/branch "Adding user authentication with OAuth"
Incorporates description into suggestions.
/branch "PROJ-456"
Includes ticket number in branch name.
| Prefix | Use Case |
|---|---|
feature/ | New functionality |
fix/ | Bug fixes (including urgent) |
refactor/ | Code improvements |
docs/ | Documentation |
test/ | Test additions/fixes |
chore/ | Maintenance tasks |
perf/ | Performance improvements |
style/ | Formatting/styling |
<type>/<scope>-<description>
<type>/<ticket>-<description>
<type>/<description>
✅ feature/auth-add-oauth-support
✅ fix/api-resolve-timeout-issue
✅ docs/readme-update-install-steps
✅ feature/PROJ-123-user-search
❌ new-feature (no type prefix)
❌ feature/ADD_USER (uppercase)
❌ fix/bug (too vague)
❌ update_code (wrong separator)
The command provides:
Works seamlessly with:
/commit - Create branch first, then commit/pr - Generate PR description after branching/think - Planning before branchingThe subagent only executes git commands:
git branch --show-current - Check current branchgit status - Check file statusgit diff - Analyze changes/commit - Generate commit messages/pr - Create PR descriptions/research - Investigation before branchingThis command is optimized for minimal context usage:
Note: For implementation details, see .claude/agents/git/branch-generator.md