Skip to content

Templates

Shipwright includes 25 team templates organized by SDLC phase and 9 pipeline templates for different delivery strategies. Team templates define agent roles, focus areas, and file ownership. Pipeline templates define which stages run and how they’re gated.

Browse team templates with shipwright templates list and pipeline templates with shipwright pipeline list.

Team templates define agent roles, their focus areas, and the files they should own. View details with shipwright templates show <name>.

Feature Development (feature-dev) — 3 agents

Section titled “Feature Development (feature-dev) — 3 agents”
Agent Focus Example Files
backend API routes, services, data layer src/api/, src/services/
frontend UI components, state, styling apps/web/src/
tests Unit tests, integration tests *.test.ts

Best for: Multi-layer features where frontend, backend, and tests can be developed in parallel.

Agent Focus Example Files
api REST/GraphQL endpoints, middleware, auth src/api/, src/routes/
database Schema, migrations, queries, models migrations/, prisma/
ui Pages, components, forms, styling apps/web/, src/components/

Best for: Features that span the entire stack from database to UI.

Agent Focus What It Checks
code-quality Logic, patterns, architecture Bugs, code smells, layer violations
security Error handling, injection, auth OWASP top 10, silent failures
test-coverage Test completeness, edge cases Missing tests, weak assertions

Best for: Thorough review of PRs or feature branches.

Security Audit (security-audit) — 3 agents

Section titled “Security Audit (security-audit) — 3 agents”
Agent Focus What It Checks
code-analysis SAST: injection, auth, XSS, CSRF Source code vulnerabilities
dependencies CVEs, outdated packages, licenses Supply chain risks
config-review Secrets, CORS, CSP, env config Infrastructure security

Best for: Pre-release security reviews and compliance checks.

Comprehensive Testing (testing) — 3 agents

Section titled “Comprehensive Testing (testing) — 3 agents”
Agent Focus What It Covers
unit-tests Functions, classes, modules Isolated unit tests
integration-tests API endpoints, service interactions Cross-component tests
e2e-tests User flows, UI interactions Full system tests

Best for: Test coverage campaigns and test suite creation.

Agent Focus What It Does
reproducer Write failing test, trace root cause Proves the bug exists
fixer Fix source code, handle edge cases Implements the fix
verifier Regression check, review changes Ensures nothing else breaks

Best for: Complex bugs that need reproduction, fix, and verification.

Agent Focus What It Does
refactor Source code changes Rename, restructure, extract
consumers Tests and dependents Update imports, fix tests, verify

Best for: Large-scale code transformations with strict file ownership.

Agent Focus What It Does
schema Migration scripts, data transforms Write the migration
adapter Update app code, queries, models Adapt to new schema
rollback Rollback scripts, backward compat Verify safe reversal

Best for: Database migrations and schema changes that need forward and rollback paths.

Documentation Fleet (doc-fleet) — 5 agents

Section titled “Documentation Fleet (doc-fleet) — 5 agents”
Agent Focus Example Files
doc-architect Documentation structure, information architecture, cross-linking docs/, .claude/, README.md, STRATEGY.md
claude-md CLAUDE.md files, agent role definitions, development guidelines .claude/agents/, claude-code/
strategy-curator Strategic docs, plans, roadmap, backlog triage, metrics updates STRATEGY.md, docs/strategy/
pattern-writer Developer guides, patterns, tips, known issues, policy docs docs/patterns/, docs/TIPS.md, docs/config-policy.md
readme-optimizer README, onboarding, install flow, command tables README.md, install.sh

Best for: Documentation refactoring and cleanup across the repo, with each agent owning a separate set of docs.

Agent Focus What It Does
researcher Analyze code, trace deps, evaluate trade-offs Deep codebase analysis
spec-writer ADRs, design docs, interface contracts Write technical specs

Best for: Pre-implementation research and architecture decision records.

Agent Focus What It Does
explorer Deep-dive code, trace execution paths Map the codebase
synthesizer Summarize findings, document patterns Distill insights

Best for: Onboarding onto unfamiliar codebases and understanding complex systems.

