Brainstorming: take in a user's creds for JIRA for a resource. Take user input for a ticket identifier (e.g. DATA-123), search JIRA for that ticket using the resource, and pull a branch name from the ticket.
Alternatively: pull a list of tickets assigned to them, then add search and filter to generate the branch name.
Look at this code here as an example.
CG Note:
I _think_ this is mostly there. I will want to revisit it later this week (WO 2026-03-02).
Use a GUM class for gum-related logic and an optional Click/CLI helper.
Import from cliutils.src.commands instead of filesystem discovery.
Set themes_dir to cliutils/themes/ (not cliutils/src/themes).
Port from archive/tools/utils/tools_utils.py into CLIUtils (or
equivalent) so theme-select works.
Either put commands under cliutils/commands/ (no src) or use a
single src/cliutils/ tree; align setup.py and SOURCES with the
chosen layout.
Names should match command module stems (e.g. cmd_s3_sync); fix or
remove if unused.
e.g. make install, make install-shell.
Use uv as the package manager.
Via Makefile and optionally cliutils setup-shell.
Idempotently append GUM env vars and PR template snippet from
gum_vars_zprofile.txt (e.g. sentinel comment to avoid duplicates).
Idempotently append snippet from gum_vars_zshrc.txt with <ROOT>
replaced by install root (e.g. ~/.cliutils).
Fix hardcoded cache path to a portable path (e.g.
~/.cliutils/cache); install or symlink script to a known location
under the chosen root.
Install (or symlink) into $ZSH_CUSTOM/themes/ when OMZ is present;
ensure zsh_pallettes_dir points at the directory containing theme
YAMLs.
Paths are predictable and <ROOT> is no longer manual.
Either move bash_pallettes/ into repo (e.g.
palettes/bash_pallettes/) or add .pallettes as a git submodule (e.g.
cli_utils/palettes).
Use them for theme colors.
Write derived YAMLs to cliutils/themes/ (replace/supersede
copy_to_clis.sh).
Update paths to cliutils/themes and
zsh_scripts/theme_picker.sh, or remove once Makefile does the same.
Pull branch name or ticket list from JIRA/Linear API.
More user-friendly; see shell setup automation and pallettes above.