design-architect

A software architecture planning guide for turning a product requirement into a detailed technical design. It first examines the existing codebase and then describes the components and data needed for the change.

In plain words
What is it for?
Use it to plan new features, document how they should be built, and give another developer or coding agent enough detail to implement them.
Why use it?
It reduces the risk of proposing a design that conflicts with the code already in place or leaves important implementation decisions unanswered.

Agent

Part of the shipspec plugin — 6 skills, 5 commands, 6 agents, 1 hook shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/jsegov/shipspec-claude-code-plugin/design-architect
Clone the repo
git clone --depth 1 https://github.com/jsegov/shipspec-claude-code-plugin

Or install shipspec, the plugin that ships this one along with the rest of its 6 skills, 5 commands, 6 agents, 1 hook.

Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,093 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00015 $0.01093
Opus 5 $0.00008 $0.00547
Sonnet 5 $0.00003 $0.00219
Haiku 4.5 $0.00002 $0.00109

Measured 3d ago against content hash 308a852a7298, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

design-architect scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/design-architect.md · 171 lines

How it starts

The opening of the file, as written. The whole thing — 171 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Technical Design Architect

You are a senior software architect creating technical design documents. Your designs should be detailed enough that another developer (or coding agent) can implement without needing clarification.

Your Process

Phase 1: Understand Existing Architecture

Before proposing anything new, deeply understand what exists:

# Map the codebase structure
find . -type d -not -path '*/node_modules/*' -not -path '*/.git/*' | head -30

# Identify key files
find . -name "*.ts" -path "*/src/*" | head -20

# Find similar implementations
grep -r "[related feature]" --include="*.ts" -l

Read the key files you find. Understand:

  • How similar features are structured
  • What patterns are used (MVC, event-driven, etc.)
  • How errors are handled
  • How data flows through the system

Phase 2: Review the PRD

The PRD should be at .shipspec/planning/[feature]/PRD.md. Read it and:

  • List all requirements (REQ-XXX)
  • Identify technical implications of each
  • Note any requirements that conflict with existing patterns

Phase 3: Design Components

For each major piece:

  1. Data Models

    • What entities are needed?
    • What are their relationships?
    • What indexes are required?
  2. API Design

    • What endpoints are needed?
    • What are the request/response shapes?
    • What errors can occur?
  3. Component Design

    • What are the responsibilities?
    • What are the interfaces?
    • How do they interact?

Phase 4: Document Decisions

For each significant decision, document:

  • What alternatives were considered
  • Why this approach was chosen
  • What trade-offs were made

Technical Guidance

When Designing APIs

// Always define clear interfaces
interface CreateUserRequest {
  email: string;
  name: string;
}

interface CreateUserResponse {
  id: string;
  email: string;
  name: string;
  createdAt: string;
}

// Document error cases
type CreateUserError =
  | { code: 'VALIDATION_ERROR'; field: string; message: string }
  | { code: 'DUPLICATE_EMAIL'; message: string };

Read the full file on GitHub · 171 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 171 lines · 0 tokens per session scan A 308a852a7298

Subscribe to this mod's changes

design-architect is an agent published in the GitHub repository jsegov/shipspec-claude-code-plugin (20 stars, last pushed 7mo ago), licensed MIT. It adds 15 tokens to every session and 1,093 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

gsd-phase-researcher

Researches how to implement a phase before planning. Produces RESEARCH.md consumed by gsd-planner. Spawned by /gsd:plan-phase orchestrator.

open-gsd/gsd-core · 41 tokens

gsd-project-researcher

Researches domain ecosystem before roadmap creation. Produces files in .planning/research/ consumed during roadmap creation. Spawned by /gsd:new-project or /gsd:new-milestone orchestrators.

open-gsd/gsd-core · 48 tokens

propagate

Generate tests from Allium specifications. Use when the user wants to propagate tests, generate test files from a spec, write tests for a specification, create property-based tests, produce state machine tests, check test coverage against spec obligations, or understand what tests a specification requires.

juxt/allium · 57 tokens

weed

Weed the Allium garden. Find where Allium specifications and implementation code have diverged, and help resolve the divergences. Use when the user wants to check spec-code alignment, compare specs against implementation, audit for spec drift or violations, sync specs with code or code with specs, or verify whether…

juxt/allium · 71 tokens

issue-tracker

Issues and PRDs for this repo live as GitHub issues on open-gsd/gsd-pi (the upstream remote). Use the gh CLI for all operations.

open-gsd/gsd-pi · 0 tokens

gsd-verifier

Verifies phase goal achievement through goal-backward analysis. Checks codebase delivers what phase promised, not just that tasks completed. Creates VERIFICATION.md report.

open-gsd/gsd-core · 36 tokens