Claude-skill-registry create-branch

Create timestamped topic branch.

install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/create-branch" ~/.claude/skills/majiayu000-claude-skill-registry-create-branch && rm -rf "$T"
manifest: skills/data/create-branch/SKILL.md
source content

Create Branch

Create a new timestamped topic branch.

Instructions

Create a timestamped branch with the given prefix:

git checkout -b "<prefix>-$(date +%Y%m%d-%H%M%S)"

Valid Prefixes

  • feat - New feature
  • fix - Bug fix
  • refact - Refactoring

Output

The script outputs the created branch name:

feat-20260120-205418

The branch is automatically checked out after creation.