Agent Focus What It Does
pipeline CI/CD workflows, build, deploy GitHub Actions, Jenkins, etc.
infrastructure Docker, Terraform, K8s, env config Infrastructure as code

Best for: CI/CD setup, deployment automation, and infrastructure changes.

Documentation (documentation) — 2 agents

Section titled “Documentation (documentation) — 2 agents”
Agent Focus What It Does
api-docs API reference, OpenAPI spec, examples Endpoint documentation
guides Tutorials, README, architecture docs User-facing docs

Best for: Documentation sprints and API reference generation.

Accessibility (accessibility) — 3 agents

Section titled “Accessibility (accessibility) — 3 agents”
Agent Focus Example Files
auditor WCAG compliance, a11y testing, screen reader checks src/components/, *.tsx, *.html
fixer Fix a11y issues, add ARIA attributes, keyboard nav src/components/, *.css
verifier Verify fixes, run a11y test suite *.test.*, e2e/, cypress/

Best for: Accessibility audits and WCAG compliance remediation.

Agent Focus Example Files
designer OpenAPI specs, GraphQL schemas, API contracts *.yaml, *.graphql, docs/api/
implementer API endpoints, middleware, controllers src/api/, src/routes/
consumer Client SDKs, examples, integration tests sdk/, examples/, *.test.*

Best for: API-first development with spec, implementation, and client generation.

Agent Focus Example Files
scanner License scanning, dependency audit, policy checks package.json, *.lock, LICENSE
remediator Fix compliance violations, update licenses src/, LICENSE, NOTICE
documenter Compliance documentation, security policies docs/, SECURITY.md, PRIVACY.md

Best for: Regulatory compliance, license auditing, and policy documentation.

Data Pipeline (data-pipeline) — 3 agents

Section titled “Data Pipeline (data-pipeline) — 3 agents”
Agent Focus Example Files
extractor Data sources, connectors, ingestion src/extract/, src/connectors/
transformer Data models, validation, SQL/dbt src/transform/, sql/, dbt/
loader Data sinks, destinations, verification src/load/, src/sinks/, *.test.*

Best for: ETL/ELT pipeline development with extract, transform, and load separation.

Agent Focus Example Files
analyzer Identify tech debt, complexity hotspots src/, package.json, *.lock
refactorer Reduce debt, simplify code, update deps src/, lib/, apps/
reviewer Verify improvements, run test suite *.test.*, *.spec.*

Best for: Systematic technical debt reduction campaigns.

Agent Focus Example Files
extractor Find hardcoded strings, extract to locale files src/components/, *.tsx, *.vue
translator Translation setup, locale management src/locales/, translations/
verifier Verify all strings translated, test locale switching *.test.*, e2e/

Best for: Adding internationalization support to an existing application.

Incident Response (incident-response) — 3 agents

Section titled “Incident Response (incident-response) — 3 agents”
Agent Focus Example Files
investigator Root cause analysis, log investigation src/, logs/, config/
fixer Implement fix, add safeguards src/, lib/
postmortem Write postmortem, add monitoring docs/, src/monitoring/

Best for: Production incident investigation, fix, and postmortem documentation.

Observability (observability) — 3 agents

Section titled “Observability (observability) — 3 agents”
Agent Focus Example Files
instrumenter Add metrics, traces, structured logging src/, src/middleware/
dashboarder Monitoring dashboards, alert rules monitoring/, dashboards/, alerts/
validator Verify instrumentation, test alerts *.test.*, monitoring/tests/

Best for: Adding monitoring, tracing, and alerting to services.

Agent Focus Example Files
auditor Audit DX, README quality, setup friction README.md, Makefile, scripts/
improver Improve docs, scripts, developer experience docs/, README.md, CONTRIBUTING.md
tester Test setup flow, verify scripts work scripts/, Makefile, *.test.*

Best for: Improving developer onboarding experience and documentation.

Agent Focus Example Files
profiler Benchmarks, profiling, bottleneck identification *.bench.*, *.perf.*, scripts/
optimizer Optimize hot paths, reduce allocations src/, lib/
validator Verify improvements, regression testing *.test.*, *.bench.*

