Logo Mb From Prd

Mb From Prd

Cộng đồng
mrvladd-d
mb-from-prd

Turn a PRD into a traceable Memory Bank with product, requirements, epics, and features.

Tổng quan

Nhà phát hànhmrvladd-d
Kho mãmemobank
Tên kỹ năngmb-from-prd
Sao
56
Bản fork
11
Tệp đi kèm
2
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ộ.

  • 2 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được mrvladd-d 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 Mb From 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/mrvladd-d/memobank/tree/main/skills/mb-from-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/mrvladd-d/memobank.git /tmp/memobank
mkdir -p .claude/skills
cp -r /tmp/memobank/skills/mb-from-prd .claude/skills/mb-from-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 Mb From 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 Mb From 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 Mb From 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.

mb-from-prd — PRD → Memory Bank (greenfield)

  • What it does: converts a PRD into structured project knowledge and traceable planning artifacts.
  • Use it when: the project is greenfield and prd.md or equivalent requirements already exist.
  • Input: prd.md or user-provided PRD text plus an initialized .memory-bank/.
  • Output: product, RTM, epics, features, and SDD design routing ready for mandatory /spec-design and per-feature /spec-improve before /prd-to-tasks.

Preconditions

  • You are in the repo root.
  • .memory-bank/prd.md exists with type: prd, clarification_status: complete, and constitution_checked: true; otherwise run /write-prd first.
  • .memory-bank/spec-index.md exists after /spec-init as the required lightweight SDD route map for PRD decomposition. After /prd, mandatory /spec-design consumes that map, records a minimal or full backbone gate, and may update backbone SDD specs and spec-index when features share domain/model/contracts/state/security/runtime design.
  • Optional Analysis artifacts such as a product brief may exist; use them as upstream PRD input, but do not require them.
  • .memory-bank/ exists. If not, run mb-init first (or create the skeleton manually).

Process

1) Load clarified PRD

  1. Read .memory-bank/prd.md.
  2. Confirm frontmatter has type: prd, clarification_status: complete, and constitution_checked: true.
  3. Stop if PRD contains unresolved NEEDS CLARIFICATION markers that affect decomposition.
  4. Read .memory-bank/spec-index.md as the lightweight SDD route map. Stop and run /spec-init if the index is missing, stale, placeholder-only, has broken links, is ambiguous, or cannot safely identify relevant existing specs and planned/candidate/unknown/not_applicable areas.
  5. Determine relevant authoritative specs from PRD sections, affected product areas, requirements, actors, data/domain model, contracts/APIs, states/lifecycles, security/compliance, runtime/operations, and verification strategy.
  6. Resolve and read only those relevant authoritative spec files routed by .memory-bank/spec-index.md. Do not load every SDD spec by default.
  7. If a relevant authoritative spec conflicts with the PRD, stop and ask for explicit resolution through a spec or PRD amendment.
  8. Start a task protocol folder:
    • .protocols/PRD-BOOTSTRAP/
    • plan.md (steps)
    • decision-log.md (Q/A and choices)

2) Skills / tooling discovery (optional but recommended)

If the PRD mentions “use skills / tools / CLIs”:

  • run /find-skills (project-installed first; marketplace second)
  • propose a minimal set of relevant skills to use (do not install without confirmation)

3) No Deep Questioning here

PRD-level ambiguity is handled by /write-prd. Do not ask Deep Questioning rounds in this skill. Optional Analysis (/analysis, /brainstorm, /brief) improves /write-prd input.

If the target mode is full autonomous:

  • non-blocking gaps may be recorded as explicit Assumptions
  • blocking gaps (security/compliance/external contracts/data-loss risks) must halt the run

4) Write L1 Product brief

Update .memory-bank/product.md (use the user’s wording).

5) Requirements + RTM

Update .memory-bank/requirements.md:

  • Enumerate REQ-IDs.
  • Define “out of scope”.
  • Fill RTM: REQ → Epic → Feature → Test.

6) Create Epics (L2, draft-first)

For each epic:

  • Create .memory-bank/epics/EP-<NNN>-<slug>.md
  • Use references/epic-template.md.
  • Ensure business value + success metrics.
  • Fill optional sections such as Source artifacts, Normative inputs, and Constraints / invariants only when they are grounded in evidence.
  • Default status: draft until open questions are resolved.

7) Create Features (L3, draft-first)

