Agent skill

Worktree Prd

by vfarcic in vfarcic/dot-agent-deck

Create a git worktree for PRD work with a descriptive branch name.

MITAuto-check passedProduct & Project Management

Install Worktree Prd

skills CLI
$ npx skills add vfarcic/dot-agent-deck --skill worktree-prd -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install vfarcic/dot-agent-deck worktree-prd --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/vfarcic/dot-agent-deck.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/worktree-prd .claude/skills/worktree-prd && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
worktree-prd
GitHub stars
109
Token cost
~503 tokens
SKILL.md length
249 words
Files
2
Skills in repo
23
Repo updated
First seen
Licence
MIT

At a glance

Create a git worktree for PRD work with a descriptive branch name.

  • Works in 4 steps: Identify the PRD → Create the Worktree → Copy Local Settings → …
  • Tasks that involve PRD writing
  • SKILL.md covers Workflow and Guidelines
  • Runs Shell scripts from its folder; calls bash

What it does

Worktree Prd is an agent skill from vfarcic/dot-agent-deck. Create a git worktree for PRD work with a descriptive branch name. Infers PRD from context or asks user.

Its SKILL.md is about 500 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `create.sh`).

It sits in Product & Project Management, covering PRD writing and Git worktrees. It works with Git. The repository describes itself as: A rich terminal dashboard for monitoring and controlling multiple AI coding agent sessions. The licence is MIT.

When your agent uses it

  • Tasks that involve PRD writing
  • Tasks that involve Git worktrees

Example prompts

  • “/worktree-prd”

Requirements

  • A Bash shell

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Identify the PRD
  2. Create the Worktree
  3. Copy Local Settings
  4. Handle Result

What it can do on your machine

Read from SKILL.md and the folder at commit c5d24e7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • bash

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Worktree Prd loads about 503 tokens when it runs. Until then it costs about 29 tokens; SKILL.md has 249 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~29
When it runs · the whole SKILL.md, loaded when a task matches
~503

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from vfarcic/dot-agent-deck at commit c5d24e7, republished under its MIT licence (© vfarcic). 249 words, ~503 tokens.

Download SKILL.mdSave it as .claude/skills/worktree-prd/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
worktree-prd
description
Create a git worktree for PRD work with a descriptive branch name. Infers PRD from context or asks user.
user-invocable
true

Create Git Worktree for PRD

Create a git worktree with a descriptive branch name based on the PRD title.

Since issue #1591 a new PRD lives in its GitHub issue (../prd-start/issue-prd.md), so the title comes from the file when one exists and from the issue otherwise.

Workflow

Step 1: Identify the PRD

Infer the PRD number from the current conversation. Look for references like "PRD 353", "PRD #353", or "prd-353".

If not found, ask the user: "Which PRD should I create a worktree for? (e.g., 353)"

Step 2: Create the Worktree

If the PRD title is already known from conversation context, pass both number and title:

bash
bash .claude/skills/worktree-prd/create.sh [number] "[title]"

Otherwise let the script look it up — from prds/[number]-*.md when that file exists, and from issue #[number]'s title otherwise:

bash
bash .claude/skills/worktree-prd/create.sh [number]
Step 3: Copy Local Settings

Copy .claude/settings.local.json from the main repo to the new worktree so local settings (which are not tracked in git) are available:

bash
cp .claude/settings.local.json [worktree_path]/.claude/settings.local.json

If the source file doesn't exist, skip this step silently.

Step 4: Handle Result
  • If SUCCESS=true: report the branch name, worktree path, and suggest cd [worktree_path]. If PRD_SOURCE=none, also say the issue does not carry a PRD yet, so /prd-start will stop at its readiness check until /prd-create [number] writes one
  • 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

© vfarcic, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in .claude/skills/worktree-prd of vfarcic/dot-agent-deck.

  • SKILL.md
  • create.sh

Open the folder on GitHubat commit c5d24e7

Compare with similar skills

Worktree Prd next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Worktree Prd compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Worktree Prd this skillvfarcic/dot-agent-deck109—~503Automated safety check: PassMIT
Graphsmallnest/goal-workflow288—~3.9kAutomated safety check: PassMIT
CCPM Project Managementautomazeio/ccpm8.4k—~1.1kAutomated safety check: PassMIT
Reviewfossasia/eventyay-interpretation1.6k34 repos~996Automated safety check: PassApache-2.0
Shep Workstreamsshep-ai/shep264—~2.5kAutomated safety check: PassMIT
Execute Fleetanombyte93/prd-taskmaster604—~2.2kAutomated safety check: NotesMIT

