بنقرة واحدة
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 المهني
Create a release tag based on accumulated changelog fragments, then prune merged worktrees and branches. Run when ready to cut a release.
Write documentation with real, validated examples. Executes commands through the user to capture actual output. Use for any new documentation or major doc updates.
| name | worktree-prd |
| description | Create a git worktree for PRD work with a descriptive branch name. Infers PRD from context or asks user. |
| disable-model-invocation | true |
Create a git worktree with a descriptive branch name based on the PRD title.
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)"
If the PRD title is already known from conversation context, pass both number and title:
bash create.sh [number] "[title]"
Otherwise let the script look it up from prds/:
bash create.sh [number]
Copy .claude/settings.local.json from the main repo to the new worktree so local settings (which are not tracked in git) are available:
cp .claude/settings.local.json [worktree_path]/.claude/settings.local.json
If the source file doesn't exist, skip this step silently.
SUCCESS=true: report the branch name, worktree path, and suggest cd [worktree_path]ERROR=true: show the errors to the user and ask how to proceedmain for new feature work