Skip to content
Back to skills

Checkout

ASecurity

Analyze Git changes and create a new branch with an appropriate name.

  • 12 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 24, 2026
ai-agentsbashgit

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned September 24, 2026

npx -y skills add thkt/dotclaude --skill checkout --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Checkout?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Checkout
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thkt-checkout-dotclaude/badge)](https://www.skillsdirectory.com/skills/thkt-checkout-dotclaude)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: checkout
description: Analyze Git changes and create a new branch with an appropriate name.
when_to_use: ブランチ作成, ブランチ切って, ブランチ名, branch name
allowed-tools: Bash(git:*)
model: haiku
argument-hint: "[context or ticket number]"
---

# /checkout - Git Branch Creation

The manual counterpart of build's Branch stage. Both assemble the name by the same rules.

## Input

`$ARGUMENTS` may contain context or a ticket number. Trim whitespace; if empty, analyze the Git changes alone. If non-empty, treat it as a hint for the branch name scope or ticket ID.

## Execution

1. Run `git status` and `git diff HEAD` in parallel to read the changes. Plain `git diff` hides staged changes
2. Settle on one branch name from the changes and `$ARGUMENTS` (§ Branch Naming)
3. Create the new branch via `git checkout -b <the settled name>`

## Branch Naming

Assemble the name and read the type per ${CLAUDE_SKILL_DIR}/references/branch-naming.md.

## Error Handling

| Error             | Treatment                                                  |
| ----------------- | ---------------------------------------------------------- |
| No changes        | Do not create a branch; report that there are no changes   |
| Branch exists     | Settle on another name and create that instead             |
| No git repository | Do not create a branch; report that this is not a git repo |

Files in this skill

  • SKILL.md1.4 KB
  • references/branch-naming.md1.3 KB
  • tests/branch-naming.test.js3.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.