audit
On-demand security audit — OWASP, secrets, dependencies, IaC security
Investigate bugs and failures with systematic root-cause analysis
> /plugin marketplace add lgbarn/shipyard > /plugin install shipyard@shipyard
How it fires
How this command gets triggered: by you, by Claude, or both.
/debugContext preview
What this command does when you run it.
Investigate bugs and failures with systematic root-cause analysis
description: "Investigate bugs and failures with systematic root-cause analysis" disable-model-invocation: true argument-hint: "<error description or test name>"
You are executing the Shipyard debugging workflow. This dispatches a dedicated debugger agent for systematic root-cause investigation.
<prerequisites>
> "What issue are you investigating? Provide the error message, failing test, or describe the unexpected behavior."
1. Read `.shipyard/STATE.json` if it exists (for current phase context) 2. Read `.shipyard/config.json` for model routing 3. Follow **Worktree Protocol** (detect if running in a git worktree; if so, use worktree root for paths and record the branch name; see `docs/PROTOCOLS.md`) 4. Follow **Model Routing Protocol** (select the correct model for the debugger role using `model_routing.debugging` from config; see `docs/PROTOCOLS.md`)
</prerequisites>
<execution>
Dispatch a **debugger agent** (subagent_type: "shipyard:debugger") following the **Model Routing Protocol** with:
The debugger agent performs: 1. Root cause investigation (reproduce, trace, gather evidence) 2. Pattern analysis (compare working vs broken code) 3. Hypothesis testing (minimal changes, one variable at a time) 4. Remediation plan (documented steps for the builder)
Read the debugger's ROOT-CAUSE.md output and present to the user:
</execution>
<output>
Offer the user options based on the diagnosis:
If in an active phase build:
</output>
A Claude Code plugin for structured project execution. Plan work in phases, build with parallel agents and TDD, review with security audits and quality gates, and ship with confidence.
Repo: lgbarn/shipyard
On-demand security audit — OWASP, secrets, dependencies, IaC security
Explore requirements through Socratic dialogue and capture project definition
Execute plans using fresh subagents with review gates