Create a feature branch (worktree, stacked, or simple)
Creates a feature branch with worktree, stacked, or simple isolation strategy.
/plugin marketplace add settlemint/agent-marketplace/plugin install crew@settlemintgit/branch/<stack_context>
!${CLAUDE_PLUGIN_ROOT}/scripts/git/machete-context.sh
</stack_context>
<worktree_status>
!${CLAUDE_PLUGIN_ROOT}/scripts/git/worktree-context.sh
</worktree_status>
Ask isolation strategy. Delegate to worktree:create, branch:new + stacked:add, or branch:new.
</objective> <workflow>If already in a worktree → offer worktree or stacked options only.
AskUserQuestion({
questions: [
{
question: "How should the new branch be isolated?",
header: "Isolation",
options: [
{
label: "New worktree (Recommended)",
description: "Isolated phantom worktree",
},
{ label: "Stacked branch", description: "Add to machete stack" },
{
label: "Simple branch",
description: "Regular branch in current checkout",
},
],
multiSelect: false,
},
],
});
If "New worktree":
Skill({ skill: "crew:git:worktree:create" });
If "Stacked branch":
Skill({ skill: "crew:git:branch:new", args: "--base current" });
Skill({ skill: "crew:git:stacked:add" });
If "Simple branch":
Skill({ skill: "crew:git:branch:new", args: "--base main" });
</workflow>
<success_criteria>
</success_criteria>