project-ops

Automates creation, cleanup, and management of Git worktrees and branches.

1|1|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/dokipen/claude-cadence --skill project-ops
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: project-ops
Source: https://github.com/dokipen/claude-cadence/tree/main/.gemini/skills/project-ops
Command: npx skills add https://github.com/dokipen/claude-cadence --skill project-ops

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh, jq, and includes scripts (resource) components.

What problem does it solve?

Shared worktree and branch housekeeping can become error-prone and time-consuming; this skill provides a centralized toolkit to automate creation, cleanup, and verification of git worktrees tied to issue-driven development.

Core Features & Use Cases

  • Create new worktrees for feature branches tied to issues and based on the default branch
  • Auto-clean merged worktrees, remote branches, and in-progress labels to keep repos tidy
  • Detect active worktrees and perform safe pruning to avoid TOCTOU issues
  • Use cases include sprint onboarding, feature branch isolation, and automated repo hygiene

Quick Start

Run the create-worktree.sh script with a new branch name to create an isolated development worktree.

Frequently Asked Questions about project-ops

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

FAQPage Schema
How do I automate git worktree cleanup for merged branches?

Automate git worktree cleanup by running scripts that detect merged PRs, remove deprecated worktrees, prune remote branches, and strip in-progress labels to keep repositories tidy.

What is the best way to manage git worktrees for isolated feature development?

Managing git worktrees for isolated feature development is streamlined by creating worktrees tied to issue branches based on the default branch, ensuring safe and separated feature environments.

Do I need gh and jq installed to run project-ops worktree scripts?

Yes, you need the gh and jq command-line tools installed to run these worktree scripts, as they are required dependencies for parsing issue data and handling merged PR state.

How does worktree pruning avoid TOCTOU race conditions?

Worktree pruning avoids TOCTOU race conditions by implementing safety checks that detect active worktree state and safely prune references without time-of-check to time-of-use vulnerabilities.

Can I create worktrees across multi-repo projects automatically?

Yes, you can create and prune worktrees across multi-repo projects automatically, applying centralized branch management and cleanup operations to all repositories tied to issue-driven development.

Why do my deprecated git worktrees keep accumulating after PR merges?

Deprecated git worktrees accumulate after PR merges when automated cleanup is missing, but these scripts auto-detect merged PRs and prune stale worktree references to maintain repository hygiene.