pr-and-cleanup
FreeCreate a PR and automatically cleanup the worktree. Keeps local and remote branches intact.
The English summary is being prepared. Showing the original description.
Creates a git worktree for parallel feature development. Use after planning to prepare an isolated development environment with all necessary environment files.
The English summary is being prepared. Showing the original description.
See how to installReview the instructions the agent will receive before you install.
planモード終了後、feature開発用の独立したworktree環境を自動作成します。
このSkillは以下を自動で実行します:
.worktrees/<feature-name>/ ディレクトリにworktreeを作成feature/<feature-name> ブランチを新規作成.env, .envrc など)を自動コピーmake setup で開発環境をセットアップ# スクリプトを実行
bash .claude/skills/create-worktree/scripts/create_worktree.sh <feature-name>
# 例: user-auth 機能を開発する場合
bash .claude/skills/create-worktree/scripts/create_worktree.sh user-auth
.worktrees/user-auth/ # worktreeディレクトリ
├── .env # ルートからコピー
├── .envrc # ルートからコピー
├── modules/
│ ├── frontend/.env* # frontendの環境変数
│ ├── backend/.env # backendの環境変数
│ └── agent/.env # agentの環境変数(あれば)
└── ...(その他のファイル)
.env, .envrc.env, .env.local, .env.dev, .env.prd, .env.test.env.env(存在する場合)pr-and-cleanup スキルを使用すると、PR作成とworktree削除を自動で行えます:
cd .worktrees/<feature-name>
bash ../../.claude/skills/pr-and-cleanup/scripts/pr_and_cleanup.sh
詳細は pr-and-cleanup スキル を参照してください。
git worktree remove .worktrees/<feature-name>
詳細については REFERENCE.md を参照してください。
No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
Create a PR and automatically cleanup the worktree. Keeps local and remote branches intact.
The English summary is being prepared. Showing the original description.