Files
gh-joshuaoliphant-claude-pl…/skills/adw-bootstrap/reference/scaled/commands/generate_branch_name.md
2025-11-30 08:28:42 +08:00

1.1 KiB

Generate Git Branch Name

Based on the Instructions below, take the Variables follow the Run section to generate a concise Git branch name following the specified format. Then follow the Report section to report the results of your work.

Variables

issue_class: $1 adw_id: $2 issue: $3

Instructions

  • Generate a branch name in the format: <issue_class>-issue-<issue_number>-adw-<adw_id>-<concise_name>
  • The <concise_name> should be:
    • 3-6 words maximum
    • All lowercase
    • Words separated by hyphens
    • Descriptive of the main task/feature
    • No special characters except hyphens
  • Examples:
    • feat-issue-123-adw-a1b2c3d4-add-user-auth
    • bug-issue-456-adw-e5f6g7h8-fix-login-error
    • chore-issue-789-adw-i9j0k1l2-update-dependencies
    • test-issue-323-adw-m3n4o5p6-fix-failing-tests
  • Extract the issue number, title, and body from the issue JSON

Run

Generate the branch name based on the instructions above. Do NOT create or checkout any branches - just generate the name.

Report

Return ONLY the generated branch name (no other text)