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.

Good fit 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.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/maximumsoft-co-ltd/claude-flightdeck/design-doc-writer
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.

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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for design-doc-writer

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe.
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.5 $0.00035 $0.01248
Sonnet 5.5 $0.00017 $0.00624
Haiku 4.5 $0.00009 $0.00312

Measured 1mo ago against content hash 3771885d8330, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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. 1mo 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 4mo ago), licensed MIT. It adds 87 tokens to every session and 3,120 once invoked, about $0.0003 per session on Opus 5.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.