Brigade Reference Branch — Git skill for Claude Code
Alias of /brigade-settings: reference branch guard.
How to install Brigade Reference Branch
Installs to ~/.claude/commands/front-factory-brigade-brigade-reference-branch.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/front-factory/brigade/HEAD/.claude/commands/brigade-reference-branch.md -o ~/.claude/commands/front-factory-brigade-brigade-reference-branch.md Restart Claude Code, or start a new session, for it to be picked up.
What Brigade Reference Branch does
description: Alias of /brigade-settings: reference branch guard allowed-tools: Read, Write, Edit
Alias of `/brigade-settings`: read `.claude/commands/brigade-settings.md` and follow it, but handle only the reference branch setting (skip the others and the multi-select question).
Alternatives in Git
- Ws Reset — Reset the current branch to main, fetch upstream, and update submodules 38.1k ★
- Clean Worktrees (Automatic) — Automatically remove all worktrees for branches merged into master 25.5k ★
- OSS PR — Commit + PR workflow for open source contributions: auto-creates a user-prefixed branch when on main/master, t 19.7k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Codex Review Branch
Deprecated forwarding alias for Codex feature-branch review.
Worktree Add
Add a new git worktree from branch name or issue URL, copy settings, install deps, and open in current IDE
Setup Remote Editor
Make a worktree's branch link open in VS Code over Remote-SSH (writes env.CC_STATUSLINE_DIR_URL into user or p
Specpilot Archive
Archive oversized .specs/ files (tasks.md Completed section, prompts.md) with a branch safety guard
Remove Worktree
Remove a specific worktree cleanly (directory + git reference + branch)
Concurrency Atomicity
Run a concurrency-correctness and atomicity review against a diff, PR, or branch — race conditions, TOCTOU, de
Related Agents
Line Cook Implementer
Station 3 of the Kitchen Brigade (Implementer). Cooks the Sous Chef's plan inside an isolated git worktree cut
Deploy Guard
Pre-deploy validation gate. HUMAN-INVOKED ONLY. Project-scope permission rule Agent(deploy-guard) is DENIED in
Ip Guard
Checks that no reference product's names, logos, icons, copy, assets, code or trade dress was copied into the