branch-work
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.zipInstalls 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、コミットまで実行する。既存ブランチ上で追加修正を依頼されたときに使う。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
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
- ユーザーの依頼内容を確認する。
- 現在のブランチで作業してよいか判断する。
- 必要なファイルを編集する。
- プロジェクトに設定されている検証コマンドを確認し、必要に応じて実行する。
- 差分を確認する。
- 適切な単位でステージしてコミットする。
検証
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.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| branch-work (this skill) | 0 | 2mo | Review | Beginner |
| resolve-conflicts | 81 | 8mo | Review | Intermediate |
| openspec-onboard | 10 | 6mo | Review | Beginner |
| codex-cli-bridge | 9 | 9mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
resolve-conflicts
antinomyhq
Use this skill immediately when the user mentions merge conflicts that need to be resolved. Do not attempt to resolve conflicts directly - invoke this skill first. This skill specializes in providing a structured framework for merging imports, tests, lock files (regeneration), configuration files, and handling deleted-but-modified files with backup and analysis.
openspec-onboard
studyzy
Guided onboarding for OpenSpec - walk through a complete workflow cycle with narration and real codebase work.
codex-cli-bridge
alirezarezvani
Bridge between Claude Code and OpenAI Codex CLI - generates AGENTS.md from CLAUDE.md, provides Codex CLI execution helpers, and enables seamless interoperability between both tools
skill-sync
KyleKing
Syncs Claude Skills with other AI coding tools like Cursor, Copilot, and Codeium by creating cross-references and shared knowledge bases. Invoke when user wants to leverage skills across multiple tools or create unified AI context.
github-workflow-automation
ruvnet
Advanced GitHub Actions workflow automation with AI swarm coordination, intelligent CI/CD pipelines, and comprehensive repository management
git-advanced-workflows
wshobson
Master advanced Git workflows including rebasing, cherry-picking, bisect, worktrees, and reflog to maintain clean history and recover from any situation. Use when managing complex Git histories, collaborating on feature branches, or troubleshooting repository issues.