If SUCCESS=true: report the branch name, worktree path, and suggest cd [worktree_path]
If ERROR=true: show the errors to the user and ask how to proceed
Guidelines
Descriptive names: Branch names describe the feature, not just the PRD number
Base on main: Always branches from main for new feature work
Clean names: The script keeps branch names concise and URL-safe
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: dot-ai-worktree-prd3description: Create a git worktree for PRD work with a descriptive branch name. Infers PRD from context or asks user. Use when this capability is needed.4---56# Create Git Worktree for PRD78Create a git worktree with a descriptive branch name based on the PRD title.910## Workflow1112### Step 1: Identify the PRD1314Infer the PRD number from the current conversation. Look for references like "PRD 353", "PRD #353", or "prd-353".1516If not found, ask the user: "Which PRD should I create a worktree for? (e.g., 353)"1718### Step 2: Create the Worktree1920If the PRD title is already known from conversation context, pass both number and title:21```bash22bash .claude/skills/dot-ai-worktree-prd/create.sh [number] "[title]"23```2425Otherwise let the script look it up from `prds/`:26```bash27bash .claude/skills/dot-ai-worktree-prd/create.sh [number]28```2930### Step 3: Handle Result3132- If `SUCCESS=true`: report the branch name, worktree path, and suggest `cd [worktree_path]`33- If `ERROR=true`: show the errors to the user and ask how to proceed3435## Guidelines3637- **Descriptive names**: Branch names describe the feature, not just the PRD number38- **Base on main**: Always branches from `main` for new feature work39- **Clean names**: The script keeps branch names concise and URL-safe4041---42> Converted and distributed by [TomeVault](https://tomevault.io/claim/vfarcic) — claim your Tome and manage your conversions.43<!-- tomevault:4.0:skill_md:2026-04-11 -->
Run npx get-skill add tomevault-io/dot-ai-worktree-prd in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Create a git worktree for PRD work with a descriptive branch name. Infers PRD from context or asks user. Use when this capability is needed. It is listed under Product & Planning on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.