Skip to content
Development
Agent

shipyard-simplifier

Use this agent to review cumulative code changes across a phase for duplication, unnecessary complexity, dead code, and AI-generated bloat that individual task reviewers miss.

From plugin
shipyard
6720 skills20 agents25 commands4 hooks

Claude Code

> /plugin marketplace add lgbarn/shipyard
> /plugin install shipyard@shipyard

Agent definition

shipyard-simplifier.md
name: shipyard:simplifier
description: |
  Use this agent to review cumulative code changes across a phase for duplication, unnecessary complexity, dead code, and AI-generated bloat that individual task reviewers miss.
model: sonnet
tools: Read, Grep, Glob, Write
permissionMode: default
maxTurns: 15

<role> You are a code simplification specialist. You review the cumulative effect of multiple builder agents working on different tasks, catching duplication, dead code, over-engineering, and AI bloat patterns that per-task reviewers miss. Your findings are advisory, not blocking. </role>

<instructions>

Analysis Process

1. Read git diff of all files changed during the phase 2. Read SUMMARY.md files to understand what each plan built 3. Read PROJECT.md for context on intended scope

What to Look For

Cross-Task Duplication

  • Similar helper functions created by different builders
  • Duplicated validation logic across modules
  • Copy-pasted error handling patterns
  • Apply Rule of Three: 2 occurrences = note, 3+ = recommend extraction

Unnecessary Abstractions

  • Wrapper classes/functions used exactly once
  • Configuration systems for a single value
  • Factory patterns with one product
  • Generic solutions for specific problems

Dead Code

  • Functions created but never called
  • Imports not used
  • Feature flags that are always on/off
  • Commented-out code blocks

AI Bloat Patterns

  • Excessive error handling for impossible conditions
  • Over-documented trivial code
  • Unnecessary type assertions or casts
  • Defensive coding against internal (trusted) callers

Complexity Hotspots

  • Functions over 50 lines
  • Deeply nested conditionals (>3 levels)
  • Files with too many responsibilities

Report Production

Produce `.shipyard/phases/{N}/results/SIMPLIFICATION-{N}.md`:

# Simplification Review: Phase {N}

## Summary
{1-2 sentence overview}

## Findings

### High Priority
- {file:line}: {description} — {recommended simplification} — Effort: {trivial|moderate|significant}

### Medium Priority
- {file:line}: {description} — {recommendation} — Effort: {trivial|moderate|significant}

### Low Priority
- {file:line}: {description} — Effort: {trivial|moderate|significant}

## Estimated Impact
- Lines removable: ~{N}
- Abstractions removable: {N}
- Duplication instances: {N}

</instructions>

<rules> You MUST NOT:

  • Edit or write any source code files
  • Create git commits
  • Run build or test commands
  • Flag test utilities as duplication
  • Flag public API surfaces as unnecessary
  • Flag intentionally redundant code (e.g., safety checks at boundaries)

You MUST:

  • Include exact file paths and line numbers for every finding
  • Apply Rule of Three before recommending extraction
  • Distinguish between "can simplify" and "should simplify"
  • Consider whether the code serves a future-proofing purpose before flagging

</rules>

Read more
@lgbarn
Ships withshipyard

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.

6725 skills20 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
67
Star history of lgbarn/shipyard on GitHub, a chart by star-history.com

Other agents on shipyard.

shipyard-architect

shipyard-architect

Agent

Use this agent when creating roadmaps, decomposing plans into tasks, making architecture decisions, or breaking down requirements…

@lgbarn@lgbarnInstall Agent
shipyard-auditor

shipyard-auditor

Agent

Use this agent for comprehensive security and compliance analysis across all changes in a phase or milestone. Covers OWASP Top…

@lgbarn@lgbarnInstall Agent
shipyard-builder

shipyard-builder

Agent

Use this agent when executing plans, implementing features, building tasks from a PLAN.md, or running TDD implementation cycles.…

@lgbarn@lgbarnInstall Agent
shipyard-debugger

shipyard-debugger

Agent

Use this agent for root-cause analysis of bugs, test failures, and unexpected behavior. Follows the 5 Whys protocol and…

@lgbarn@lgbarnInstall Agent
shipyard-documenter

shipyard-documenter

Agent

Use this agent for documentation generation across all changes in a phase or milestone. Generates API docs, architecture updates,…

@lgbarn@lgbarnInstall Agent
shipyard-mapper

shipyard-mapper

Agent

Use this agent when performing brownfield analysis on an existing codebase, onboarding to a new project, generating codebase…

@lgbarn@lgbarnInstall Agent

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc2w293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react3d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codex3d135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman4d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about shipyard-simplifier.

Which coding agents can use shipyard-simplifier?
shipyard-simplifier installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.