brunolca/claude-plugins/tree/main/plugins/prototype-mode

프로젝트를 프로토타입 모드로 표시하고 Git worktree 격리를 해제해 Claude가 대화형 세션과 백그라운드 작업에서 현재 브랜치를 직접 편집하고 커밋하도록 하는 Claude Code 플러그인입니다.
brunolca/claude-plugins/tree/main/plugins/prototype-mode

prototype-mode는 worktree.bgIsolation을 "none"으로 설정해 프로젝트를 프로토타입 모드로 전환하는 Claude Code 플러그인입니다. EnterWorktree를 호출할 때까지 기본 체크아웃에서 Edit/Write를 막는 가드를 끕니다. Prototype mode 시스템 프롬프트 섹션을 주입하고 EnterWorktree를 거부하며, 서브에이전트 호출에서 isolation:"worktree"를 제거하고 현재 브랜치에 커밋하되 push 전에는 물어보라고 Claude에 알립니다. 명령은 /proto on, /proto on team, /proto off와 /proto status이며 상태 줄 표시기가 활성 상태를 보여 줍니다. claude plugin marketplace add brunolca/claude-plugins 및 claude plugin install prototype-mode@brunolca로 설치합니다. Claude Code 2.1.289 이상이 필요합니다.
먼저 작성자의 README에서 marketplace와 플러그인 이름을 확인하세요. 저장소 구조에 따라 명령어가 달라질 수 있습니다.
claude plugin marketplace add brunolca/claude-plugins claude plugin install prototype-mode
A Claude Code plugin that flags a project for prototype mode: no git worktrees, iterate and commit directly on the current branch (main included). Works for interactive sessions and background jobs.

claude plugin marketplace add brunolca/claude-plugins
claude plugin install prototype-mode@brunolca
Or from inside Claude Code: /plugin marketplace add brunolca/claude-plugins, then /plugin install prototype-mode@brunolca.
Commit this to the project's .claude/settings.json so everyone who trusts the repo is offered the plugin, and prototype mode is on for all of them:
{
"extraKnownMarketplaces": {
"brunolca": {
"source": { "source": "github", "repo": "brunolca/claude-plugins" }
}
},
"enabledPlugins": { "prototype-mode@brunolca": true },
"worktree": { "bgIsolation": "none" }
}
/proto on team writes the worktree part for you.
| Command | Effect |
| --- | --- |
| /proto on | Sets worktree.bgIsolation: "none" in .claude/settings.local.json (just you) |
| /proto on team | Same, in .claude/settings.json (commit it to share) |
| /proto off [team] | Removes it; a team "none" is overridden locally with "worktree" |
| /proto / /proto status | Shows the effective mode and where it comes from |
The status line shows 🧪 prototype mode while it's on.
worktree.bgIsolation: "none" is Claude Code's own setting. It turns off the guard that blocks Edit/Write in the main checkout until EnterWorktree is called. The CLAUDE_BG_ISOLATION env var outranks it. This part works even without the plugin.EnterWorktree is refused, and isolation: "worktree" is stripped from subagent (Agent) calls.claude --plugin-dir . # load this checkout for one session
claude plugin validate .
claude plugin test .
Requires a Claude Code build with function-hook plugins (2.1.289 or newer).