dot-ai-worktree-prd
Create a git worktree for PRD work with a descriptive branch name. Infers PRD from context or asks user.
- License 许可
- MIT
- 最近更新
- 2026-06-19
- Stars
- ★ 3
- Forks
- 1
01 前言 Front Matter
- name
- dot-ai-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
02 资源文件 1
- 脚本create.sh2.6 KB
03 SKILL.md 正文
Create Git Worktree for PRD
Create a git worktree with a descriptive branch name based on the PRD title.
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 .claude/skills/dot-ai-worktree-prd/create.sh [number] "[title]"
Otherwise let the script look it up from prds/:
bash .claude/skills/dot-ai-worktree-prd/create.sh [number]
Step 3: Handle Result
- If
SUCCESS=true: report the branch name, worktree path, and suggestcd [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
mainfor new feature work - Clean names: The script keeps branch names concise and URL-safe
04 同仓库更多 Skills
dot-ai
Kubernetes cluster operations via dot-ai CLI - natural language cluster queries, AI-powered deployment recommendations, issue troubleshooting and remediation, Day 2 operations (scale, update, rollback, delete), resources, namespaces, events, logs, organizational knowledge base (ingest, search, query), organizational patterns/policies/capabilities management, project scaffolding and repo audit, and session history and visualization. Run `dot-ai --help` for commands.
dot-ai-write-docs
Write documentation with real, validated examples. Executes commands through the user to capture actual output. Use for any new documentation or major doc updates.
dot-ai-version
Get comprehensive system health and diagnostics
dot-ai-users
Manage users (create, list, delete)
dot-ai-tag-release
Create a release tag based on accumulated changelog fragments. Run when ready to cut a release.
dot-ai-request-dot-ai-feature
Generate a feature request prompt for another dot-ai project. Use when you need a feature implemented in a sibling project (MCP server, controller, etc.) to unblock work in the current project.