Agent skill
git-worktree
Git worktreeを使用して、複数のブランチで作業を同時並行で実行します。
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/git-worktree-yota-k-dotfiles
SKILL.md
前提
- このコマンドを実行したプロジェクトの構造を正確に理解し、env・依存パッケージのインストールを実行する。
- 作業完了の定義は以下とする。
- 新しいブランチを作成して並行して作業を行う場合:
commit-and-prコマンドを使用して、変更内容をコミットしてリモートにプッシュされ、ドラフトのプルリクエストが作成された。 - 既存のブランチで並行して作業を行う場合:
commit-and-pushコマンドを使用して、変更内容をコミットしてリモートにプッシュされた。
- 新しいブランチを作成して並行して作業を行う場合:
指示事項
- 引数で指定されたブランチ名を使用して、新しいGit worktreeを作成する。
- すでに同名のブランチが存在する場合は、エラーメッセージを出力して処理を中止する。
- 作業が完了したら、作業に使用したworktreeごと削除する。
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?