init-worktree

Detect project type from CLAUDE.md and README to propose setup commands.

Updated Jan 14, 2026
One-click install
npx skills add https://github.com/NoNameItem/claude-tools --skill init-worktree
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: init-worktree
Source: https://github.com/NoNameItem/claude-tools/tree/main/plugins/flow/skills/init-worktree
Command: npx skills add https://github.com/NoNameItem/claude-tools --skill init-worktree

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates environment setup for newly created worktrees by automatically detecting the project's type from CLAUDE.md and README.md, then proposing the appropriate setup commands and requiring user confirmation before execution.

Core Features & Use Cases

  • Detects project type by inspecting CLAUDE.md and README.md in the worktree root.
  • Proposes setup commands tailored to the detected project type and environment.
  • Executes commands only after explicit user confirmation, keeping the workflow non-blocking if issues arise.
  • Does not create worktrees or modify flow decisions; strictly aids initialization.

Quick Start

After a new worktree is created, run this skill to detect the project type and propose initialization commands, then confirm to apply them.

Frequently Asked Questions about init-worktree

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

FAQPage Schema
How do I automate environment initialization for a new git worktree?

Automate worktree initialization by detecting the project type from CLAUDE.md and README.md, then proposing tailored setup commands for user confirmation before execution.

What is the best way to set up a project environment after creating a worktree?

The best way to set up a new worktree is reading project documentation first to drive command selection, proposing initialization actions, and ensuring non-blocking behavior if setup fails.

Does worktree initialization require manual command execution?

Worktree initialization does not require manual command execution; it automatically proposes setup commands based on detected project type and only executes them after explicit user confirmation.

How does project detection work for new worktree environments?

Project detection for worktree environments works by inspecting CLAUDE.md and README.md in the worktree root to identify the project type and propose appropriate setup commands.

What happens if environment initialization fails in a worktree?

If environment initialization fails, the workflow remains non-blocking, allowing you to continue working without the setup process interrupting other tasks in the worktree.

Can I use this worktree initialization skill to create new worktrees?

You cannot use this skill to create worktrees or modify flow decisions; it strictly aids initialization by detecting project type and proposing setup commands for existing new worktrees.