شعار 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 يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 1

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها firatcand على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Product Spec في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/firatcand/founder-skills/tree/main/product-spec
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
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

فعّل Product Spec في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Product Spec تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Product Spec بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف 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؟

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.

لماذا تستخدم Product Spec على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Product Spec عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Product Spec في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/firatcand/founder-skills/tree/main/product-spec. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Product Spec؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Product Spec؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Product Spec معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Product Spec مجانية؟

نعم. نشرها firatcand على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