Logo Sdd Prd

Sdd Prd

Cộng đồng
felipefontoura
sdd-prd

Core cognitive SDD skill for creating or updating requirements.md from an approved idea, plan, or feature request. Use when the conversation calls for defining WHAT and WHY: user stories, acceptance criteria, EARS functional requirements, NFRs, and boundaries, even without an explicit command. Do not use for technical design or coding.

Tổng quan

Nhà phát hànhfelipefontoura
Kho mãpi-sdd-kit
Tên kỹ năngsdd-prd
Sao
37
Bản fork
2
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được felipefontoura công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Sdd Prd trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/felipefontoura/pi-sdd-kit/tree/main/skills/sdd-prd
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/felipefontoura/pi-sdd-kit.git /tmp/pi-sdd-kit
mkdir -p .claude/skills
cp -r /tmp/pi-sdd-kit/skills/sdd-prd .claude/skills/sdd-prd
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Sdd Prd trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Sdd Prd ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Sdd Prd với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

SDD PRD / Requirements

Create a practical requirements.md artifact for a small or medium project feature.

Purpose

Requirements define the product contract. They explain what the feature must do, who it serves, why it matters, and how the team will know it is done. They must not prescribe implementation details.

Workflow

  1. Load the SDD reference.

    • Read ../_shared/references/sdd-practical.md.
    • Apply the Language Policy: respond and write artifacts in the user's initial chat language while keeping skill instructions and templates in EN-US.
    • Read ../_shared/references/templates.md when drafting the artifact.
    • Use package-level templates/requirements.md as the user-facing template when available.
    • Load relevant .ai/steering/*.md files when present, especially product.md, tech-stack.md, conventions.md, and principles.md.
    • If .ai/strategy/handoff/strategy-brief.md exists, read it as optional upstream context; use it to seed product requirements, but do not require it or let it bypass requirements approval.
  2. Locate or create the feature spec directory.

    • Use .ai/sdd/specs/NNN-feature-name/.
    • If the user names an existing feature, resolve it from actual .ai/sdd/specs/*/ directories and artifact titles.
    • If exactly one existing feature matches, use its directory and validate its .status against the official status values from sdd-practical.md.
    • If an existing feature .status is missing or invalid, stop and ask the user to repair it before updating requirements.
    • If multiple existing features may match, list candidates and ask the user to choose.
    • If creating a new feature, determine the next numeric prefix from the filesystem, not from memory and not from .ai/sdd/INDEX.md.
    • Numbering algorithm: list directories under .ai/sdd/specs/, extract prefixes matching ^([0-9]+)-, use max + 1, zero-pad to at least 3 digits, and preserve wider existing prefix width if present.
    • Generate a safe short slug from the feature name; ask the user if a safe slug is unclear.
    • Before creating a new spec directory, state the resolved path and continue only when it fits the user's intent.
    • Create .status with requirements:draft when starting a new requirements artifact.
  3. Gather context.

    • Read relevant .ai/sdd/ideas/*.md if the feature came from IDEA.
    • Read .ai/sdd/PLAN.md if it exists.
    • Read existing requirements.md when updating.
    • When using the optional strategy handoff, preserve its path in the > Source: header or Business Context and translate strategic claims into testable requirements only after validation.
    • Inspect nearby project files only enough to understand product context and naming; do not design implementation yet.
  4. Clarify scope with guided decisions.

    • Treat clarification as part of PRD, not as a separate public workflow step.
    • Ask one question at a time.
    • Cover: target users, main flows, edge cases, acceptance criteria, non-functional needs, and out-of-scope boundaries.
    • Keep questions focused on WHAT and WHY.
    • Avoid database, framework, API, or component-structure questions.
    • Prefer guided choice over open-ended questions when the user may not know how to answer technically.
    • For each important ambiguity, provide:
      • a short question;
      • why the answer matters;
      • a recommended option with a brief reason;
      • 2-4 concrete options plus Custom when useful;
      • the practical impact of each option.
    • Ask only questions whose answers materially change scope, UX, security/privacy, data behavior, acceptance criteria, or important NFRs.
    • Limit each pass to 3-5 high-impact questions unless the user asks to go deeper.
  5. Draft requirements.

    • Use the Requirements Template from ../_shared/references/templates.md.
    • Include user stories with acceptance criteria.
    • Write functional requirements using EARS where possible.
    • Classify functional requirements with MoSCoW: Must Have, Should Have, Could Have, Won't Have.
    • Include non-functional requirements only when they matter: usability, performance, accessibility, security, reliability.
    • Include explicit Out of Scope.
    • Use Questions to capture unresolved requirement uncertainty instead of guessing.
    • Use Decisions to record answered questions or explicit product choices.
    • When a question is answered, update the affected requirements and link the decision back to the source question.
  6. Record Questions and Decisions.

    • Keep both sections inside requirements.md.
    • Use Q-001, Q-002, ... for questions.
    • Use D-001, D-002, ... for decisions.
    • A question may be open or answered.
    • A decision should include the decision, reason, source question when applicable, and impacted requirement IDs or sections.
    • Open critical questions block approval but do not block saving a draft.
  7. Review with the user.

    • Present the complete draft.
    • Ask for explicit approval or requested changes.
    • If changes are requested, revise and present again.
  8. Save draft and gate.

    • Save draft requirements to .ai/sdd/specs/NNN-feature-name/requirements.md with > Status: Draft when useful for collaboration.
    • Keep .status as requirements:draft until explicit approval.
    • Do not mark requirements approved while critical Questions remain open.
    • After explicit approval, update the artifact status to approved and set .status to requirements:approved.
    • Update .ai/sdd/INDEX.md with the spec row and current status when practical; if not updated, tell the user the index may be stale.

Output

  • .ai/sdd/specs/NNN-feature-name/requirements.md
  • .ai/sdd/specs/NNN-feature-name/.status
  • Updated .ai/sdd/INDEX.md row when practical

Quality Bar

  • Every Must Have requirement must be testable.
  • Acceptance criteria must describe observable behavior.
  • Out of Scope must prevent likely scope creep.
  • Requirements must not contain implementation decisions.
  • Questions must help non-technical users make product decisions through clear options and impacts.
  • Decisions must be reflected in the affected user stories, requirements, NFRs, or scope boundaries.

Critical Rules

  • Do not create design.md in this skill.
  • Do not guess or reuse feature IDs from memory; always determine the next ID from actual directories under .ai/sdd/specs/.
  • Do not infer approval from artifact existence; require valid .status for existing specs.
  • Do not write code in this skill.
  • Do not proceed without explicit user approval before marking requirements approved.
  • Draft requirements may be saved, but they do not authorize design as an approved gate.
  • If the user asks for a very small change, keep the artifact concise but still preserve the gate.

Câu hỏi thường gặp

Kỹ năng AI Sdd Prd làm được gì?

Core cognitive SDD skill for creating or updating requirements.md from an approved idea, plan, or feature request. Use when the conversation calls for defining WHAT and WHY: user stories, acceptance criteria, EARS functional requirements, NFRs, and boundaries, even without an explicit command. Do not use for technical design or coding.

Vì sao nên dùng Sdd Prd trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Sdd Prd là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Sdd Prd trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/felipefontoura/pi-sdd-kit/tree/main/skills/sdd-prd. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Sdd Prd?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Sdd Prd với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Sdd Prd với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Sdd Prd có miễn phí không?

Có. Kỹ năng này được felipefontoura phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