Skip to content
Back to skills

Checkout

ASecurity

Git の変更を解析し、適切な名前で新しいブランチを作成する。

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

Security analysis

A100/100

Pro scans all 2 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/badge)](https://www.skillsdirectory.com/skills/thkt-checkout)

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: Git の変更を解析し、適切な名前で新しいブランチを作成する。
when_to_use: ブランチ作成, ブランチ切って, ブランチ名, branch name
allowed-tools: Bash(git:*)
model: haiku
argument-hint: "[context or ticket number]"
---

# /checkout - Git ブランチ作成

build の Branch 段を手で行う版。ブランチ名は同じ規則で組み立てる。

## 入力

`$ARGUMENTS` はコンテキストまたはチケット番号を含み得る。空白を除去し、空文字列なら git の変更内容のみで解析する。非空ならブランチ名のスコープやチケット ID のヒントとして扱う。

## 実行

1. `git status` と `git diff HEAD` を並列で実行し、変更内容を読む。`git diff` だけではステージ済みの変更が見えない
2. 変更内容と `$ARGUMENTS` から、ブランチ名を 1 つ決める (§ ブランチ命名)
3. `git checkout -b <決めた名前>` で新しいブランチを作成する

## ブランチ命名

名前の組み立てと type の判定は ${CLAUDE_SKILL_DIR}/references/branch-naming.md に従う。

## エラー処理

| エラー               | 扱い                                       |
| -------------------- | ------------------------------------------ |
| 変更が無い           | ブランチを作らず、変更が無いことを報告する |
| 同名のブランチが有る | 別の名前を決めて作り直す                   |
| git リポジトリでない | ブランチを作らず、その旨を報告する         |

Files in this skill

  • SKILL.md1.6 KB
  • references/branch-naming.md1.6 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.