worktree-status

Report git worktree status in a Markdown table with branch, dirty, and merged states.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Audit all git worktrees in the current project, helping you discover dirty worktrees, their merge status, and which worktrees can be safely removed to keep the repository clean.

Core Features & Use Cases

  • Identify the status of every worktree in the repository, including current branch, whether it is dirty, and whether it has been merged into main.
  • Provide guidance before batch-cleaning operations to avoid data loss.
  • Use cases include preparing for cleanup, validating worktrees before releases, and auditing project structure.

Quick Start

Run this to obtain a current report of all git worktrees in the repository.

Frequently Asked Questions about worktree-status

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

FAQPage Schema
How do I check if a git worktree is safe to delete?

To check if a git worktree is safe to delete, you need to verify its branch's merge status and whether it contains uncommitted dirty changes. This Skill audits every worktree, pulling the latest main to report merged status and cleanup viability in a Markdown table.

How do I find dirty git worktrees in my repository?

You can find dirty git worktrees by inspecting each one for uncommitted modifications. This Skill audits the repository's worktrees, identifying the current branch and dirty state, then presenting the complete status report in a structured Markdown table.

What is the best way to audit git worktrees before a release?

The best way to audit git worktrees before a release is to pull the latest main and inspect each worktree's merge status. This Skill validates your project structure by generating a Markdown table with branch, dirty state, and cleanup viability.

Can I see which git worktree branches have been merged into main?

Yes, you can see which git worktree branches have been merged by pulling the latest main and checking each branch's status. This Skill reports the merged status of all worktrees in the current repository within a Markdown table.

Why should I audit worktrees before batch-cleaning operations?

You should audit worktrees before batch-cleaning to avoid data loss from deleting branches with unmerged changes. This Skill enforces pulling the latest main and provides guidance on dirty state and cleanup viability before you remove any worktrees.