branch-workflow

branch-workflow is a skill for Claude Code, Codex from Crearize/ai-dev-helm. It costs 29 tokens per session (3,749 once invoked), scanned A, original, MIT.

A branch-and-issue workflow for Japanese-speaking development teams. It requires work to happen on a named feature branch linked to a GitHub issue, rather than directly on the main branch.

In plain words
What is it for?
Use it to check the current branch, create an issue when required, choose a compliant branch name, and prepare commits and pull requests with the issue number.
Why use it?
It keeps changes traceable and prevents untracked work from being made directly in the shared main branch.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to check the current branch, create an issue when required, choose a compliant branch name, and prepare commits and pull requests with the issue number.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/crearize/ai-dev-helm/branch-workflow
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Crearize/ai-dev-helm --skill branch-workflow
Clone the repo
git clone --depth 1 https://github.com/Crearize/ai-dev-helm

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for branch-workflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/crearize/ai-dev-helm/branch-workflow/github.svg)](https://agentmods.dev/skills/crearize/ai-dev-helm/branch-workflow)
Your own site
<a href="https://agentmods.dev/skills/crearize/ai-dev-helm/branch-workflow"><img src="https://agentmods.dev/badge/skills/crearize/ai-dev-helm/branch-workflow/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for branch-workflow

Your own site · 80×15
<a href="https://agentmods.dev/skills/crearize/ai-dev-helm/branch-workflow"><img src="https://agentmods.dev/badge/skills/crearize/ai-dev-helm/branch-workflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,749 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00029 $0.03749
Opus 5.5 $0.00012 $0.01500
Sonnet 5.5 $0.00006 $0.00750
Haiku 4.5 $0.00003 $0.00375

Measured 2d ago against content hash 60c76d658fac, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

branch-workflow scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/project/branch-workflow/SKILL.md · 109 lines

How it starts

The opening of the file, as written. The whole thing — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Branch Workflow Skill - ブランチ・Issue作業フロー

導入先の補足ファイル documents/development/project/branch-workflow.md があれば、その段で読む。補足ファイルは製品への当てはめ(コマンド・パス・ポート等)だけを持ち、本スキルの規則を緩めない。食い違えば本スキルが優先する。

禁止事項(最重要)

以下は絶対に禁止。違反は許容されない。

  • mainブランチでの直接作業禁止: すべての変更は機能ブランチで行う
  • Issue番号なしのブランチ作成禁止: 必ずIssue番号をブランチ名に含める

作業開始前の必須チェック

Step 1: 現在のブランチを確認

git branch --show-current
  • main と表示された場合 → 作業禁止! Step 2へ
  • main 以外の場合 → 作業内容とブランチ名が一致しているか確認

Step 2: Issue作成(mainの場合必須)

gh issue create --title "機能名" --body "詳細説明"

Step 3: ブランチ作成

git checkout -b [タイプ]/[作業内容]-[Issue番号]

ブランチ命名規則

タイプ 用途 例
feature/ 新機能開発 feature/add-login-123
fix/ バグ修正 fix/auth-bug-456
docs/ ドキュメント更新 docs/update-readme-789
refactor/ リファクタリング refactor/user-service-101
test/ テスト追加・修正 test/add-api-tests-102

main への取り込み

main への取り込みは quality-check を完走してから行う。quality-gate の hook は、フラグ(.quality-check-passed)が取り込む commit を指しているかを確かめる(前回のフラグが残っていても、チェックしていないブランチは取り込めない)。

宣言した保護ブランチ(.ai-dev-helm.json の workflow.protectedBranches。例: release): hook は main と同じくゲート対象にする。main を通った内容だけの反映(release の上で git merge <main の SHA> → git push origin release)はフラグ無しで通るので、保護ブランチへは main を通してから反映する。判定の詳細は quality-check の「hook の完全な契約」の「宣言した保護ブランチ」。

状況 手順
リモートがある(PR を作る remote(通常は origin)の trunk の remote-tracking ref、例: origin/main がある) feature ブランチを push して PR を作る(git push -u origin HEAD → gh pr create)。merge は PR で行う
リモートが無く、1 つのチェックアウトで作業している feature 上で quality-check を完走する → git switch main → git merge <feature>(--no-ff 可。main が feature に無いコミットを持っていれば拒否されるので、main を feature に取り込んで quality-check をやり直す)→ .quality-check-passed を削除する(公開用・デプロイ先・バックアップへの送り出しは、下の「公開用・デプロイ先・バックアップの remote への main の送り出し」)
リモートが無く、main を別の worktree で開いている 下の「リモートの無いプロジェクトの取り込み」
リモートが無く、main がどの作業ツリーでも開かれていない(git worktree list に [main] が無い。ユーザーのチェックアウトが別のブランチで作業中など) feature の worktree で quality-check を完走してフラグを作る → 同じ worktree で git push . HEAD:main だけを実行する(ユーザーのチェックアウトには触れない — detach・switch をせず、integrate-check --main にも渡さない。上書きされる作業ツリーが無いので、integrate-check が守るものは無い)→ .quality-check-passed を削除する。push が non-fast-forward で拒否されたら、main を feature に取り込んで quality-check をやり直す。branch is currently checked out で拒否されたら、main を開いた作業ツリーができているので、git worktree list を見直して上の行に切り替える。git push が使えなければ、下の「git push が使えない場合」の 2 と 4(main を開いたチェックアウトが無いので 1 と 3 は要らない)

Read the full file on GitHub · 109 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago Changed · +2 lines 60c76d658fac
  2. 3d ago Changed · +5 lines a86aea4fa32b
  3. 23d ago Changed · +29 lines 0df413c9a20d
  4. 26d ago Changed · +20 lines acdb6fd93929
  5. 2mo ago First seen · 53 lines · 29 tokens per session scan A 5d464cacf2cc

Subscribe to this mod's changes

branch-workflow is a skill published in the GitHub repository Crearize/ai-dev-helm (6 stars, last pushed 2d ago), licensed MIT. It adds 29 tokens to every session and 3,749 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.