一键导入
create-worktree
Git worktree with env copy
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Git worktree with env copy
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create a GitHub PR for completed work, then run coderabbit-resolver through review, CI, merge, and cleanup. Use when: the user asks for PR creation followed by CodeRabbit resolution. Keywords: create PR, CodeRabbit, merge.
Secure pnpm GitHub Actions CI
Live onboarding tour of newly implemented code. Combines /deep-trace, the vscode-debug-mcp bridge, and playwright-cli to run the target app in a debug session, drive the UI, pause at curated breakpoints inside the new code, and narrate "this modal is the newly created one" — mapping every UI moment to the exact file:line. Use when the user wants to understand where and how AI-written feature code executes in the running application ("どの UI / どのロジックで動くのか分からない", "オンボーディングして", "/feature-tour").
Screenshot UI defect lint
Debug Claude Code plugins
Record a web or Electron-renderer flow as an annotated video with playwright-cli, then extract frames to confirm how it actually looks. Use when the user points at a flow to capture — "record that part", "あそこの部分", "この一連の動作", "動作確認して録画して", QA-ing a screen's motion/behavior, or proving a web / Electron-renderer interaction works on video. For analyzing a clip you were handed or generic cross-surface motion verification, use the `video` skill; for native macOS chrome (menu / tray / dock / traffic-lights) use computer-use — playwright cannot see those.
| name | create-worktree |
| description | Git worktree with env copy |
When running this skill in Codex, translate Claude Code-only primitives before acting: AskUserQuestion -> chat/request_user_input, TodoWrite -> update_plan, Task/TaskCreate/TeamCreate/SendMessage -> spawn_agent/send_input/wait_agent when available and allowed, and EnterPlanMode/ExitPlanMode -> a concise chat plan plus explicit approval.
Resolve Read/Write/Edit/Bash/WebSearch/WebFetch to Codex file/shell/web tools, and map ~/.claude/... paths to ~/.agents/... or ~/.codex/... unless the task explicitly targets Claude Code. EnterWorktree is Claude Code–only — on Codex, switch into the worktree with cd /absolute/path/to/new-worktree instead (the script already ran git worktree add).
When running this skill in Cursor Agent, translate Claude Code-only primitives before acting: AskUserQuestion -> AskQuestion; TodoWrite -> Cursor TodoWrite or an equivalent checklist; Task/TaskCreate/TeamCreate/SendMessage/multi-agent flows -> Cursor Task (subagents), parallel Tasks, or run_in_background when allowed (TeamCreate/SendMessage may have no exact match); EnterPlanMode/ExitPlanMode -> Plan mode (SwitchMode / CreatePlan) plus explicit user approval.
Resolve Read/Write/Edit/StrReplace/Bash/web/search/MCP via Cursor Composer or Agent equivalents. MCP names written as mcp__server__tool typically map to call_mcp_tool with configured server identifiers. Map ~/.claude/... to ~/.cursor/skills/, .cursor/skills/, and .cursor/rules/ unless the task explicitly targets Claude Code. EnterWorktree is Claude Code–only — on Cursor, switch into the worktree with cd /absolute/path/to/new-worktree instead (the script already ran git worktree add).
Creates a git worktree at <parent>/<project>-<branch>, copies .gitignored configuration files (excluding heavy build/dependency dirs), and navigates into it.
Get the branch name. Ask the user via AskUserQuestion if not provided. Suggested format: feat/..., fix/..., or any topic name.
Run the script from the current project root:
bash ~/.claude/skills/create-worktree/scripts/create-worktree.sh <branch-name>
Read the printed Path: line from the script output. The script ends with:
Path: /absolute/path/to/new-worktree
Switch the session into the new worktree using the EnterWorktree tool with the printed path. The script already registered the worktree via git worktree add, so it appears in git worktree list and EnterWorktree can enter it directly:
EnterWorktree({ path: "/absolute/path/to/new-worktree" })
This actually moves the agent's working directory into the worktree (unlike a bare cd, whose shell state does not propagate out of a Bash call). On non–Claude Code agents that lack EnterWorktree, fall back to cd /absolute/path/to/new-worktree (see compat notes).
Confirm to the user in Japanese (per global preference):
.env 等の ignored ファイルがコピー済みであることnode_modules 等の重いディレクトリはスキップしたので pnpm install が必要な旨All entries listed by git ls-files --others --ignored --exclude-standard --directory — typically .env, .env.local, .vercel/ config, .tsbuildinfo, etc.
node_modules, .next, dist, build, .cache, coverage, .turbo, .vercel/output, .serena, test-results, playwright-report, storybook-static, out, html, .yarn
HEAD/ (e.g., feat/foo) → directory uses - (e.g., corelive-feat-foo)EnterWorktree({ path }) so the switch persists for the rest of the session; a bare cd in a Bash call does not.