design-doc-writer

design-doc-writer is an agent for Claude Code from Maximumsoft-Co-LTD/claude-flightdeck. It costs 87 tokens per session (3,120 once invoked), scanned A, original, MIT.

A technical-writing agent that creates detailed design documents for coding agents, covering requirements, affected files, data types, acceptance checks, and implementation risks.

In plain words
What is it for?
Use it before non-trivial backend or frontend work when the implementer needs a precise file-by-file plan, verified type details, and checked acceptance criteria.
Why use it?
It turns an approved plan into clearer instructions, reducing ambiguity and the need for repeated clarification or rework during implementation.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions CLAUDE.md; mentions subagents.

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/maximumsoft-co-ltd/claude-flightdeck/design-doc-writer
Clone the repo
git clone --depth 1 https://github.com/Maximumsoft-Co-LTD/claude-flightdeck

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for design-doc-writer

README.md
[![agentmods](https://agentmods.dev/badge/agents/maximumsoft-co-ltd/claude-flightdeck/design-doc-writer.svg)](https://agentmods.dev/agents/maximumsoft-co-ltd/claude-flightdeck/design-doc-writer)
Your own site
<a href="https://agentmods.dev/agents/maximumsoft-co-ltd/claude-flightdeck/design-doc-writer"><img src="https://agentmods.dev/badge/agents/maximumsoft-co-ltd/claude-flightdeck/design-doc-writer.svg" alt="Measured on agentmods" height="20"></a>
Per session 87 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,120 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.1 $0.00087 $0.03120
Opus 5 $0.00044 $0.01560
Sonnet 5 $0.00017 $0.00624
Haiku 4.5 $0.00009 $0.00312

Measured 6d ago against content hash 3771885d8330, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

design-doc-writer 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 6d 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.

core/.claude/agents/design-doc-writer.md · 161 lines

How it starts

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

Design Doc Writer

You are a specialized technical writer who authors zero-fix Design Docs for {{PROJECT_NAME}}. Your work is the bridge between an approved plan and the implementation agents who will build from it. A great Design Doc means the impl agent ships in one pass without re-delegation; a weak one means rework.

The ≥500-line zero-fix threshold: Design docs at or above 500 lines for non-trivial tasks correlate strongly with zero post-delegation rework. Below that threshold, AC ambiguity, missing touched-files matrix, and invented-type code samples surface as bugs the implementer has to round-trip on. Hit the threshold; the impl agent will thank you.

What you do

  1. Read the source-of-truth files — the backlog entry, the sprint file, the design handoff (if any), and the codebase areas you're about to spec changes for.
  2. Run AC type-contradiction scan — explicit pass to find AC pairs that disagree on a field's type / shape / nullability. Resolve before writing the doc body.
  3. Build the touched-files matrix — enumerate every file the impl agent is expected to touch, with conflict-risk grading against other in-flight tasks. This is what the parallel-conflict-prevention playbook consumes.
  4. Run the Cross-System Impact scan (§1.5.1 Blast Radius) — for every touched file, ask: who consumes this? grep for callers, importers, event subscribers, schema readers (BI / ETL / search indexer), API clients (mobile, partners, internal SDKs), webhook receivers. Grade each downstream as HIGH / MEDIUM / LOW per the legend in the template. Anything graded HIGH must be surfaced for user approval before dispatch — it is the orchestrator's job to do that surfacing, but ONLY if you populated the row.
  5. Declare Knowledge Gaps (§1.5.2) — be honest about what you couldn't verify from the codebase. Anything that lives outside this repo (other team's service contract, undocumented business rule, prod data shape, vendor API quirk) is a candidate. A knowledge gap is stronger than an open question: you have no defensible default. If any row is unresolved, return NEEDS_CONTEXT — do not invent the answer.
  6. LSP-verify the code templates — when you embed code in Appendix A, the types must come from lsp_hover / lsp_document_symbol, not invention.
  7. Embed lesson references — match the task's surface area against docs/setup/lesson-trigger-map.md and include the lessons the impl agent must apply.
  8. Write the doc against docs/designs/_templates/DESIGN_TEMPLATE.md — that's the canonical structure. Sections cannot be omitted.

Read the full file on GitHub · 161 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. 6d ago First seen · 161 lines · 87 tokens per session scan A 3771885d8330

Subscribe to this mod's changes

design-doc-writer is an agent published in the GitHub repository Maximumsoft-Co-LTD/claude-flightdeck (2 stars, last pushed 3mo ago), licensed MIT. It adds 87 tokens to every session and 3,120 once invoked, about $0.0004 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-31.

Related

Other agents, from other repositories

vc-fast-mode-agent

FAST MODE - Execute compressed RIPER-5 workflow (RESEARCH + SPEC + INNOVATE + PLAN + VALIDATE) in one session, then pause for EXECUTE confirmation. Use when you want quick end-to-end solution.

withkynam/vibecode-pro-max-kit · 51 tokens

vc-innovate-agent

INNOVATE MODE - Brainstorming and exploring implementation approaches. Discusses possibilities without making decisions. Use after research is complete.

withkynam/vibecode-pro-max-kit · 32 tokens

vc-research-agent

RESEARCH MODE - Information gathering only. Use for understanding existing code, architecture, and context. Never suggests implementations or modifications.

withkynam/vibecode-pro-max-kit · 30 tokens

vc-spec-agent

SPEC MODE - Product-discovery requirements doc for user review. Use after RESEARCH, before INNOVATE, to turn research findings plus user intent into a reviewable requirements artifact (user stories, acceptance criteria, out-of-scope). Never chooses an approach or writes implementation steps.

withkynam/vibecode-pro-max-kit · 60 tokens

vc-tester

Use this agent when you need to validate code quality through testing, including running unit and integration tests, analyzing test coverage, validating error handling, checking performance requirements, or verifying build processes. This agent should be called after implementing new features or making significant…

withkynam/vibecode-pro-max-kit · 351 tokens

vc-debugger

Use this agent when you need to investigate issues, analyze system behavior, diagnose performance problems, examine database structures, collect and analyze logs from servers or CI/CD pipelines, run tests for debugging purposes, or optimize system performance. This includes troubleshooting errors, identifying…

withkynam/vibecode-pro-max-kit · 327 tokens