Skip to content

Templates

Shipwright includes 24 team templates organized by SDLC phase and 8 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

Overview

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

Build Phase

Feature Development (feature-dev) — 3 agents

AgentFocusExample Files
backendAPI routes, services, data layersrc/api/, src/services/
frontendUI components, state, stylingapps/web/src/
testsUnit tests, integration tests*.test.ts

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

Full-Stack (full-stack) — 3 agents

AgentFocusExample Files
apiREST/GraphQL endpoints, middleware, authsrc/api/, src/routes/
databaseSchema, migrations, queries, modelsmigrations/, prisma/
uiPages, components, forms, stylingapps/web/, src/components/

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

Quality Phase

Code Review (code-review) — 3 agents

AgentFocusWhat It Checks
code-qualityLogic, patterns, architectureBugs, code smells, layer violations
securityError handling, injection, authOWASP top 10, silent failures
test-coverageTest completeness, edge casesMissing tests, weak assertions

Best for: Thorough review of PRs or feature branches.

Security Audit (security-audit) — 3 agents

AgentFocusWhat It Checks
code-analysisSAST: injection, auth, XSS, CSRFSource code vulnerabilities
dependenciesCVEs, outdated packages, licensesSupply chain risks
config-reviewSecrets, CORS, CSP, env configInfrastructure security

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

Comprehensive Testing (testing) — 3 agents

AgentFocusWhat It Covers
unit-testsFunctions, classes, modulesIsolated unit tests
integration-testsAPI endpoints, service interactionsCross-component tests
e2e-testsUser flows, UI interactionsFull system tests

Best for: Test coverage campaigns and test suite creation.

Maintenance Phase

Bug Fix (bug-fix) — 3 agents

AgentFocusWhat It Does
reproducerWrite failing test, trace root causeProves the bug exists
fixerFix source code, handle edge casesImplements the fix
verifierRegression check, review changesEnsures nothing else breaks

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

Refactoring (refactor) — 2 agents

AgentFocusWhat It Does
refactorSource code changesRename, restructure, extract
consumersTests and dependentsUpdate imports, fix tests, verify

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

Migration (migration) — 3 agents

AgentFocusWhat It Does
schemaMigration scripts, data transformsWrite the migration
adapterUpdate app code, queries, modelsAdapt to new schema
rollbackRollback scripts, backward compatVerify safe reversal

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

Planning Phase

Architecture (architecture) — 2 agents

AgentFocusWhat It Does
researcherAnalyze code, trace deps, evaluate trade-offsDeep codebase analysis
spec-writerADRs, design docs, interface contractsWrite technical specs

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

Exploration (exploration) — 2 agents

AgentFocusWhat It Does
explorerDeep-dive code, trace execution pathsMap the codebase
synthesizerSummarize findings, document patternsDistill insights

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

Operations Phase

DevOps (devops) — 2 agents

AgentFocusWhat It Does
pipelineCI/CD workflows, build, deployGitHub Actions, Jenkins, etc.
infrastructureDocker, Terraform, K8s, env configInfrastructure as code

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

Documentation (documentation) — 2 agents

AgentFocusWhat It Does
api-docsAPI reference, OpenAPI spec, examplesEndpoint documentation
guidesTutorials, README, architecture docsUser-facing docs

Best for: Documentation sprints and API reference generation.

Specialized Phase

Accessibility (accessibility) — 3 agents

AgentFocusExample Files
auditorWCAG compliance, a11y testing, screen reader checkssrc/components/, *.tsx, *.html
fixerFix a11y issues, add ARIA attributes, keyboard navsrc/components/, *.css
verifierVerify fixes, run a11y test suite*.test.*, e2e/, cypress/

Best for: Accessibility audits and WCAG compliance remediation.

API Design (api-design) — 3 agents

AgentFocusExample Files
designerOpenAPI specs, GraphQL schemas, API contracts*.yaml, *.graphql, docs/api/
implementerAPI endpoints, middleware, controllerssrc/api/, src/routes/
consumerClient SDKs, examples, integration testssdk/, examples/, *.test.*

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

Compliance (compliance) — 3 agents

AgentFocusExample Files
scannerLicense scanning, dependency audit, policy checkspackage.json, *.lock, LICENSE
remediatorFix compliance violations, update licensessrc/, LICENSE, NOTICE
documenterCompliance documentation, security policiesdocs/, SECURITY.md, PRIVACY.md

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

Data Pipeline (data-pipeline) — 3 agents

AgentFocusExample Files
extractorData sources, connectors, ingestionsrc/extract/, src/connectors/
transformerData models, validation, SQL/dbtsrc/transform/, sql/, dbt/
loaderData sinks, destinations, verificationsrc/load/, src/sinks/, *.test.*

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

Debt Paydown (debt-paydown) — 3 agents

AgentFocusExample Files
analyzerIdentify tech debt, complexity hotspotssrc/, package.json, *.lock
refactorerReduce debt, simplify code, update depssrc/, lib/, apps/
reviewerVerify improvements, run test suite*.test.*, *.spec.*

