worktree-status

Audit all git worktrees and report dirty state and merge status in a Markdown table.

Updated Feb 19, 2026
One-click install
npx skills add https://github.com/chen-001/kimi-cli-plus --skill worktree-status-chen-001
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: worktree-status
Source: https://github.com/chen-001/kimi-cli-plus/tree/main/.agents/skills/worktree-status
Command: npx skills add https://github.com/chen-001/kimi-cli-plus --skill worktree-status-chen-001

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Audit all git worktrees in the current project, reporting dirty state and merge status to help you manage worktrees effectively.

Core Features & Use Cases

  • Report the status of every worktree in the project, including branch, dirty state, and merge status.
  • Identify worktrees that can be safely cleaned up before batch operations.
  • Provide a reproducible procedure to verify worktree cleanliness and merged status.

Quick Start

Run a status check of all git worktrees in the current project.

Frequently Asked Questions about worktree-status

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

FAQPage Schema
How do I check the status of all git worktrees before cleaning them up?

To check git worktree status before cleanup, pull the latest main branch and inspect each worktree to report its dirty state and merge status in a Markdown table. This identifies which worktrees are safe for batch removal.

What is the best way to audit git worktree branches and dirty state?

Auditing git worktree branches and dirty state involves pulling the latest main branch and inspecting each worktree to report its branch, dirty state, and merge status in a Markdown table for effective management.

How do I find merged git worktrees that are safe to delete?

To find merged git worktrees safe to delete, pull the latest main branch and inspect each worktree's merge status and dirty state to identify which ones can be safely cleaned up before batch operations.

Can I use a bash script to report git worktree merge status in a table?

You can use a bash script to report git worktree merge status in a Markdown table by pulling the latest main branch and inspecting each worktree to output its branch, dirty state, and merge status.

Do I need to pull the main branch before checking worktree cleanliness?

Yes, you need to pull the main branch before checking worktree cleanliness because the audit procedure enforces a mandatory pull of the latest main to accurately verify each worktree's merge status and dirty state.

Why should I audit worktree status before batch cleanup operations?

You should audit worktree status before batch cleanup operations to identify dirty state and merge status, ensuring you only remove worktrees that are clean and fully merged, preventing accidental data loss.