lgbarn/shipyard/using-shipyard

Claude Code and agent skill by lgbarn/shipyard

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Explains how to find and use Shipyard skills and commands, and requires a Skill tool call before any response, including clarifying questions. Use at the start of any conversation, or when the user asks "what should I do", "help me", "how do I use shipyard", or "where do I start". Also use when it is unclear which skill or command applies.

Install

npx vskill@latest install lgbarn/shipyard/using-shipyard

SKILL.md

Using Shipyard

What is Shipyard?

Shipyard is a structured project execution framework for Claude Code. It works as a plugin that helps you:

  • Plan work in phases — break large projects into manageable pieces with clear success criteria
  • Build with parallel agents and TDD — fresh 200k-token context per task, atomic commits, test-driven development
  • Review code quality and security automatically — two-stage code review, OWASP security audits, complexity analysis
  • Ship with confidence — verification gates, documentation generation, and delivery workflows

Shipyard works as a Claude Code plugin. Install it once, then use slash commands in any project.

Getting Started

New to Shipyard? Follow these steps:

  1. `/shipyard:init` — Set up your project preferences (interaction mode, git strategy, quality gates). Takes ~1 minute.
  2. `/shipyard:brainstorm` — Explore what you want to build through interactive dialogue. Captures a project definition.
  3. `/shipyard:plan 1` — Plan your first phase of work. Researches the codebase and decomposes into executable tasks.
  4. `/shipyard:build` — Execute the plan with parallel builder agents, review gates, and security audits.
  5. `/shipyard:ship` — Verify, audit, document, and deliver your completed work.

For quick one-off tasks, skip the lifecycle and use /shipyard:quick 'description'.

I Want To...

GoalCommand
Set up a new project/shipyard:init
Explore requirements/shipyard:brainstorm
Understand existing code/shipyard:map
Plan a phase/shipyard:plan [phase] [--skip-research]
Build from a plan/shipyard:build [phase] [--plan N] [--light]
Quick one-off task/shipyard:quick "task"
Review my code/shipyard:review
Security check/shipyard:audit
Research technology options/shipyard:research "topic"
Find duplication/complexity/shipyard:simplify [scope]
Generate documentation/shipyard:document [scope]
Run tests and verify/shipyard:verify [criteria]
Check progress/shipyard:status
Change settings/shipyard:settings
Rollback to checkpoint/shipyard:rollback
Recover from errors/shipyard:recover
Ship completed work`/shipyard:ship [--phase \--milestone \--branch]`

How to Access Skills

In Claude Code: Use the Skill tool. When you invoke a skill, its content is loaded and presented to you — follow it directly. Never use the Read tool on skill files.

In other environments: Check your platform's documentation for how skills are loaded.

Available Skills

Shipyard provides 19 skills. Skills are behavioral disciplines — they define HOW to do work, not what to build.

SkillWhat It Actually Does
shipyard:using-shipyardIndex of all skills/commands with triggers and activation rules (this skill)
shipyard:shipyard-tddEnforces write-failing-test → watch-fail → implement → watch-pass → refactor cycle. Tests written after code prove nothing.
shipyard:shipyard-debugging4-phase investigation (root cause → pattern analysis → hypothesis test → fix). After 3 failed fixes, stop and question architecture.
shipyard:shipyard-verificationBlocks "done"/"fixed"/"passing" claims until you run the actual command fresh and read the output. Evidence before assertions.
shipyard:shipyard-brainstormingOne-question-at-a-time Socratic dialogue to turn vague ideas into validated designs with trade-offs before any code is written.
shipyard:security-auditChecks OWASP Top 10, scans for hardcoded secrets, audits dependencies and IaC (Terraform/Ansible/Docker). Critical findings block merge.
shipyard:code-simplificationPost-implementation review for duplication (3+ occurrences → extract), dead code, over-engineering, and AI bloat patterns.
shipyard:infrastructure-validationTool-chain workflows for Terraform (fmt/validate/plan/lint), Ansible (lint/syntax/dry-run), Docker (hadolint/build/trivy).
shipyard:parallel-dispatchRoutes 2+ independent tasks to concurrent agents with isolated scope/constraints. Prevents sequential bottleneck.
shipyard:shipyard-writing-plansConverts specs into executable tasks with exact file paths, code samples, verification commands, and TDD steps for builder handoff.
shipyard:shipyard-executing-plansRuns fresh builder agent per task + two-stage review (spec compliance then code quality) + security audit + simplification gate.
shipyard:git-workflowFull branch lifecycle: create worktree → setup → baseline tests → work → verify → 4 completion options (merge/PR/keep/discard).
shipyard:documentationGenerates code comments, API docs (params/returns/examples), architecture docs, and user guides. Verifies examples actually work.
shipyard:shipyard-writing-skillsTDD for docs: run scenario WITHOUT skill (RED) → document agent rationalizations → write skill countering them (GREEN) → refine.
shipyard:shipyard-testingEnforces behavior-based testing via public APIs: AAA structure, DAMP not DRY, name tests after behavior, prefer state over mocks.
shipyard:lessons-learnedAfter phase completion, captures what worked/surprised/failed into .shipyard/LESSONS.md and optionally feeds back to CLAUDE.md.
shipyard:shipyard-handoffCaptures session context into .shipyard/HANDOFF.md so the next session can resume without losing progress.
shipyard:import-specImports a spec-kit feature directory into Shipyard, replacing brainstorming. Maps spec artifacts to PROJECT.md and ROADMAP.md.
shipyard:import-spec-fileImports a handwritten spec document into Shipyard, replacing brainstorming. Interviews to fill gaps via Socratic dialogue.

