BR

Enables fast, direct edits and commits on the active branch.

Install

mkdir -p .claude/skills/branch-work && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/12860" && unzip -o skill.zip -d .claude/skills/branch-work && rm skill.zip

Installs to .claude/skills/branch-work

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

現在のブランチで追加作業を行い、検証、git add、コミットまで実行する。既存ブランチ上で追加修正を依頼されたときに使う。
62 charsno explicit “when” trigger
Beginner

Key capabilities

  • Confirm current branch and working tree status
  • Edit necessary files
  • Execute project validation commands
  • Review file differences
  • Stage and commit changes
  • Verify post-commit status

How it works

This skill performs additional work on the current branch by editing files, running validation, staging, and committing changes, ensuring the branch and working tree status are checked before and after.

Inputs & outputs

You give it
user request for additional work on current branch
You get back
committed changes on the current branch

When to use branch-work

  • Quick branch fix
  • Add small feature to existing branch
  • Update documentation in-branch
  • Stage and commit changes

About this skill

Branch Work

以下の手順で、現在のブランチ上で追加作業を行う。

目的

ブランチを新規作成せず、現在チェックアウトされているブランチで追加作業、検証、git add、コミットまでを行う。

前提

  • ユーザーが「現在のブランチで追加作業」「このブランチで続き」「追加で修正してコミット」などを依頼したときに使う。
  • 作業開始前に現在のブランチと作業ツリーの状態を確認する。
  • main 上で実行する場合は、ユーザーが明示的に main で作業すると指定している場合を除き、作業前に確認する。
  • git push は行わない。push が必要な場合は $current-branch-push を使う。

手順

git branch --show-current
git status --short --branch
  1. ユーザーの依頼内容を確認する。
  2. 現在のブランチで作業してよいか判断する。
  3. 必要なファイルを編集する。
  4. プロジェクトに設定されている検証コマンドを確認し、必要に応じて実行する。
  5. 差分を確認する。
  6. 適切な単位でステージしてコミットする。

検証

git diff
git status --short --branch

ビルド、型チェック、lint、テストが設定されている場合は実行し、実行できない場合は理由を記録する。

完了手順

git add <changed-files>
git commit -m "<変更内容がわかる具体的な日本語メッセージ>"

コミット後に以下を確認する。

git status --short --branch

When not to use it

  • When creating a new branch
  • When pushing changes to a remote repository
  • When working on the `main` branch without explicit user instruction

Limitations

  • Does not create new branches
  • Does not perform `git push`
  • Requires user confirmation for `main` branch work

How it compares

This workflow focuses on in-place modifications and commits to an existing branch, explicitly avoiding new branch creation or pushing, which differs from a typical feature development cycle.

Compared to similar skills

branch-work side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
branch-work (this skill)02moReviewBeginner
resolve-conflicts818moReviewIntermediate
openspec-onboard106moReviewBeginner
codex-cli-bridge99moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry