بنقرة واحدة
worktree
Create git worktrees for parallel feature development. Use when working on multiple features simultaneously.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Create git worktrees for parallel feature development. Use when working on multiple features simultaneously.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Fast headless browser for QA testing and site dogfooding. (gstack)
Safety guardrails for destructive commands. (gstack)
OpenAI Codex CLI wrapper — three modes. (gstack)
Design consultation: understands your product, researches the landscape, proposes a complete design system (aesthetic, typography, color, layout, spacing, motion), and generates font+color preview... (gstack)
Designer's eye QA: finds visual inconsistency, spacing issues, hierarchy problems, AI slop patterns, and slow interactions — then fixes them. (gstack)
Post-ship documentation update. (gstack)
| name | worktree |
| description | Create git worktrees for parallel feature development. Use when working on multiple features simultaneously. |
| argument-hint | ["branch-name"] |
When the user invokes this skill:
Fetch latest changes
git fetch origin
Ensure .gitignore is configured
.worktrees/ is in .gitignore.worktrees/ to .gitignoreDetermine branch type - Check if the branch already exists:
git branch -a | grep -E "(^|\s)feat/<name>$|origin/feat/<name>"
Determine base branch (only needed for new branches):
git branch -r | grep -E "origin/(develop|master)$"
origin/develop if it existsorigin/master if develop doesn't existCreate the worktree
If branch does NOT exist → create new branch from base branch:
# If origin/develop exists:
git worktree add .worktrees/<name> -b feat/<name> origin/develop
# If origin/develop doesn't exist, use origin/master:
git worktree add .worktrees/<name> -b feat/<name> origin/master
If branch EXISTS → use existing branch:
git worktree add .worktrees/<name> feat/<name>
Report the result
git worktree list.worktrees/<name>User: /worktree auth-refactor
→ Branch feat/auth-refactor doesn't exist
→ origin/develop exists
→ Creates .worktrees/auth-refactor on NEW branch feat/auth-refactor (from origin/develop)
User: /worktree new-feature
→ Branch feat/new-feature doesn't exist
→ origin/develop doesn't exist, using origin/master
→ Creates .worktrees/new-feature on NEW branch feat/new-feature (from origin/master)
User: /worktree metaknow_url_header
→ Branch feat/metaknow_url_header already exists
→ Creates .worktrees/metaknow_url_header using EXISTING branch
git worktree remove .worktrees/<name>
git worktree list