Shipyard Commands

Commands are actions — they produce artifacts, change state, or trigger workflows.

Lifecycle Commands (run in order for full projects)
CommandWhat It Actually Does
/shipyard:initSettings only. Asks ~9 preference questions (interaction mode, git strategy, review depth, quality gates, model routing) and writes .shipyard/config.json. No codebase analysis or planning.
/shipyard:brainstormSocratic dialogue exploring goals/constraints → writes .shipyard/PROJECT.md. Optionally dispatches architect to generate ROADMAP.md with up to 3 revision cycles.
/shipyard:plan [phase] [--skip-research]Dispatches researcher → architect → verifier agents to create executable plan files (PLAN-W.P.md) with tasks, file paths, verification commands. Produces RESEARCH.md and context files.
/shipyard:build [phase] [--plan N] [--light]Dispatches builder agent per plan + two-stage review + optional security audit/simplification/docs. Handles retries (up to 2) on critical issues. Produces SUMMARY and REVIEW files per plan.
`/shipyard:ship [--phase \--milestone \--branch]`Pre-ship verification + tests + security audit + docs + lessons learned capture. Then presents 4 delivery options: merge locally, push PR, preserve branch, or discard. Archives artifacts.
Session Management
CommandWhat It Actually Does
/shipyard:statusReads state files and displays progress dashboard with blockers and next-action suggestion. No side effects.
/shipyard:resumeReconstructs context from STATE.json + HISTORY.md + artifacts to detect interrupted work and route to recovery.
/shipyard:settingsInteractive menu to view/update .shipyard/config.json preferences. Supports list, view <key>, set <key> <value>.
/shipyard:issuesManages deferred issues in .shipyard/ISSUES.md with severity tracking. Supports --add, --resolve, --list.
/shipyard:rollbackReverts to a git checkpoint (state-only or full code+state). Lists recent checkpoints, creates safety checkpoint before reverting.
/shipyard:recoverDiagnoses state inconsistencies and offers recovery: resume, rollback, rebuild state from artifacts, or full reset.
On-Demand Tools (use anytime, no lifecycle required)
CommandWhat It Actually Does
/shipyard:quick "task"Dispatches architect (simplified plan) → builder (execute + verify) for small self-contained tasks. Produces QUICK-NNN.md. No roadmap needed.
/shipyard:review [target]Two-stage code review (spec compliance if plan exists, otherwise quality). Accepts uncommitted changes, diff ranges, file paths, or branch comparisons.
/shipyard:audit [scope]OWASP Top 10 + secrets + dependencies + IaC security scan. Critical findings are hard gates. Accepts changes, ranges, directories, or full codebase.
/shipyard:simplify [scope]Detects duplication, dead code, unnecessary abstractions, and AI bloat. Non-blocking findings. Accepts changes, ranges, or directories.
/shipyard:document [scope]Generates API docs, architecture updates, user guides. Analyzes code vs existing docs to find gaps. Accepts changes, ranges, or directories.
/shipyard:research <topic>Dispatches researcher to evaluate technology options via web search + codebase analysis. Produces comparison matrix with recommendations.
/shipyard:verify [criteria]Runs acceptance criteria or test suites, records PASS/FAIL with evidence. Accepts test suite, criteria file, phase number, or inline text.
/shipyard:debug <error>Dispatches debugger agent for systematic root-cause analysis using 5 Whys protocol. Accepts error descriptions or test names.
/shipyard:map [focus]Deep codebase analysis producing up to 7 docs (STACK, INTEGRATIONS, ARCHITECTURE, STRUCTURE, CONVENTIONS, TESTING, CONCERNS). Supports parallel "all" mode.
/shipyard:worktreeGit worktree management: create (isolated branch + setup + tests), list, switch, remove (with dirty-state safety checks).
/shipyard:move-docsRelocates codebase docs between .shipyard/codebase/ (private) and docs/codebase/ (public) using git mv.

<activation>

Skill Activation Protocol

When a trigger condition matches, invoke the corresponding skill before responding.

File Pattern Triggers
PatternSkill
*.tf, *.tfvars, terraform*shipyard:infrastructure-validation
Dockerfile, docker-compose.yml, *.dockerfileshipyard:infrastructure-validation
playbook*.yml, roles/, inventory/, ansible*shipyard:infrastructure-validation
*.test.*, *.spec.*, __tests__/, *_test.goshipyard:shipyard-tdd
Task Marker Triggers
MarkerSkill
tdd="true" in plan taskshipyard:shipyard-tdd
Plan file loaded for executionshipyard:shipyard-executing-plans
Design discussion, feature explorationshipyard:shipyard-brainstorming
Creating an implementation planshipyard:shipyard-writing-plans
State Condition Triggers
ConditionSkill
About to claim "done", "complete", "fixed"shipyard:shipyard-verification
About to commit, create PR, or mergeshipyard:shipyard-verification
Bug, error, test failure, unexpected behaviorshipyard:shipyard-debugging
2+ independent tasks with no shared stateshipyard:parallel-dispatch
Creating or editing a skill fileshipyard:shipyard-writing-skills
Branch management, delivery, worktreesshipyard:git-workflow
Starting feature work on a new phaseshipyard:git-workflow
SHIPYARD_IS_TEAMMATE=true in envshipyard:shipyard-executing-plans, shipyard:shipyard-verification — follow teammate mode sections

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 93 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
47
7-day trend score
19

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 20 Mar 2026, 7 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/lgbarn/shipyard/using-shipyard/badge)](https://verified-skill.com/skills/lgbarn/shipyard/using-shipyard)

Something wrong with this skill or its page? Tell us.