Best for: Systematic technical debt reduction campaigns.

Internationalization (i18n) — 3 agents

AgentFocusExample Files
extractorFind hardcoded strings, extract to locale filessrc/components/, *.tsx, *.vue
translatorTranslation setup, locale managementsrc/locales/, translations/
verifierVerify all strings translated, test locale switching*.test.*, e2e/

Best for: Adding internationalization support to an existing application.

Incident Response (incident-response) — 3 agents

AgentFocusExample Files
investigatorRoot cause analysis, log investigationsrc/, logs/, config/
fixerImplement fix, add safeguardssrc/, lib/
postmortemWrite postmortem, add monitoringdocs/, src/monitoring/

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

Observability (observability) — 3 agents

AgentFocusExample Files
instrumenterAdd metrics, traces, structured loggingsrc/, src/middleware/
dashboarderMonitoring dashboards, alert rulesmonitoring/, dashboards/, alerts/
validatorVerify instrumentation, test alerts*.test.*, monitoring/tests/

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

Onboarding (onboarding) — 3 agents

AgentFocusExample Files
auditorAudit DX, README quality, setup frictionREADME.md, Makefile, scripts/
improverImprove docs, scripts, developer experiencedocs/, README.md, CONTRIBUTING.md
testerTest setup flow, verify scripts workscripts/, Makefile, *.test.*

Best for: Improving developer onboarding experience and documentation.

Performance (performance) — 3 agents

AgentFocusExample Files
profilerBenchmarks, profiling, bottleneck identification*.bench.*, *.perf.*, scripts/
optimizerOptimize hot paths, reduce allocationssrc/, lib/
validatorVerify improvements, regression testing*.test.*, *.bench.*

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

Release (release) — 3 agents

AgentFocusExample Files
preparerVersion bumps, changelog, release notespackage.json, CHANGELOG.md
validatorRelease testing, smoke tests, CI verification*.test.*, e2e/, scripts/
announcerRelease docs, migration guidesdocs/, CHANGELOG.md, UPGRADING.md

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

Spike (spike) — 3 agents

AgentFocusExample Files
researcherTechnology evaluation, feasibility researchdocs/, package.json
prototyperBuild proof of concept, experimentspike/, prototype/, src/
evaluatorEvaluate results, write recommendationsdocs/, *.md

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

Pipeline Templates

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

Standard (standard)

The default balanced pipeline.

StageGateNotes
intake → plan → build → test → review → compound_quality → prautoStandard stages with auto-gates

Fast (fast)

Minimal pipeline for quick changes.

StageGateNotes
intake → build → test → prautoSkips plan, review, and compound quality

Full (full)

Maximum thoroughness with all stages enabled.

StageGateNotes
intake → plan → design → build → test → review → compound_quality → prapproveAll stages, approval gates

Hotfix (hotfix)

Emergency pipeline for critical fixes.

StageGateNotes
intake → build → test → prautoFast path, auto-gates

Autonomous (autonomous)

Fully autonomous — no human gates.

StageGateNotes
intake → plan → design → build → test → review → compound_quality → prautoAll stages auto-approved

Deployed (deployed)

Full autonomous pipeline extended with deploy, validate, and monitor stages. Generated by shipwright init --deploy.

StageGateNotes
intake → plan → design → build → test → review → compound_quality → pr → merge → deploy → validate → monitordeploy: approve, rest: autoDeploy requires approval; merge auto-squashes; monitor watches for 5 minutes with auto-rollback

Key config:

  • merge — squash merge with CI wait (600s timeout), auto-delete branch
  • deploy — staging and production commands with rollback
  • validate — smoke test command and health URL check
  • monitor — 5-minute health watch, error threshold of 5, auto-rollback on ERROR|FATAL|PANIC

Enterprise (enterprise)

Maximum safety — all stages, all gates on approve, strict quality, auto-rollback.

StageGateNotes
intake → plan → design → build → test → review → compound_quality → pr → merge → deploy → validate → monitorall: approveEvery stage requires approval

Key config:

  • test — 90% minimum coverage
  • compound_quality — adversarial + negative + e2e + DoD audit, 5 max cycles, strict quality enabled
  • pr — waits for CI to pass
  • merge — CI wait timeout 900s
  • monitor — 10-minute watch, error threshold of 3

Cost-Aware (cost-aware)

Cost-optimized pipeline with intelligent model routing, per-stage cost tracking, and budget enforcement.

StageGateModelNotes
intakeautohaikuCheap model for intake
planapprovesonnetMid-tier for planning
buildautosonnetAborts if budget exceeded
testautohaikuCheap model for test analysis
reviewapproveopusBest model for code review
prapprovehaikuCheap model for PR creation

Key config:

  • cost_tracking: true on every stage
  • abort_on_budget: true on build stage
  • budget_check: true in defaults
  • Deploy and validate stages disabled by default

Using Templates

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.