Write Prdのロゴ

Write Prd

コミュニティ
dianyike
write-prd

設計上の決定事項、初期アイデア、会話の文脈をもとに、構造化されたPRDを作成します。ユーザーがPRDの作成、要件の策定、機能仕様の文書化、または設計上の決定事項をプロダクト要件ドキュメントにまとめることを希望する場合に使用します。設計の検討(grill-me)から実装計画(prd-to-plan)への橋渡しをします。

Add to TypingMind

概要

公開者dianyike
リポジトリclaude-code-insights
スキル名write-prd
スター
69
フォーク
13
同梱ファイル
4
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 4個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    dianyikeがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Write Prd」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/dianyike/claude-code-insights/tree/main/examples/write-prd
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/dianyike/claude-code-insights.git /tmp/claude-code-insights
mkdir -p .claude/skills
cp -r /tmp/claude-code-insights/examples/write-prd .claude/skills/write-prd
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでWrite Prdを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にWrite Prdを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Write Prdは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Write PRD

Turn design decisions, rough ideas, or conversation context into a structured PRD that prd-to-plan can consume directly.

Workflow

1. Gather context

Check what's already available before asking the user to repeat themselves:

  • Look for decision records in docs/decisions/ — these are grill-me outputs
  • Check if the user pasted or referenced any existing design notes
  • Scan conversation history for requirements already discussed

If context is thin, interview the user (see Interview Guide).

2. Interview Guide

Fill gaps the existing context doesn't cover. Ask exactly one blocking question per turn — do not batch multiple questions into a single response. This matters because batching overwhelms the user and produces shallow answers; one focused question gets a thoughtful response.

Must answer before drafting (block on these, ask in order):

  1. Who is the target user and what's their pain?
  2. What does "done" look like? (the success state, not the feature list)
  3. What is explicitly out of scope? (non-goals prevent scope creep)

Ask if not inferrable from context (one per turn):

  • What are the priority tiers — what's P0 vs P1 vs nice-to-have?
  • Are there hard technical constraints (existing APIs, schema contracts, third-party limits)?
  • What are the non-functional requirements (performance, security, compliance)?
  • How will success be measured?

Stop interviewing once you have enough to draft. Don't exhaust the user — you can mark gaps as Open Questions in the PRD.

3. Draft the PRD

Use the template at templates/prd.md. Key principles:

  • User stories are the spine — prd-to-plan maps phases to user stories, so every requirement must trace back to at least one story. If a requirement has no user story, either write one or question whether it belongs.
  • Non-goals are as important as goals — they prevent scope creep during prd-to-plan and tdd phases. Be specific: "not building admin dashboard" is better than "keeping it simple."
  • Prioritize ruthlessly — P0/P1/P2 tiers. If everything is P0, nothing is. Push the user to make hard choices.
  • Link decision records — if grill-me decision records exist, reference them in the References section so context isn't lost.
  • Stay at product and system-contract level — PRDs describe what the system promises, not how it's built. Do not include implementation mechanisms such as cookie types (httpOnly), SDK pinning strategies, function names, or file paths. Those belong in the implementation plan, not the PRD.
  • Traceability — every functional requirement must trace back to a user story or a decision in the decision record. If you can't trace it, either write a user story for it or remove the requirement.

4. Review with user

Present the draft and explicitly ask:

  • Are the non-goals correct? (most common source of later scope disputes)
  • Do the P0 user stories capture the minimum viable feature?
  • Any missing technical constraints?

Iterate until the user approves.

5. Write the PRD file

Create docs/prds/ if it doesn't exist. Write to docs/prds/YYYY-MM-DD-<feature-name>.md.

  • Ask the user to confirm the filename before writing
  • If decision records from grill-me exist, add them to the References section

6. Delegated / Eval Mode

If this skill is being executed by a subagent, eval harness, or any caller that provides an explicit output path or workspace, distinguish between draft artifacts and the canonical PRD file:

  • Draft artifacts: Write the PRD draft and any handoff notes to the caller-provided output location
  • Canonical PRD file: Only write docs/prds/YYYY-MM-DD-<feature-name>.md after explicit user confirmation of the filename in the current conversation
  • No silent promotion: Do not treat a draft written to an eval workspace as the canonical PRD
  • Handoff clarity: If canonical write is blocked on confirmation, say so explicitly and include the proposed filename/path

