Skip to content
Development
Command

/guard

Install, check, or remove the universal enforcement git hooks · Foundry Studio

From plugin
senior-dev
47 skills7 commands3 hooks
> /plugin marketplace add foundry-studio-lab/nzshrimper-senior-dev
> /plugin install senior-dev@nzshrimper-senior-dev

Command definition

guard.md
description: Install, check, or remove the universal enforcement git hooks · Foundry Studio
argument-hint: '[install|status|uninstall]'
allowed-tools: Bash(node:*)

The operator's argument: $ARGUMENTS

If no argument was given, run `state-cli guard status` (the default). Otherwise run `state-cli guard $ARGUMENTS` (must be `install`, `status`, or `uninstall`):

node "${CLAUDE_PLUGIN_ROOT}/scripts/state-cli.mjs" guard <install|status|uninstall>

Present the output to the operator. If the operator asked to install or uninstall and the output shows it happened, confirm what changed (hooks written or removed, prior hooks preserved/restored). The guard makes the senior-dev gates hold outside Claude Code too — Cowork, Codex, and plain terminals. `gh pr create` has no git hook and stays Claude-Code-only; say so if asked.

@foundry-studio-lab
Ships withsenior-dev

A disciplined senior developer, with a second reviewer over its shoulder, for every Claude Code coding session.

Stars on GitHub

Momentum

stars in total
4
Star history of foundry-studio-lab/nzshrimper-senior-dev on GitHub, a chart by star-history.com

Other commands on senior-dev.

ship

ship

Command

Waive test failures proven to pre-exist on the base commit (operator-only, reason required, logged) · Foundry Studio

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command