lgbarn/shipyard/shipyard-executing-plans
Claude Code and agent skill by lgbarn/shipyard
- community
Checking that the SKILL.md file is still in the repository.
Executes a written implementation plan with agents. Use when a written plan is ready to execute, in the current session or a separate one. Also use when the user says "build this", "implement this", "execute the plan", or "run the plan", or when a loaded plan file has independent tasks suitable for agent dispatch.
Install
npx vskill@latest install lgbarn/shipyard/shipyard-executing-plansSKILL.md
Executing Plans
<activation>
When This Skill Activates
- You have a written implementation plan (from shipyard:shipyard-writing-plans or similar)
- Plan contains independent tasks suitable for agent dispatch or batch execution
- You need structured execution with two-stage review gates
Announce at start: "I'm using the executing-plans skill to implement this plan."
Natural Language Triggers
- "build this", "implement this", "build me this", "execute the plan", "run the plan"
</activation>
Overview
Execute implementation plans by dispatching fresh builder agents per task, with two-stage review after each: spec compliance review first, then code quality review. Can also run as batch execution with human checkpoints.
Core principle: Fresh agent per task + two-stage review (spec then quality) = high quality, fast iteration.
<instructions>
The Process
Step 1: Load and Review Plan
- Read plan file
- Review critically - identify any questions or concerns about the plan
- If concerns: Raise them with your human partner before starting
- If no concerns: Create tasks via TaskCreate and proceed
Step 2: Execute Tasks
Agent-Driven Mode (preferred):
For each task, dispatch a fresh builder agent:
Micro-lesson (best-effort): After marking complete, extract one line: what surprised you, what failed first, or what you'd do differently. Append to.shipyard/phases/{N}/MICRO-LESSONS.mdas- [PLAN-{W}.{P} Task {T}] <takeaway>. Pass the file contents to the next builder agent as context. If no clear takeaway, skip silently. Metrics Collection (best-effort): Also check agent output for<!-- context: ... -->. If found, append to.shipyard/phases/{N}/AGENT-METRICS.md:{ISO timestamp} | {agent-type} | {task-label} | turns={N} | compressed={yes|no} | complete={yes|no}. Skip silently if missing.
Batch Mode (separate session):
Default: First 3 tasks per batch.
For each task:
- Mark as in_progress
- Follow each step exactly (plan has bite-sized steps)
- Run verifications as specified
- Mark as completed
When batch complete:
- Show what was implemented
- Show verification output
- Say: "Ready for feedback."
Based on feedback: apply changes if needed, execute next batch, repeat until complete.
Two-Stage Review Pattern
Stage 1: Spec Compliance Review
- Does the code match the plan's specification?
- Are all requirements met?
- Is there anything extra that wasn't requested?
- Are verification criteria satisfied?
Stage 2: Code Quality Review
- Is the code well-structured?
- Are there any bugs or edge cases missed?
- Is naming clear and consistent?
- Are tests comprehensive?
IMPORTANT: Always complete spec compliance before code quality. Wrong order wastes time reviewing quality of code that doesn't meet spec.
Step 3: Post-Completion Quality Gates
After the final reviewer approves the entire implementation, run these quality gates:
Security Audit
Dispatch an auditor agent (subagent_type: "shipyard:auditor") with:
- Git diff of all files changed during plan execution
- All task summaries and context
- Dependency manifests if any dependencies were added/changed
- Working directory, current branch, and worktree status
- Follow Model Routing Protocol — resolve model from
model_routing.security_audit(default: sonnet). Seedocs/PROTOCOLS.mdfor details.
If CRITICAL findings exist:
- Display the critical findings to the user
- User decides: fix now (dispatch builder with audit feedback) / defer (append to ISSUES.md) / acknowledge and proceed
- If fixing, re-run audit after fixes
Simplification Review
After the audit, dispatch a simplifier agent (subagent_type: "shipyard:simplifier") with:
- Git diff of all files changed during plan execution
- All task summaries
- Working directory, current branch, and worktree status
- Follow Model Routing Protocol — resolve model from
model_routing.simplification(default: sonnet). Seedocs/PROTOCOLS.mdfor details.
Present findings with options:
- Implement simplifications — dispatch builder with simplification plan
- Defer — append to ISSUES.md for future cleanup
- Dismiss — acknowledge and proceed
Step 4: Complete Development
After quality gates pass:
- Context Health Summary: If
AGENT-METRICS.mdexists, review for patterns and include a "Context Health" paragraph in the phase summary. Then announce: "I'm using the git-workflow skill to complete this work." - REQUIRED SUB-SKILL: Use shipyard:git-workflow
- Follow that skill to verify tests, present options, execute choice
Teammate Mode
This section applies when running in a Claude Code Agent Teams context.
As Team Lead (dispatch_mode is team)
When Shipyard created the team via /shipyard:build team mode:
- Orchestrate teammates via TeamCreate → TaskCreate (pre-assign) → Task(team_name) → TaskList (monitor)
- Handle shutdown/cleanup via SendMessage(shutdown_request) + TeamDelete
- Quality gates remain with lead — auditor, simplifier, documenter are dispatched as single-agent Task calls by the lead, not delegated to teammates
- Monitor progress via TaskList polling until all tasks reach terminal state
- Cleanup is mandatory — always run shutdown + delete even on errors
As Team Member (SHIPYARD_IS_TEAMMATE=true)
When Shipyard is running inside someone else's team:
- Execute tasks directly instead of dispatching builder subagents (you ARE the builder)
- Skip quality gate dispatch (auditor, simplifier) — the lead agent handles these
- Write results to task metadata instead of STATE.json — the lead reads task list for progress
- Respect TeammateIdle hook — ensure tests pass before stopping work
In solo mode (neither team-lead nor team-member), this section has no effect — standard subagent dispatch applies.
</instructions>
<examples>
Example: Good vs Bad Execution
<example type="good" title="Proper two-stage review execution"> Task 3: Add retry logic to API client
- Dispatch builder agent with full task context from plan
- Builder implements, writes tests, commits, self-reviews
- Dispatch spec reviewer:
- "Plan says: retry 3 times with exponential backoff. Code retries 3 times but uses fixed delay."
- FAIL -- send back to builder
- Builder fixes to exponential backoff, re-commits
- Dispatch spec reviewer again:
- "All spec requirements met." PASS
- Dispatch code quality reviewer:
- "Code is clean, tests comprehensive." PASS
- Mark task complete, move to Task 4
</example>
<example type="bad" title="Skipping review stages"> Task 3: Add retry logic to API client
- Builder implements and commits
- "Looks good to me" -- skip spec review, jump to next task
- Task 5 fails because Task 3 used fixed delay instead of exponential backoff
- Now must revisit Task 3, causing cascading rework
</example>
</examples>
When to Stop and Ask for Help
STOP executing immediately when:
- Hit a blocker mid-batch (missing dependency, test fails, instruction unclear)
- Plan has critical gaps preventing starting
- You don't understand an instruction
- Verification fails repeatedly
Ask for clarification rather than guessing.
<rules>
Builder Agent Guidelines
Builder agents should:
- Follow TDD naturally (shipyard:shipyard-tdd)
- Ask questions before AND during work if unclear
- Self-review before handing off to reviewers
- Commit after each task
- Context Reporting: End response with exactly:
<!-- context: turns={tool calls made}, compressed={yes|no}, task_complete={yes|no} -->
Red Flags
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 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
- SKILL.md in the repositoryCheckingskills/shipyard-executing-plans/SKILL.md
Popularity
- Repository stars
- 50
- Repository forks
- 1
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 16 Apr 2026, 6 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
[](https://verified-skill.com/skills/lgbarn/shipyard/shipyard-executing-plans)