worktree-commit

Automate committing staged changes in a temporary worktree with a Japanese commit message.

Updated Feb 8, 2026
One-click install
npx skills add https://github.com/NagasakaH/dev-process --skill worktree-commit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: worktree-commit
Source: https://github.com/NagasakaH/dev-process/tree/main/.claude/skills/general-purpose/worktree-commit
Command: npx skills add https://github.com/NagasakaH/dev-process --skill worktree-commit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

worktree環境でのタスク完了時に、変更を適切にコミットする作業を自動化します。これにより、手動でのコミット作業を削減し、変更履歴を一貫性のある形で残せます。

Core Features & Use Cases

  • 全変更の一括ステージング: worktree内の新規・変更・削除を一括でステージします。
  • 日本語コミットメッセージ自動生成: タスクIDと変更内容を元に日本語のコミットメッセージを作成します。
  • MR/チケット連携の補助: ブランチ名からチケット情報を推定し、関連情報を含めたメッセージを整えます。
  • Use Case: タスク完了後の成果物をすぐに記録したい場面で活用します。

Quick Start

worktreeパス、リクエスト名、タスクIDを指定して実行してください。

Frequently Asked Questions about worktree-commit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I auto-commit changes in a git worktree with a task ID?

Auto-committing changes in a git worktree with a task ID requires specifying the worktree path, request name, and task ID. The Skill stages all new, modified, and deleted files, fetches ticket data via MCP, and generates a Japanese commit message before committing.

What is the best way to generate Japanese commit messages for worktree development?

Generating Japanese commit messages for worktree development is handled automatically by inferring ticket information from the branch name. It validates the worktree path and branch naming conventions, then uses the task ID and change details to create a standardized, auditable commit message in Japanese.

How do I stage all changes in a temporary worktree before committing?

Staging all changes in a temporary worktree is automated by the Skill, which batches new, modified, and deleted files together. After validating the worktree path and branch naming, it stages all modifications before generating the commit message.

Can I fetch ticket data via MCP when committing worktree changes?

Fetching ticket data via MCP when committing worktree changes is supported as an optional step during the commit process. The Skill estimates ticket information from the branch name and can integrate related data fetched via MCP into the generated Japanese commit message.

Does worktree-commit require specific branch naming conventions?

Worktree-commit requires specific branch naming conventions to validate the worktree path and branch before staging changes. This validation ensures the task ID can be accurately estimated from the branch name for the standardized, auditable commit message generation.

Why should I automate commits in a worktree-based development workflow?

Automating commits in a worktree-based development workflow eliminates manual commit operations and ensures consistent change history. It applies to scenarios where task completion requires a standardized, auditable commit containing a task ID and descriptive Japanese message.