Product Spec 标志

Product Spec

社区
firatcand
product-spec

Use when the user needs to scope, write, or audit a product spec — a PRD, feature spec, user stories, acceptance criteria, or a "spec this out"/"break this into stories"/"definition of done" request — or wants an existing spec reviewed for gaps and anti-patterns. Triggers whenever a feature idea needs to become structured requirements that align a team on what to build. For the analytics behind success metrics, use data-analysis; for the technical design, use software-architect.

概览

发布者firatcand
代码仓库founder-skills
技能名称product-spec
星标数
44
复刻数
4
附带文件
1
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 firatcand 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Product Spec AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/firatcand/founder-skills/tree/main/product-spec
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/firatcand/founder-skills.git /tmp/founder-skills
mkdir -p .claude/skills
cp -r /tmp/founder-skills/product-spec .claude/skills/product-spec
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Product Spec,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Product Spec。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Product Spec 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Product Spec Writer

Purpose

Help founders, PMs, and product teams produce thorough, well-structured product specification documents — PRDs, feature specs, and user stories — through a guided discovery process. Outputs are always markdown files. The skill also audits existing specs for anti-patterns and gaps.

Output discipline

Deliver only what the user will actually use. Never leak internal scaffolding into the output:

  • No reference citations the reader can't see ("§3.2", "per the knowledge base", "KB §1.4").
  • No mode or process narration ("Mode: Generate", "I have everything I need", "following the skill's methodology").
  • No skill-handoff chatter inside the deliverable.

Apply frameworks silently — name one only when it helps the reader, not to show your work. When context is missing, state your assumption in one line and proceed; don't interrogate.

Modes

ModeTriggerOutput
Write"Write a PRD for X", "Spec this out", "I need a feature spec"Full spec document (.md) after discovery
Audit"Review my PRD", "Audit this spec", "What's missing?"Anti-pattern report + improvement recommendations
Decompose"Break this into stories", "Write user stories for X"User stories with acceptance criteria (.md)

Step 1: Diagnose the Request

Determine which mode and document type the user needs:

  • PRD → strategic initiative, new product area, major feature set
  • Feature Spec → specific capability within a larger initiative
  • User Stories → atomic delivery increments from an existing spec
  • Audit → user provides an existing document for review

Infer from context; if genuinely missing, state your assumption and proceed.


Step 2: Discovery

Discovery sharpens the spec. Run through these rounds, adapting to what the user has already shared. Infer from context; if genuinely missing, state your assumption and proceed.

Round 1: Problem & Context