Similar skills

  • Graph

    smallnest/goal-workflow

    Graph engineering for parallel task execution: convert a task, PRD, SPEC, or issue set into a dependency graph (DAG), layer it into supersteps, then implement each independent node concurrently with…

    288 GitHub stars~3.9k tokensUpdated 24 days ago
    Product & Project ManagementAuto-check passed
  • Runs a spec-driven workflow from PRD to epic to GitHub issues to parallel agents, with status, standup and blocked-work reports from bundled scripts.

    8.4k GitHub stars~1.1k tokensUpdated 6 mo ago
    Product & Project ManagementAuto-check passed
  • Review

    fossasia/eventyay-interpretation

    Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes — Standards (does the code follow this repo's documented coding standards?) and Spec (does the code match…

    1.6k GitHub starsUsed in 34 repos~996 tokens
    Product & Project ManagementAuto-check passed
  • Shep Workstreams

    shep-ai/shep

    A skill your agent uses when a large body of work (a version milestone, an epic, a roadmap, a set of PRDs/design docs) needs to be broken into parallel workstreams and executed with the shep CLI.

    264 GitHub stars~2.5k tokensUpdated 2 days ago
    Product & Project ManagementAuto-check passed
  • Execute Fleet

    anombyte93/prd-taskmaster

    Phase execution skill for licensed Atlas Fleet runs. An agent skill from anombyte93/prd-taskmaster.

    604 GitHub stars~2.2k tokensUpdated 1 mo ago
    Product & Project ManagementAuto-check: notes
  • Mega Plan

    Taoidle/plan-cascade

    Project-level multi-task orchestration system. An agent skill from Taoidle/plan-cascade.

    133 GitHub stars~3.4k tokensUpdated 6 mo ago
    Product & Project ManagementAuto-check: notes

More from vfarcic/dot-agent-deck

All 23 skills in this repo
  • Dispatch Shape

    vfarcic/dot-agent-deck

    Choose the shape of a unit you are about to dispatch in this repo — one agent (--single) or a team (--orchestration '<name') — from divisibility criteria instead of asking, and report the shape you…

    109 GitHub stars~2.8k tokensUpdated today
    Auto-check passed
  • Docs Screenshots Review

    vfarcic/dot-agent-deck

    Check that a change to the user-facing docs covers both clients (the TUI and the desktop app) unless the feature exists in only one, and decide whether it needs a new or updated screenshot, then…

    109 GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • Dot AI Request Dot AI Feature

    vfarcic/dot-agent-deck

    Generate a feature request prompt for another dot-ai project.

    109 GitHub stars~679 tokensUpdated today
    Auto-check passed
  • PR Create

    vfarcic/dot-agent-deck

    Take committed work from a branch to a verified pull request — push, open the PR, settle CI and the automated review, answer and resolve every finding, and hand off.

    109 GitHub stars~3k tokensUpdated today
    Auto-check passed
  • Publish Docs

    vfarcic/dot-agent-deck

    Publish the docs site to GHCR with a main-<sha tag and bump site/helm/values.yaml so Argo CD picks it up — without cutting a SemVer release.

    109 GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Run Dot Agent Deck

    vfarcic/dot-agent-deck

    Run, build, smoke-test, and screenshot the dot-agent-deck binary against an isolated sandbox.

    109 GitHub stars~2.1k tokensUpdated today
    Auto-check passed

Works with

Questions about Worktree Prd

What does Worktree Prd do?

Create a git worktree for PRD work with a descriptive branch name. Worktree Prd is an agent skill from vfarcic/dot-agent-deck. Create a git worktree for PRD work with a descriptive branch name.

When should I use Worktree Prd?

Worktree Prd fits situations like: tasks that involve PRD writing; tasks that involve Git worktrees.

How do I install Worktree Prd in Claude Code?

Run `npx skills add vfarcic/dot-agent-deck --skill worktree-prd -a claude-code`. Or copy the skill folder (.claude/skills/worktree-prd in vfarcic/dot-agent-deck) into .claude/skills/worktree-prd in your project. Claude Code loads it when a task matches its description.

How do I install Worktree Prd in Codex?

Run `npx skills add vfarcic/dot-agent-deck --skill worktree-prd -a codex`. Or copy the skill folder (.claude/skills/worktree-prd in vfarcic/dot-agent-deck) into .agents/skills/worktree-prd in your project. Codex loads it when a task matches its description.

Can I use Worktree Prd in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add vfarcic/dot-agent-deck --skill worktree-prd -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/worktree-prd, .gemini/skills/worktree-prd, .github/skills/worktree-prd and .opencode/skills/worktree-prd in your project.

What does Worktree Prd need to run?

Going by SKILL.md and its folder, Worktree Prd needs a shell for the scripts in its folder and the command-line tools its instructions call (bash). Our summary lists: A Bash shell.

Does Worktree Prd access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Worktree Prd safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Worktree Prd use?

Worktree Prd is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Worktree Prd use?

About 503 tokens (SKILL.md is roughly 2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Worktree Prd?

Skills that share tags, products or a category with Worktree Prd: Graph (smallnest/goal-workflow, 288 stars), CCPM Project Management (automazeio/ccpm, 8.4k stars), Review (fossasia/eventyay-interpretation, 1.6k stars) and Shep Workstreams (shep-ai/shep, 264 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Worktree Prd?

vfarcic (a GitHub user) maintains it in vfarcic/dot-agent-deck, which has 109 GitHub stars. The repository holds 23 skills in this directory. The repository was last updated on October 7, 2026.

Source: vfarcic/dot-agent-deck on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.