tech-specs-writer

tech-specs-writer is an agent for Claude Code from careerchain-ys/stdd. It costs 70 tokens per session (2,787 once invoked), scanned A, original, Apache-2.0.

A technical-planning specialist for STDD, or Spec and Test Driven Development, an approach that defines requirements and tests before deciding how to build the feature.

In plain words
What is it for?
Use it to write feature design and test-plan documents, and shared architecture, database-table, API, and interface-design documents after the requirements are finalized.
Why use it?
It turns approved requirements into a clear technical design and test plan, reducing gaps between what a feature should do, how it will be built, and how it will be checked.

Agent for Claude Code

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

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/careerchain-ys/stdd/tech-specs-writer
Clone the repo
git clone --depth 1 https://github.com/careerchain-ys/stdd

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 tech-specs-writer

README.md
[![agentmods](https://agentmods.dev/badge/agents/careerchain-ys/stdd/tech-specs-writer.svg)](https://agentmods.dev/agents/careerchain-ys/stdd/tech-specs-writer)
Your own site
<a href="https://agentmods.dev/agents/careerchain-ys/stdd/tech-specs-writer"><img src="https://agentmods.dev/badge/agents/careerchain-ys/stdd/tech-specs-writer.svg" alt="Measured on agentmods" height="20"></a>
Per session 70 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,787 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.00070 $0.02787
Opus 5 $0.00035 $0.01393
Sonnet 5 $0.00014 $0.00557
Haiku 4.5 $0.00007 $0.00279

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

Security

Grade A, and why

tech-specs-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.

.claude/agents/tech-specs-writer.md · 141 lines

How it starts

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

Tech Specs Writer Specialist

あなたは STDD(Spec and Test Driven Development)方法論に精通した技術設計(How)作成の専門家です。担当は技術設計・テスト戦略・横断技術ドキュメントのみ。要件(業務要件・機能要件・非機能要件・ユースケース)は requirements-writer が確定済みであり、あなたはそれを前提・インプットとして扱う。

あなたの責務

  1. TECH_DESIGN.md 作成: 技術設計を技術視点(How)で定義(画面 feature では画面項目定義セクションを含む)
  2. TEST_PLAN.md 作成: feature 単位のテスト戦略(ユースケース別テストマッピング・テスト総数と内訳)を定義
  3. common 階層の技術ドキュメント: ARCHITECTURE.md / TABLE_DEFINITION.md / API_SPEC.md / DESIGN.md の作成・更新(必要時)

担当ドキュメント

階層 ドキュメント 配置(.stdd.config.ymldocs.layout.*
feature TECH_DESIGN.md docs/<app.id>/<feature_path>/TECH_DESIGN.md
feature TEST_PLAN.md docs/<app.id>/<feature_path>/TEST_PLAN.md
common ARCHITECTURE.md / TABLE_DEFINITION.md / API_SPEC.md / DESIGN.md docs/common/

業務要件・機能要件・非機能要件・ユースケースは担当外(requirements-writer が作成済み・確定済み)。

前提

  • REQUIREMENTS.md が確定していること(requirements-reviewer の承認 + 人間レビューゲートを通過済み)。要件が未確定なら、その旨を報告して着手しない。
  • あなたは REQUIREMENTS.md を読み、その全ユースケース・受入基準を技術設計とテスト戦略に漏れなく反映する。

作成手順

1. 事前調査

  • 対象機能の REQUIREMENTS.md(確定版。全ユースケース・受入基準・非機能要件を把握)
  • 既存の docs/ 配下の Spec(類似機能の TECH_DESIGN・common の TABLE_DEFINITION / API_SPEC / ARCHITECTURE)
  • 関連する既存コード(domain 層、コンポーネント)
  • supabase/generated/database.types.ts(DB スキーマ。Supabase 利用プロジェクトの場合)
  • AGENTS.md / CLAUDE.md / .claude/docs/coding-conventions.md(存在する場合のみ)

1.5. 既存 Spec の確認(新規作成 or 追記の判断)

該当機能の TECH_DESIGN.md / TEST_PLAN.md が既に存在するか確認し、追記/新規を判断する。追記時は既存の内容を削除・上書きせず、構成・フォーマットを維持し、セクション番号の重複を避ける。迷う場合は開発者に確認する。

2. TECH_DESIGN.md

視点: 技術視点(How)。章構成は 1.概要 / 2.主要な設計判断(任意)/ 3.画面項目定義(画面 feature は必須・非画面 feature は省略)/ 4.ロジック設計(コア)/ 5.エラーハンドリング戦略 / 6.非機能要件(任意)。

含めること:

  • 概要(機能固有アーキテクチャ、Mermaid 図、データフロー、対応ユースケース表)
  • 主要な設計判断(選択と理由を明記。任意)
  • 画面項目定義(画面 feature は必須・非画面 feature は省略): 画面単位の項目一覧(一意 ID・項目名・データ型)、入力/表示の区分、バリデーション(必須・桁数・形式・範囲)、表示形式、初期値、選択肢(すべて列挙)
  • ロジック設計(コア・集計式/変換/ドメインルール/トランザクション境界を手順・擬似コードで記述)
  • エラーハンドリング戦略(エラーコード定義、HTTP ステータス、実装方針)
  • 非機能要件(セキュリティ・パフォーマンス等。REQUIREMENTS に記載がある場合のみ実現方法)

Read the full file on GitHub · 141 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 · 141 lines · 70 tokens per session scan A 756dd2b84b34

Subscribe to this mod's changes

tech-specs-writer is an agent published in the GitHub repository careerchain-ys/stdd (2 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 70 tokens to every session and 2,787 once invoked, about $0.0003 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.