Ask about (skip what's already been answered):

  1. What problem are we solving? Who experiences it, how painful is it, what evidence exists?
  2. Who are the users/personas? End users, admins, buyers, other stakeholders?
  3. What's the business context? Why now? What's the strategic driver — churn, expansion, competitive pressure, regulatory, new segment?
  4. What exists today? Current state, workarounds, competitor approaches?

Round 2: Scope & Constraints

  1. What's in scope for V1? What must ship vs. what can wait?
  2. What are explicit non-goals? What will this NOT do?
  3. What are the constraints? Technical (integrations, APIs, infra), regulatory, timeline, team capacity?
  4. What are the dependencies? Other teams, systems, external vendors, customer migrations?

Round 3: Success & Risk

  1. How will we measure success? Primary metrics, leading indicators, baselines?
  2. What are the guardrail metrics? What must NOT regress (latency, error rates, security, admin burden)?
  3. What are the known risks and open questions? Technical unknowns, market assumptions, political risks?
  4. What's the rollout approach? Flag, pilot, GA? Migration needed?

Round 4: Behavioral Detail (for Feature Specs)

  1. What are the key user flows? Entry points, happy path, major branches?
  2. What system states matter? Empty, loading, partial, error, success, permission-denied?
  3. What are the edge cases? Limits, conflicts, timeouts, concurrent access, boundary conditions?
  4. What are the non-functional requirements? Performance, security, accessibility, audit logging?

Discovery Rules

  • Ask 3–5 questions per round. Don't dump all questions at once.
  • Summarize what you've learned after each round before moving on.
  • If the user says "that's enough" or "just write it", proceed with what you have and note assumptions explicitly in the document.
  • For User Stories mode, Rounds 1–2 may be shorter if a parent PRD/spec already exists.
  • For Audit mode, skip discovery — go straight to Step 4.

Step 3: Write the Document

After discovery, produce a markdown file. Use the appropriate structure below.

PRD Structure

markdown
# PRD: [Initiative Name]

## Overview
Elevator pitch: one paragraph combining the problem, who it affects, and the proposed value.

## Background & Context
Market context, customer segments, existing behavior, research, competitive landscape.

## Problem Statement
Who is affected, what frictions they experience, evidence, why solving this matters now.

## Goals & Success Metrics
| Metric | Baseline | Target | Timeframe |
|--------|----------|--------|-----------|
| ... | ... | ... | ... |

### Guardrail Metrics
Metrics that must not regress.

## Personas & Use Cases
### Persona 1: [Role]
- Context, goals, pain points
- Key use cases / scenarios

## Scope
### In Scope (V1)
- ...

### Non-Goals
- ...

## Requirements Overview
### Functional Requirements
- FR1: ...
- FR2: ...

### Non-Functional Requirements
- NFR1: ...
- NFR2: ...

## Constraints & Dependencies
| Constraint/Dependency | Type | Impact | Owner |
|----------------------|------|--------|-------|
| ... | ... | ... | ... |

## Risks & Open Questions
| Risk/Question | Severity | Mitigation/Owner | Status |
|--------------|----------|-------------------|--------|
| ... | ... | ... | ... |

## Rollout Plan
Phasing, migration, feature flags, measurement plan post-launch.

## Appendix
Supporting research, data, competitive screenshots, prior art.

Feature Spec Structure

markdown
# Feature Spec: [Feature Name]

**Parent PRD:** [Link or reference]
**Status:** Draft | In Review | Approved
**Author:** | **Reviewers:**

## Purpose
What this feature does and which user problem it solves. Link to parent PRD.

## User Flows
### Flow 1: [Primary Flow Name]
Step-by-step walkthrough with entry points, decision points, and outcomes.

### Flow 2: [Secondary/Alternate Flow]
...

## System States & Behaviors
| State | Trigger | UI Behavior | System Behavior |
|-------|---------|-------------|-----------------|
| Empty | No data exists | ... | ... |
| Loading | Request in flight | ... | ... |
| Success | Operation complete | ... | ... |
| Error | Request fails | ... | ... |
| Permission Denied | User lacks access | ... | ... |

## Functional Requirements
- **FR1:** [Requirement] — [Rationale]
- **FR2:** ...

## Non-Functional Requirements
- **Performance:** ...
- **Security:** ...
- **Accessibility:** ...
- **Observability:** ...

## Edge Cases & Constraints
| Edge Case | Expected Behavior | Notes |
|-----------|-------------------|-------|
| ... | ... | ... |

## Acceptance Criteria
- [ ] Given [context], when [action], then [outcome]
- [ ] ...

## Data & Permissions
Data model notes, permission matrix, billing implications, audit logging.

## Open Questions
| Question | Owner | Due | Resolution |
|----------|-------|-----|------------|
| ... | ... | ... | ... |

User Stories Structure

markdown
# User Stories: [Feature/Initiative Name]

**Parent Spec:** [Link or reference]

## Story 1: [Short Title]
**As a** [role], **I want** [capability], **so that** [value].

**Acceptance Criteria:**
- [ ] Given [context], when [action], then [outcome]
- [ ] Given [edge case], when [action], then [outcome]

**Notes:** Implementation hints, design references, dependencies.

---

## Story 2: [Short Title]
...

Apply INVEST (Independent, Negotiable, Valuable, Estimable, Small, Testable) to every story. If a story violates INVEST, split it using these patterns:

  • By workflow step
  • By happy path vs. edge cases
  • By CRUD operation
  • By persona/role
  • By integration surface (UI vs. API vs. background job)
  • By rollout phase

Writing Rules

  • Be specific and quantified. Replace "fast" with "< 2 seconds p95". Replace "large" with a number.
  • Every requirement should be testable. If you can't write an acceptance criterion for it, rewrite it.
  • Note assumptions explicitly when discovery was incomplete.
  • Include section references back to parent documents (PRD → feature spec → stories).

Step 4: Audit Mode

When the user provides an existing spec for review, evaluate against these anti-pattern checklists.

PRD Anti-Patterns

  • Solution-prescribing: Jumps to implementation without articulating the problem or alternatives
  • Vague goals: Objectives like "improve UX" without metrics or baselines
  • Missing non-goals: No scope boundaries, inviting creep
  • No evidence: Problem statement based on opinions, not data or research
  • No strategy linkage: Can't trace back to product/company goals
  • Missing personas: Requirements without clear "for whom"
  • No success metrics: No way to know if the initiative worked
  • Missing constraints: No mention of technical, regulatory, or timeline limits

Feature Spec Anti-Patterns

  • Happy path only: No error states, edge cases, or limits defined
  • Imprecise language: "fast", "large", "usually", "most" without quantification
  • Mixed responsibilities: Bundles unrelated behaviors that can't ship independently
  • Over-designed UI: Prescribes pixels instead of behaviors and states
  • No acceptance criteria: No testable conditions for completion
  • Missing non-functionals: No performance, security, or accessibility expectations
  • No permission model: Feature ignores roles, tenancy, or access control

User Story Anti-Patterns

  • Task disguised as story: "Refactor billing module" — no user, no value
  • Epic masquerading as story: Multi-week effort that violates INVEST
  • No acceptance criteria: Behavior must be inferred from title
  • No parent link: Can't trace back to a spec or PRD
  • Missing edge cases in AC: Only tests the happy path

Output a structured audit report with severity ratings (Critical / Major / Minor) and specific rewrite suggestions.


Handoff Rules

  • Metrics design → hand off to data-analysis skill for metric hierarchies, funnel design, or dashboard specs
  • Messaging sections (value props, positioning in PRD overview) → hand off to copywriter-skill or product-position
  • Technical architecture mentioned in constraints → hand off to software-architect
  • Pricing/packaging implications → hand off to pricing skill
  • UI/UX flows need detailed design → hand off to ux-design or ui-design

When handing off, tell the user which skill to invoke and what context to carry over.


Reference Knowledge Base

For deep background on spec writing methodology, anti-patterns, depth calibration frameworks, and cross-functional alignment principles, read:

→ references/spec-writing-guide.md

Consult this reference when:

  • You need to explain WHY a certain section matters to the user
  • The user asks about spec writing best practices or theory
  • You're running an audit and need to justify a recommendation
  • The user asks about depth calibration (how much spec is enough)

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Product Spec AI 技能有什么作用?

Use when the user needs to scope, write, or audit a product spec — a PRD, feature spec, user stories, acceptance criteria, or a "spec this out"/"break this into stories"/"definition of done" request — or wants an existing spec reviewed for gaps and anti-patterns. Triggers whenever a feature idea needs to become structured requirements that align a team on what to build. For the analytics behind success metrics, use data-analysis; for the technical design, use software-architect.

为什么在 TypingMind 中使用 Product Spec?

因为您只需安装一次,就能搭配任何模型使用。Product Spec 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Product Spec?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/firatcand/founder-skills/tree/main/product-spec。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Product Spec?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Product Spec 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Product Spec 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Product Spec AI 技能免费吗?

是的。firatcand 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