Best for: Performance optimization with profiling, fixing, and verification.

Agent Focus Example Files
preparer Version bumps, changelog, release notes package.json, CHANGELOG.md
validator Release testing, smoke tests, CI verification *.test.*, e2e/, scripts/
announcer Release docs, migration guides docs/, CHANGELOG.md, UPGRADING.md

Best for: Release management with preparation, validation, and documentation.

Agent Focus Example Files
researcher Technology evaluation, feasibility research docs/, package.json
prototyper Build proof of concept, experiment spike/, prototype/, src/
evaluator Evaluate results, write recommendations docs/, *.md

Best for: Time-boxed technical spikes and proof-of-concept development.

In addition to team templates, Shipwright includes 9 pipeline templates that define which stages run and how they’re gated. Browse them with shipwright pipeline list and view details with shipwright pipeline show <name>.

The full set of 15 stages, in order: intake, spec_generation, plan, design, build, test, review, spec_verification, compound_quality, audit, pr, merge, deploy, validate, monitor. Each template enables a subset of them, and each enabled stage has a gate: auto proceeds immediately, approve pauses for approval.

Template Enabled stages Approval gates
fast 6 none (all auto)
hotfix 6 none (all auto)
standard 11 plan, design, review, pr, merge
tdd 11 plan, design, review, pr, merge
full 15 plan, design, review, pr, merge, deploy
autonomous 13 none (all auto; deploy and validate disabled)
deployed 14 deploy (rest auto; no audit stage)
enterprise 14 all except spec_generation and spec_verification
cost-aware 10 plan, review, pr (deploy and validate disabled)

Quick changes. Stages: intake, spec_generation, build, test, compound_quality, pr. Plan, review, deploy, and validate are disabled. All enabled stages are auto.

Urgent production fixes with minimal iteration. Same stages as fast, all auto.

Feature work. Stages: intake, spec_generation, plan, design, build, test, review, spec_verification, compound_quality, pr, merge. Deploy, validate, and monitor are disabled. Plan, design, review, pr, and merge require approval.

Test-first feature work. Stages: intake, spec_generation, plan, design, build, test, review, spec_verification, compound_quality, pr, merge. Deploy is disabled. Plan, design, review, pr, and merge require approval.

All 15 stages enabled. Plan, design, review, pr, merge, and deploy require approval. Validate and monitor run automatically.

Runs without human gates. 13 stages are enabled: all except deploy and validate, which are disabled. The audit stage runs here, and merge and monitor are enabled.

Autonomous delivery through deploy, validate, and monitor, generated by shipwright init --deploy. Stages: all except audit. Only deploy requires approval. Key config from the template:

  • merge: squash merge, waits up to 600s for CI, deletes the branch afterwards
  • monitor: 5-minute health watch, error threshold 5, auto-rollback on ERROR|FATAL|PANIC
  • validate: smoke command and health URL check

Strict delivery. 14 stages enabled (all except audit). Every stage requires approval except spec_generation and spec_verification. Key config from the template:

  • test: 90% minimum coverage
  • compound_quality: 5 max cycles, strict quality enabled
  • pr: waits for CI to pass
  • merge: CI wait timeout 900s
  • monitor: 10-minute watch, error threshold 3, auto-rollback enabled

Budget-conscious delivery. Stages: intake, spec_generation, plan, build, test, review, spec_verification, compound_quality, audit, pr. Deploy and validate are disabled. Plan, review, and pr require approval. Stages are routed to models in the template: intake, test, audit, and pr use haiku; plan, build, and compound_quality use sonnet; review uses opus. Cost tracking is on for each stage, and build aborts if the budget is exceeded.

Terminal window
# List all available templates
shipwright templates list
# View template details
shipwright templates show feature-dev
# Create a session with a template
shipwright session my-feature --template feature-dev

Templates live in tmux/templates/ as JSON files. You can create custom templates by copying an existing one and modifying the agent definitions.