For each feature:

  • Create .memory-bank/features/FT-<NNN>-<slug>.md
  • Use references/feature-template.md.
  • Ensure autonomy and explicit acceptance criteria.
  • Do not add clarification metadata by default. Add clarification_status: pending|blocked only when the PRD explicitly leaves a feature-level blocker that affects task decomposition.
  • Fill optional sections such as Source artifacts, Normative inputs, Constraints / invariants, and Verification targets only when they are grounded in evidence.
  • Include the ## SDD Design Gate section in every feature. This routes to /spec-improve FT-<NNN> before /prd-to-tasks FT-<NNN> but does not introduce a placeholder spec_design_status or a new blocking status.
  • Default status: draft until acceptance criteria + verification plan are solid.

8) Tasks planning (per-feature, no “everything at once”)

Do not generate a full task queue “в лоб” for all features in one pass.

Instead:

  1. Ensure .memory-bank/schemas/task.schema.json and .memory-bank/tasks/index.json exist. A fresh skeleton may have { "version": 1, "tasks": [] }.
  2. Run /spec-design after /prd. For small independent T0/T1 features it may record a minimal backbone with irrelevant areas marked not_applicable; for shared/T2/T3 concerns it creates or updates the needed backbone SDD specs and spec-index. This is not another mandatory heavy phase: it creates no tasks and no feature-local implementation design.
  3. For each selected feature, run /spec-improve FT-<NNN> first, then /prd-to-tasks FT-<NNN> to produce:
    • .memory-bank/tasks/plans/IMPL-FT-<NNN>.md
    • atomic .memory-bank/tasks/TASK-*.task.json records grouped by wave, each with mandatory tier: T0|T1|T2|T3

When enough structured evidence exists, those feature-level plans and task records may include optional richer fields such as source_artifacts, normative_inputs, constraints, invariants, and verification_targets. Task routing is authoritative only through task.tier; the old risk / risk.level model is invalid. Canonical SDD planning path is /write-prd → /spec-init → /prd → /spec-design → /spec-improve FT-<NNN> → /prd-to-tasks FT-<NNN>. /spec-improve remains the feature-level gate after the mandatory backbone gate. Run /clarify-feature FT-<NNN> only when a feature is explicitly pending/blocked. For simple T0/T1-like features, /spec-improve may set spec_design_status: not_required with a concise rationale.

This keeps planning accurate and avoids speculative task explosions.

9) Support docs for key concepts

For every concept that would otherwise require “reading many files” to understand later, create support docs.

Compatibility/default path:

  • .memory-bank/architecture/<concept>.md (WHAT/WHY)
  • .memory-bank/guides/<concept>.md (HOW)

Optional richer support docs:

  • .memory-bank/contracts/...
  • .memory-bank/states/...
  • .memory-bank/runbooks/...
  • .memory-bank/testing/...

Rules:

  • classic duo docs remain valid and useful
  • richer docs are additive and should be grounded in evidence
  • if richer docs exist, route them from .memory-bank/spec-index.md and relevant feature/concept docs
  • do not create a new spec before checking existing specs through .memory-bank/spec-index.md

10) Update index

Update .memory-bank/index.md with annotated links to everything new.

11) Review gate

Run a fresh-context review (preferably mb-review).

12) Autonomous handoff (optional)

If the goal is “PRD → done without more user interaction”:

  • do not execute tasks from here manually
  • hand off to generated project command /autonomous

Definition of done

  • product.md + requirements.md are coherent.
  • Every REQ maps to an Epic/Feature in RTM.
  • Epics and features exist with acceptance criteria.
  • .memory-bank/spec-index.md routes existing/planned/candidate/unknown/not_applicable SDD design areas.
  • No schema-backed task records are required from mb-from-prd itself.
  • If task planning is explicitly continued with /spec-improve FT-<NNN> and /prd-to-tasks FT-<NNN>, schema-backed task records are indexed in .memory-bank/tasks/index.json; every task has tier.
  • index.md is updated.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

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

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

Turn a PRD into a traceable Memory Bank with product, requirements, epics, and features.

Vì sao nên dùng Mb From 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. Mb From 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 Mb From Prd trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/mrvladd-d/memobank/tree/main/skills/mb-from-prd. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà 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 Mb From 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 Mb From 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 Mb From 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 Mb From Prd có miễn phí không?

Có. Kỹ năng này được mrvladd-d 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 👇