audit
On-demand security audit — OWASP, secrets, dependencies, IaC security
Revert to a previous Shipyard checkpoint
> /plugin marketplace add lgbarn/shipyard > /plugin install shipyard@shipyard
How it fires
How this command gets triggered: by you, by Claude, or both.
/rollbackContext preview
What this command does when you run it.
Revert to a previous Shipyard checkpoint
description: "Revert to a previous Shipyard checkpoint" disable-model-invocation: true argument-hint: "[checkpoint-tag] [--list]"
You are executing the Shipyard rollback workflow. Follow these steps precisely.
<prerequisites>
1. Verify `.shipyard/` exists. If not, tell the user there is nothing to roll back. 2. Verify this is a git repository with at least one commit.
Run `git tag -l "shipyard-checkpoint-*" --sort=-version:refname` to find all checkpoints.
> "No Shipyard checkpoints found. Checkpoints are created automatically during `/shipyard:plan` and `/shipyard:build`."
</prerequisites>
<execution>
Available Checkpoints ═════════════════════ 1. shipyard-checkpoint-post-build-phase-2-20260131T... 2. shipyard-checkpoint-pre-build-phase-2-20260131T... 3. shipyard-checkpoint-post-plan-phase-2-20260130T... 4. shipyard-checkpoint-post-build-phase-1-20260130T... 5. shipyard-checkpoint-pre-build-phase-1-20260130T... Select a checkpoint (1-5):
Ask the user:
> "What scope should the rollback cover?" > 1. **State only** — Revert `.shipyard/` files only (plans, state, roadmap). Code stays as-is. > 2. **Full rollback** — Revert both `.shipyard/` state AND code changes back to the checkpoint.
Before any rollback, create a safety checkpoint:
Follow **Checkpoint Protocol** (create a named git tag for rollback safety at key pipeline stages; see `docs/PROTOCOLS.md`) -- create `pre-rollback` checkpoint.
This ensures the current state can be recovered if the rollback was a mistake.
git checkout <checkpoint-tag> -- .shipyard/
This restores all `.shipyard/` files to their state at the checkpoint without affecting code.
Identify all commits between the checkpoint and HEAD:
git log --oneline <checkpoint-tag>..HEAD
Show the user what will be reverted. Then:
git revert --no-commit <checkpoint-tag>..HEAD git commit -m "shipyard: rollback to <checkpoint-tag>"
Add a history entry to `.shipyard/HISTORY.md`:
- [<timestamp>] Rolled back to <checkpoint-tag> (<scope>)
</execution>
<output>
Display: > "Rollback complete. Reverted to `<checkpoint-tag>` (<scope> scope)." > "Safety checkpoint created: `shipyard-checkpoint-pre-rollback-<timestamp>`" > "Run `/shipyard:status` to see current state."
</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
Investigate bugs and failures with systematic root-cause analysis