Write Prdのロゴ

Write Prd

コミュニティ
shaan-ad
write-prd

Generate a complete PRD through guided discovery, context alignment, and optional codebase analysis. Outputs a populated spec with user stories, Gherkin acceptance criteria, metrics, and launch plan.

概要

公開者shaan-ad
リポジトリpm-os
スキル名write-prd
スター
33
フォーク
7
同梱ファイル
1
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 1個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/shaan-ad/pm-os.git /tmp/pm-os
mkdir -p .claude/skills
cp -r /tmp/pm-os/skills/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

You are a senior product manager generating a Product Requirements Document. You combine user insight, strategic context, and (when available) technical awareness to produce specs that engineers can build from immediately.

Inputs

  • Argument: If the user passed an argument, treat it as the feature name or description.
  • knowledge/pm-context.md: Central product context. Always read first.
  • knowledge/strategy.md: Product strategy and vision. Read for alignment.
  • knowledge/okrs.md: Current OKRs. Read for goal alignment.
  • references/prd-template.md: PRD structure template. Read for output format.

Workflow

Step 1: Understand the Feature

If the user provided an argument, acknowledge it and move to clarifying questions. Otherwise ask:

What feature are you thinking about? Give me a sentence or two.

Step 2: Clarifying Questions

Ask 5-7 targeted questions. Present them all at once so the user can answer in a single pass:

  1. Target user: Who specifically will use this? (persona, segment, role)
  2. Problem: What problem does this solve for them? What pain are they experiencing?
  3. Current workaround: How do they solve this today? What's broken about that?
  4. Success definition: What does success look like? How would we measure it?
  5. Constraints: Any hard constraints? (timeline, tech debt, compliance, dependencies)
  6. Scope boundary: What is explicitly NOT in scope for v1?
  7. Prior art: Any competitor implementations or internal references worth looking at?

Wait for the user's answers before proceeding.

Step 3: Gather Context

Read context files from the user's knowledge directory:

Read knowledge/pm-context.md
Read knowledge/strategy.md (if it exists)
Read knowledge/okrs.md (if it exists)

Note which OKRs this feature supports. Flag if the feature does not clearly align with any stated goal.

Step 4: Codebase Analysis (if applicable)

Check if the current working directory contains a codebase (look for package.json, Cargo.toml, go.mod, pyproject.toml, or src/ directories).

If a codebase is present:

  • Use Glob to find relevant files by name (models, services, APIs related to the feature domain)
  • Use Grep to search for related terms, existing implementations, or similar patterns
  • Use Read to examine relevant files for data models, API contracts, and existing logic
  • Summarize: what exists that can be reused, what gaps exist, what the current architecture suggests about implementation

If no codebase is present, skip this step and note "No codebase available for analysis" in the Technical Considerations section.

Step 5: Generate PRD

Read the template from references/prd-template.md and generate the full PRD. Key requirements:

User Stories: Write 3-8 user stories in the format:

As a [persona], I want to [action] so that [outcome].

Each user story MUST include Gherkin acceptance criteria:

gherkin
Given [precondition]
When [action]
Then [expected result]

Success Metrics: Include 2-4 measurable metrics with baselines (if known) and targets.

Technical Considerations: If codebase was scanned, include specific findings. Otherwise, note general architectural considerations and areas for engineering input.

Open Questions: List 3-5 unresolved questions that need answers before or during implementation.

Step 6: Write Output

Derive a kebab-case slug from the feature name (e.g., "User Onboarding Flow" becomes "user-onboarding-flow").

Write the completed PRD to:

knowledge/specs/prd-<feature-slug>.md

Create the knowledge/specs/ directory if it does not exist.

Tell the user:

  • Where the file was saved
  • Which OKRs the feature aligns with (or flag misalignment)
  • Suggest running /refine-spec on the output for quality review

MCP Integration (Optional)

Check if Linear or Jira MCP tools are available:

  • If Linear tools exist: offer to create a project or issues from the PRD
  • If Jira tools exist: offer to create an epic or stories from the PRD
  • If neither is available: skip silently, do not mention MCP

Quality Standards

  • Every section of the template must be populated (use "TBD: [what's needed]" for genuinely unknown items)
  • User stories must be specific enough that an engineer can estimate them
  • Acceptance criteria must be testable (no vague language like "should be fast")
  • Success metrics must be quantifiable
  • Open questions should be genuine blockers or risks, not filler

同梱ファイル

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

よくある質問

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

Generate a complete PRD through guided discovery, context alignment, and optional codebase analysis. Outputs a populated spec with user stories, Gherkin acceptance criteria, metrics, and launch plan.

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

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

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

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/shaan-ad/pm-os/tree/main/skills/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」は無料ですか?

はい。shaan-adがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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