用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/vfarcic/dot-ai-skills --skill worktree-prd命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | worktree-prd |
| description | Create a git worktree for PRD work with a descriptive branch name. Infers PRD from context or asks user. |
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 create-worktree.sh script from this skill's directory:
.claude/skills/worktree-prd/create-worktree.sh [branch-name]
The script will:
../${repo_name}-${branch-name}If the script fails due to existing branch/worktree, inform the user and ask how to proceed.
main for new feature work基于 SOC 职业分类