docs-writer
製品や技術に関する様々なドキュメント(PRD、課題、タスク、ユーザーストーリー等)を、質問に答える形式で作成し、機能のアイデアや要件定義、意思決定の記録、バグ報告、技術設計など、プロジェクトに必要な構造化された文書作成を支援するSkill。
📜 元の英語説明(参考)
Generate structured product and technical documents through guided discovery. 8 document types (PRD, Brief, Issue, Task, User Story, RFC, ADR, TDD). Use when defining products, reporting bugs, planning tasks, writing stories, proposing changes, recording decisions, designing systems. Also use when the user wants to document a feature idea, write requirements, formalize a decision, describe a bug they found, plan technical architecture, or needs any structured document for a project. Triggers on "create PRD", "create issue", "report bug", "feature request", "create task", "create user story", "create RFC", "create ADR", "create TDD", "create document", "write doc", "document this", "need a spec", "write requirements".
🇯🇵 日本人クリエイター向け解説
製品や技術に関する様々なドキュメント(PRD、課題、タスク、ユーザーストーリー等)を、質問に答える形式で作成し、機能のアイデアや要件定義、意思決定の記録、バグ報告、技術設計など、プロジェクトに必要な構造化された文書作成を支援するSkill。
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o docs-writer.zip https://jpskill.com/download/9617.zip && unzip -o docs-writer.zip && rm docs-writer.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/9617.zip -OutFile "$d\docs-writer.zip"; Expand-Archive "$d\docs-writer.zip" -DestinationPath $d -Force; ri "$d\docs-writer.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
docs-writer.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
docs-writerフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
Docs Writer
ガイド付きの発見を通して構造化されたドキュメントを生成します。8種類のドキュメントタイプがあり、それぞれに独自のワークフローの深さがあります。
ワークフロー
trigger --> detect type --> load reference --> discovery --> drafting
トリガーからドキュメントタイプを検出します。曖昧な場合は、ユーザーにどのタイプが必要か尋ねます。
ドキュメントタイプ
| タイプ | ワークフロー | 参照 | テンプレート |
|---|---|---|---|
| PRD | discovery -> validation -> synthesis -> drafting | prd.md | prd.md |
| Brief | PRDで生成(個別のトリガーなし) | brief.md | brief.md |
| Issue | classification -> [clarification] -> drafting | issue.md | issue.md |
| Task | direct drafting | task.md | task.md |
| User Story | [clarification] -> drafting | user-story.md | user-story.md |
| RFC | [clarification] -> analysis -> drafting | rfc.md | rfc.md |
| ADR | [clarification] -> drafting | adr.md | adr.md |
| TDD | discovery -> analysis -> drafting | tdd.md | tdd.md |
コンテキスト読み込み戦略
検出されたドキュメントタイプに一致する参照とテンプレートを読み込みます。ディスカバリーが必要なタイプの場合は、discovery.mdも読み込みます。
同時には行わないこと:
- 複数のドキュメントタイプの参照
- 異なるドキュメントタイプのテンプレート
トリガー
| トリガーパターン | タイプ | 参照 |
|---|---|---|
| Create PRD, define product, product requirements, write PRD | PRD | prd.md |
| Create issue, report bug, feature request, create discussion | Issue | issue.md |
| Create task, new task | Task | task.md |
| Create user story, write story, new story | User Story | user-story.md |
| Create RFC, propose change, request for comments | RFC | rfc.md |
| Create ADR, record decision, architecture decision | ADR | adr.md |
| Create TDD, technical design, design document | TDD | tdd.md |
| Create document, write doc | Ask user | -- |
共有ディスカバリーパターン
LOAD: ディスカバリーが必要なタイプを開始する前に、discovery.mdを読み込みます。
ディスカバリーは、PRD、TDDに適用されます。 明確化(入力が不完全な場合にのみ軽量)は、RFC、ADR、Issue(feature/discussionサブタイプ)、User Storyに適用されます。 どちらも、Task、Issue(bugサブタイプ -- 代わりに構造化されたコレクションを使用)、Brief(PRDワークフローの一部として生成)には適用されません。
出力
すべてのドキュメントは .artifacts/docs/ に保存されます。ディレクトリが存在しない場合は作成してください。
| タイプ | ファイル名 |
|---|---|
| PRD | prd.md |
| Brief | brief.md |
| Issue | issue.md |
| Task | task.md |
| User Story | story.md |
| RFC | rfc.md |
| ADR | adr-{number}-{name}.md |
| TDD | tdd.md |
ADRの場合、{name}にはkebab-caseを使用し、.artifacts/docs/内の既存のファイルから次の連番を自動検出します。
品質基準
要件は、すべてのドキュメントタイプにわたって具体的かつ測定可能である必要があります。
| 悪い例 | 良い例 |
|---|---|
| "検索は高速であるべき" | "検索は200ms以内に結果を返す" |
| "使いやすい" | "新規ユーザーは2分以内にオンボーディングを完了する" |
| "直感的なインターフェース" | "ヘルプテキストなしで90%以上のタスク完了率" |
相互参照
PRD -------------> TDD (PRDは要件、ジャーニー、ルールをTDDに供給する)
PRD -------------> design-builder (PRD + Briefはコピーとデザインの抽出を知らせる)
PRD -------------> spec-driven (PRDのマイルストーンはスペックの初期化を供給する)
RFC -------------> ADR (承認されたRFCはADRを生成する)
TDD -------------> ADR (関連する決定を参照する)
注:
- design-builder: PRDのセクション1、3-4(問題、ペルソナ、スコープ)およびBrief(価値提案、市場)は、コピー抽出とデザイン抽出を知らせます。
- spec-driven: PRDのマイルストーンは機能の初期化を供給します -- 各マイルストーンは独自のタスクを持つスペックを生成できます。
ガイドライン
行うこと:
- 必要なタイプの場合は、ドラフト作成前に必ずディスカバリーを完了する
- 保存する前に、ユーザーフィードバックのためにドラフトを提示する
- 不明な点を制約を発明するのではなく、TBDとしてマークする
- 具体的で測定可能な要件を使用する
- タイプごとに固定のファイル名を使用する(ADRは
{name}サフィックスをkebab-caseで保持する)
行わないこと:
- 必要なタイプのディスカバリーをスキップする
- ドキュメントタイプを想定しない -- トリガーから検出するか、尋ねる
- ビジュアル/デザインの指示を含めない(それはdesign-builderに属する)
- 曖昧な形容詞を要件として使用しない("高速"、"簡単"、"直感的")
- 単一のファイルにドキュメントタイプを混在させない
エラー処理
.artifacts/docs/がない場合: ディレクトリを作成する- 曖昧なトリガー: ユーザーにどのドキュメントタイプか尋ねる
- ディスカバリーのコンテキストが欠落している場合: 質問し、決して想定しない
- ADRの番号付けの競合: 既存のファイルをスキャンし、次に使用可能な番号を使用する
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
Docs Writer
Generate structured documents through guided discovery. 8 document types, each with its own workflow depth.
Workflow
trigger --> detect type --> load reference --> discovery --> drafting
Detect document type from the trigger. If ambiguous, ask the user which type they want.
Document Types
| Type | Workflow | Reference | Template |
|---|---|---|---|
| PRD | discovery -> validation -> synthesis -> drafting | prd.md | prd.md |
| Brief | generated with PRD (no separate trigger) | brief.md | brief.md |
| Issue | classification -> [clarification] -> drafting | issue.md | issue.md |
| Task | direct drafting | task.md | task.md |
| User Story | [clarification] -> drafting | user-story.md | user-story.md |
| RFC | [clarification] -> analysis -> drafting | rfc.md | rfc.md |
| ADR | [clarification] -> drafting | adr.md | adr.md |
| TDD | discovery -> analysis -> drafting | tdd.md | tdd.md |
Context Loading Strategy
Load the reference and template matching the detected document type. For types that require discovery, also load discovery.md.
Never simultaneous:
- Multiple document type references
- Templates for different document types
Triggers
| Trigger Pattern | Type | Reference |
|---|---|---|
| Create PRD, define product, product requirements, write PRD | PRD | prd.md |
| Create issue, report bug, feature request, create discussion | Issue | issue.md |
| Create task, new task | Task | task.md |
| Create user story, write story, new story | User Story | user-story.md |
| Create RFC, propose change, request for comments | RFC | rfc.md |
| Create ADR, record decision, architecture decision | ADR | adr.md |
| Create TDD, technical design, design document | TDD | tdd.md |
| Create document, write doc | Ask user | -- |
Shared Discovery Patterns
LOAD: discovery.md before starting any type that requires discovery.
Discovery applies to: PRD, TDD. Clarification (lightweight, only when input is incomplete) applies to: RFC, ADR, Issue (feature/discussion subtypes), User Story. Neither applies to: Task, Issue (bug subtype -- uses structured collection instead), Brief (generated as part of PRD workflow).
Output
All documents save to .artifacts/docs/. Create the directory if it doesn't exist.
| Type | Filename |
|---|---|
| PRD | prd.md |
| Brief | brief.md |
| Issue | issue.md |
| Task | task.md |
| User Story | story.md |
| RFC | rfc.md |
| ADR | adr-{number}-{name}.md |
| TDD | tdd.md |
For ADR, use kebab-case for {name} and auto-detect the next sequential number from existing files in .artifacts/docs/.
Quality Standards
Requirements must be concrete and measurable across all document types.
| Bad | Good |
|---|---|
| "Search should be fast" | "Search returns results within 200ms" |
| "Easy to use" | "New users complete onboarding in under 2 minutes" |
| "Intuitive interface" | "Task completion rate above 90% without help text" |
Cross-References
PRD -------------> TDD (PRD feeds requirements, journeys, rules into TDD)
PRD -------------> design-builder (PRD + Brief inform copy and design extraction)
PRD -------------> spec-driven (PRD milestones feed spec initialization)
RFC -------------> ADR (accepted RFC generates ADR)
TDD -------------> ADR (references relevant decisions)
Notes:
- design-builder: PRD sections 1, 3-4 (problem, personas, scope) and Brief (value prop, market) inform copy extraction and design extraction
- spec-driven: PRD milestones feed feature initialization -- each milestone can generate a spec with its own tasks
Guidelines
DO:
- Always complete discovery before drafting (for types that require it)
- Present draft for user feedback before saving
- Mark unknowns as TBD rather than inventing constraints
- Use concrete, measurable requirements
- Use fixed filenames per type (ADR keeps
{name}suffix in kebab-case)
DON'T:
- Skip discovery for types that require it
- Assume document type -- detect from trigger or ask
- Include visual/design direction (that belongs in design-builder)
- Use vague adjectives as requirements ("fast", "easy", "intuitive")
- Mix document types in a single file
Error Handling
- No
.artifacts/docs/: Create the directory - Ambiguous trigger: Ask user which document type
- Missing context for discovery: Ask questions, never assume
- ADR numbering conflict: Scan existing files and use next available number