audit
On-demand security audit — OWASP, secrets, dependencies, IaC security
Move codebase documentation between .shipyard/codebase and docs/codebase
> /plugin marketplace add lgbarn/shipyard > /plugin install shipyard@shipyard
How it fires
How this command gets triggered: by you, by Claude, or both.
/move-docsContext preview
What this command does when you run it.
Move codebase documentation between .shipyard/codebase and docs/codebase
description: "Move codebase documentation between .shipyard/codebase and docs/codebase" disable-model-invocation: true argument-hint: ""
Move brownfield codebase analysis documentation between `.shipyard/codebase/` and `docs/codebase/`, updating configuration and committing the change.
<prerequisites>
1. Verify `.shipyard/` exists. If not, tell the user to run `/shipyard:init` first. 2. Read `codebase_docs_path` from `.shipyard/config.json` (default: `.shipyard/codebase`). 3. If `codebase_docs_path` is not set in config, infer from file existence:
4. If docs exist in **both** locations: display conflict error and ask the user to resolve manually. Stop.
</prerequisites>
<execution>
The target is the opposite of the current location:
Use AskUserQuestion to confirm:
> **Move codebase documentation?** > > - **From:** `{current_path}/` > - **To:** `{target_path}/` > > Files: STACK.md, ARCHITECTURE.md, CONVENTIONS.md, CONCERNS.md, INTEGRATIONS.md, STRUCTURE.md, TESTING.md > > If moving to `docs/codebase/`: files will be git-committed (visible in repository). > If moving to `.shipyard/codebase/`: files will be gitignored (private).
If user declines, stop.
Create the target directory if it does not exist:
mkdir -p {target_path}For each of these 7 files, if it exists in the current path:
Move using `git mv` (preserves history):
git mv {current_path}/{file} {target_path}/{file}If `git mv` fails (file not tracked), fall back to `mv`:
mv {current_path}/{file} {target_path}/{file}Track: count of files moved, list of files skipped (not found).
Read `.shipyard/config.json`, set `codebase_docs_path` to `{target_path}`, write back.
If the source directory is now empty, remove it:
rmdir {current_path} 2>/dev/null || truegit add .shipyard/config.json {target_path}/
git commit -m "shipyard: move codebase docs to {target_path}"</execution>
<output>
Display:
Codebase documentation moved successfully.
Moved ({count} files):
- {list}
Skipped (not found):
- {list or "none"}
New location: {target_path}/
Config updated: .shipyard/config.jsonIf moved to `docs/codebase/`: > Documentation is now tracked in git and visible to collaborators.
If moved to `.shipyard/codebase/`: > Documentation is now gitignored and private to your local workspace.
</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