원클릭으로
dot-ai-worktree-prd
Create a git worktree for PRD work with a descriptive branch name. Infers PRD from context or asks user.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Create a git worktree for PRD work with a descriptive branch name. Infers PRD from context or asks user.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Remove all Port integrations, Kubernetes resources, and local files created by /port-setup
Set up Port integrations to sync Kubernetes resources and GitHub Actions to Port.io
Start working on a PRD implementation
Update PRD based on design decisions and strategic changes made during conversations
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.
Create a release tag based on accumulated changelog fragments. Run when ready to cut a release.
| 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 |
Create a git worktree with a descriptive branch name based on the PRD title. This ensures feature branches have human-readable names that describe what the work is about.
Try to infer the PRD number from the current conversation. Look for PRD references like "PRD 353", "PRD #353", or "prd-353".
If not found in context, ask the user: "Which PRD should I create a worktree for? (e.g., 353)"
If the PRD content is already in the conversation context, extract the title from there.
Otherwise, read the PRD file. PRD files are in the prds/ directory with naming pattern [number]-[slug].md:
ls prds/ | grep "^[PRD_NUMBER]-"
The title is on the first line in format: # PRD #[number]: [Title]
Convert the PRD title to a branch-friendly name:
prd-[number]-Examples:
prd-353-kimi-k2.5-supportprd-290-skills-distributionprd-264-gitops-argocd-integrationRun the following commands directly. Replace [branch-name] with the name generated in Step 3.
repo_name=$(basename "$(git rev-parse --show-toplevel)")
worktree_path="../${repo_name}-[branch-name]"
git show-ref --verify --quiet "refs/heads/[branch-name]" && echo "ERROR: Branch already exists"
test -d "${worktree_path}" && echo "ERROR: Worktree path already exists"
git worktree list | grep -q "[branch-name]" && echo "ERROR: Worktree already registered"
If any check fails, inform the user and ask how to proceed.
main:git worktree add "${worktree_path}" -b [branch-name] main
cd "${worktree_path}" && git submodule update --init --recursive
${worktree_path}[branch-name]cd ${worktree_path}main for new feature work