When operating in delegated/eval mode:

  • Prefer saving prd-draft.md plus a short process-log.md or handoff note
  • Preserve unresolved questions so the parent agent can continue the user conversation
  • If the caller gives both an output directory and a confirmed canonical path, write both: the draft artifact for evaluation and the canonical PRD for the repo

Completion Criteria

  • Problem statement clearly articulates user pain (not solution)
  • Every functional requirement traces to a user story
  • Non-goals section is non-empty and specific
  • User stories have priority tiers (P0/P1/P2)
  • User approved the final PRD
  • PRD file written to docs/prds/ with confirmed filename
  • In delegated/eval mode, draft artifacts were written to the caller-provided output path and canonical write was deferred unless explicitly confirmed

Gotchas

  • Do not batch questions: The interview step says "one question per turn" for a reason. Batching 3 questions into one message produces shallow answers — the user skims and gives one-line replies. One focused question gets a thoughtful response. This was confirmed in eval iteration 1 where the skill sent 3 questions at once despite the instruction.
  • Do not leak implementation details into PRDs: Technical constraints like "httpOnly cookies", "SDK versions pinned", or specific API endpoint paths are implementation-level concerns. A PRD should say "session tokens must not be accessible to client-side scripts" (system contract), not "use httpOnly cookies" (implementation). This regression was caught in eval iteration 1 — the with-skill output was more implementation-heavy than the without-skill baseline.
  • Iterate this section: After each PRD session, append new gotchas here

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Write Prd」では何ができますか?

設計上の決定事項、初期アイデア、会話の文脈をもとに、構造化されたPRDを作成します。ユーザーがPRDの作成、要件の策定、機能仕様の文書化、または設計上の決定事項をプロダクト要件ドキュメントにまとめることを希望する場合に使用します。設計の検討(grill-me)から実装計画(prd-to-plan)への橋渡しをします。

TypingMindでWrite Prdを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Write Prdはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにWrite Prdをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/dianyike/claude-code-insights/tree/main/examples/write-prdを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Write Prdを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Write Prdで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもWrite Prdを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Write Prd」は無料ですか?

はい。dianyikeがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る
obraのロゴ

Using Superpowers

obra
コミュニティ人気

会話を始めるときに使用します。スキルの探し方と使い方を定め、確認の質問を含むあらゆる応答の前に、必ずスキルを呼び出すことを求めます。

25.8K
288.1K
5ファイル
表示
affaan-mのロゴ

Context And Decisions

affaan-m
コミュニティ人気

必要に応じて、範囲を絞ったCONTEXT.mdで安定したドメインコンテキストを管理し、元に戻しにくい判断はECC既存のarchitecture-decision-recordsスキルに振り分けます。ドメイン用語について繰り返し説明が必要な場合、1つの用語に複数の意味がある場合、曖昧な表現がモジュール境界の誤りにつながる場合、ドメインの意味をアーキテクチャ上の判断と分けておく必要がある場合に…

41.4K
277.3K
2ファイル
表示
affaan-mのロゴ

Docs Governance

affaan-m
コミュニティ人気

ドキュメントガバナンスに関する幅広い依頼を既存のECCスキルに振り分け、対応付けられたドキュメントの役割、リンク、ADRインデックス、根拠への参照を対象に、任意で読み取り専用の監査を実行します。ユーザーが特定のスキルを指定せずに、ドキュメントガバナンス、プロジェクトのナレッジ整理、ドキュメントの整合性、または再現可能なドキュメント監査を求めた場合に…

41.4K
277.3K
4ファイル
表示
affaan-mのロゴ

Ecc Conventions

affaan-m
コミュニティ人気

ECCの開発規約とパターン。conventional commitsを採用するJavaScriptプロジェクト向けです。

41.4K
277.3K
1ファイル
表示

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