🌿
AutomationTypeScript

Dev Worktree

by codeaholicguy

Dev Worktree is an Automation skill for Claude Code, published by codeaholicguy in ai-devkit.

1.6K stars242 forkson codeaholicguy/ai-devkitAdded 2026/08/19Repository updated 2026/08/18
agent-frameworkagent-skillsaiai-agentsai-codingantigravityclaude-codeclicodex-clicoding-agentscursor-aideveloper-toolsgemini-climcpmemoryopencodepisoftware-engineeringworkflow-automation
Install in seconds
Install Dev Worktree
Copy Dev Worktree into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/codeaholicguy/ai-devkit/tree/main/skills/dev-worktree ~/.claude/skills/dev-worktree

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/codeaholicguy/ai-devkit.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/dev-worktree/SKILL.md in codeaholicguy/ai-devkit
Installs to
~/.claude/skills/dev-worktree
Collection
One of 25 skills cataloged from this repository
Category
Automation1523 skills

What Dev Worktree does

Dev Worktree sets up or resumes isolated git worktrees for feature branches so an agent can work in a clean, repo-local workspace. Use it before starting, resuming, switching, or verifying feature work to keep branch state and dependencies consistent.

Dev Worktree is cataloged under Automation on DirSkills. Dev Worktree comes from a repository tagged agent-framework, agent-skills, ai, ai-agents and ai-coding.

Documentation

README

Dev Worktree

Set up or resume the correct workspace before feature work. Keep this skill focused on repository context, worktree isolation, and dependency bootstrap. Do not perform requirements, design, planning, implementation, testing, or review work here.

Phase Contract

  1. Propose the exact workspace plan before changing branch or worktree state.
  2. Confirm the target branch/worktree with the user before switching contexts.
  3. Use feature-<name> for branch and worktree names, where <name> is normalized kebab-case without the prefix.
  4. Prefer a project-local worktree at <project-root>/.worktrees/feature-<name>.
  5. Use no-worktree mode only when the user explicitly requests it.
  6. Run all follow-up commands in the verified target context.

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Dev Worktree

  • What else does codeaholicguy publish alongside Dev Worktree?

    Dev Worktree is one of 25 skills that DirSkills catalogs from codeaholicguy/ai-devkit, the repository it ships in. Its siblings there include Agent Communication, Agent Management and Agent Orchestration. Each one is a separate skill with its own page in this directory, installs the same way Dev Worktree does, and is maintained by codeaholicguy in that same repository. The rest of the collection is listed on the codeaholicguy/ai-devkit page.

  • How does Dev Worktree compare to other Automation skills?

    Dev Worktree ranks #571 by stars among the 1523 Automation skills in this catalog. The most-starred ones next to it are Autonomous Loops, Autonomous Agent Harness and Automation Audit Ops. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Dev Worktree against them. Open each page to compare what they document and how they install.

More from codeaholicguy/ai-devkit

Dev Worktree is one of 25 skills cataloged on DirSkills from codeaholicguy/ai-devkit.

See all 25 skills
💬
2w ago

Agent Communication

Agent Communication lets an AI agent discover active AI coding agents, read their recent context, and send them messages or request information using the ai-devkit CLI. Use it when one agent needs to coordinate with another or hand off work.
AI Engineering
1.6K242
🤖
2w ago

Agent Management

Agent Management uses ai-devkit agent commands to list, start, inspect, assign work to, and stop AI agents. Use it when an agent needs to identify itself, manage other agents, or delegate tasks.
AI Engineering
1.6K242
🧭
2w ago

Agent Orchestration

Agent Orchestration coordinates dependencies between multiple AI agents, polls their progress, unblocks waiting agents, relays outputs, resolves conflicts, and verifies completion. Use it for ongoing multi-agent supervision rather than one-off agent actions.
AI Engineering
1.6K242
💡
2w ago

Brainstorm

Brainstorm runs a compact diverge-to-converge loop that helps users generate, challenge, compare, and narrow ideas. Use it for ideation, evaluating options, naming, technical approaches, content angles, or strategic decisions.
AI Engineering
1.6K242
📝
2w ago

Changelog

Changelog updates the Unreleased section of CHANGELOG.md from commits after the latest release. Use it when asked to update changelog or release notes from recent git commits.
Automation
1.6K242
2w ago

Dev Commit

Dev Commit stages and commits only the files that belong to a requested change, avoiding unrelated user edits and generated artifacts. Use it when an agent needs to make an intentional, verified conventional commit or prepare a PR-ready checkpoint.
Automation
1.6K242