workspace-git-branch-rule

workspace-git-branch-rule is a skill for Claude Code, Codex from eaglesakura/agent-skills. It costs 173 tokens per session (1,103 once invoked), scanned A, original, MIT.

A rule for naming and interpreting Git branches in a repository. It explains the roles of main, feature/id/{Issue number}/{name}, and release/{version}/main branches.

In plain words
What is it for?
Use it to choose a new branch name, understand an existing feature or release branch, or look up the GitHub issue linked by a feature branch name.
Why use it?
Consistent branch names show whether work is ongoing, tied to a tracked issue, or prepared for release. For feature branches, the issue number provides a path to the actual task details.

Skill for Claude CodeCodex

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

Good fit Use it to choose a new branch name, understand an existing feature or release branch, or look up the GitHub issue linked by a feature branch name.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/eaglesakura/agent-skills/workspace-git-branch-rule
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 eaglesakura/agent-skills --skill workspace-git-branch-rule
Clone the repo
git clone --depth 1 https://github.com/eaglesakura/agent-skills

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 workspace-git-branch-rule

README.md
[![agentmods](https://agentmods.dev/badge/skills/eaglesakura/agent-skills/workspace-git-branch-rule/github.svg)](https://agentmods.dev/skills/eaglesakura/agent-skills/workspace-git-branch-rule)
Your own site
<a href="https://agentmods.dev/skills/eaglesakura/agent-skills/workspace-git-branch-rule"><img src="https://agentmods.dev/badge/skills/eaglesakura/agent-skills/workspace-git-branch-rule/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 workspace-git-branch-rule

Your own site · 80×15
<a href="https://agentmods.dev/skills/eaglesakura/agent-skills/workspace-git-branch-rule"><img src="https://agentmods.dev/badge/skills/eaglesakura/agent-skills/workspace-git-branch-rule.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 173 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,103 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.00173 $0.01103
Opus 5.5 $0.00069 $0.00441
Sonnet 5.5 $0.00035 $0.00221
Haiku 4.5 $0.00017 $0.00110

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

Security

Grade A, and why

workspace-git-branch-rule 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 2mo 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.

packages/ohitorisama/.apm/skills/workspace-git-branch-rule/SKILL.md · 89 lines

What it actually says

Workspace / Git Branch Rule

ブランチ名から役割を読み取り、新規ブランチをこの慣習に合わせて付ける。 名前から作業内容を追うときは、feature の Issue 番号を手がかりに gh で Issue を取る。

いつ使うか

  • 作業用/リリース用ブランチの名前を決める・検証するとき
  • 既存ブランチ名から「何の作業か」を推測するとき(特に feature/id/...)
  • main / feature / release の役割の違いを揃えるとき

いつ使わないか

  • コミットメッセージの書き方だけ
  • PR のタイトル/本文の起草だけ(ブランチ名解釈が必要な場合は併用可)
  • 実装・レビュー・テストそのもの
  • 破壊的 git 操作(force push 等)の許可判断そのもの

ブランチ種別

main

  • 開発中の最新コードを置く幹線
  • 各リポジトリは、常に main の最新を作業の起点とする

feature/id/{Issue番号}/{任意の名称}

  • 作業用ブランチ。リポジトリの Issue に紐づける
  • {Issue番号} があるため、gh でタスク内容を取得できる
# 例: feature/id/123/add-login なら
gh issue view 123
  • {任意の名称} は短く内容が分かる英数字・ハイフン程度にする(例: add-login, fix-crash-on-launch)

release/{リリースバージョン}/main

  • リリース用ブランチ
  • バージョン名はプロダクトの慣習に合わせる
    • アプリなど semver が明示される場合: release/v1.0.0/main
    • 日付ベース等の場合: release/v2025-12-31/main

作業手順(名前から内容を読む)

  1. ブランチ名を上記パターンに当てはめる
  2. feature/id/{n}/... なら Issue n を gh issue view(必要ならリポジトリ指定)で確認する
  3. release/... なら対象バージョン/日付を読み、リリース作業文脈と捉える
  4. どれにも当てはまらない名前は、慣習外としてユーザーに確認する

作業手順(新規ブランチを付ける)

  1. 幹線は main から切る(特に指示がなければ)
  2. Issue がある作業は feature/id/{Issue番号}/{短い名称}
  3. リリースラインは release/{バージョン}/main
  4. Issue 無しの一時作業でも、可能な限り Issue を立ててから feature 名に載せる

ナレッジベース

DO: ブランチ名で種別と Issue を一意に読めるようにする

  • 後から gh や履歴で辿れることが目的である

DO: feature なら先に Issue 番号を確定してから命名する

  • 番号無しの feature/foo は本ルール外になりやすい

DO NOT: main に直接大きな作業を積み続ける前提で進める

  • 作業は feature(または release)に切り出す

DO NOT: release 名に曖昧なラベルだけを使う

  • release/new/main より、バージョンまたは日付が入った形を優先する
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. 2mo ago First seen · 89 lines · 173 tokens per session scan A 2623ccaed521

Subscribe to this mod's changes

workspace-git-branch-rule is a skill published in the GitHub repository eaglesakura/agent-skills (2 stars, last pushed 1mo ago), licensed MIT. It adds 173 tokens to every session and 1,103 once invoked, about $0.0007 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.

Related

workspace-git-branch-rule compared with skills from other repositories

workspace-git-branch-rule next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
workspace-git-branch-ruleeaglesakura/agent-skillsSkill21mo agoMITA173Claude Code, Codex
merge-batchdiegosouzapw/OmniRouteSkill83k6d agoMITA46Claude Code
prowler-commitprowler-cloud/prowlerSkill15ktodayApache-2.0A44Claude Code, Codex
gh-auth-isolationgithub/gh-awSkill5.6ktodayMITA20Claude Code, Codex
comet-githubrpamis/cometSkill3.3kyesterdayMITA72Claude Code, Codex
github-skillzeenie-ai/OpenCompanySkill1.1k2d agoMITA51Claude Code
release-helperSahir619/fable-methodSkill2.3k1mo agoMITA43Claude Code