Logo Nw Buddy Ssot Knowledge

Nw Buddy Ssot Knowledge

Tổ chức
nWave-ai
nw-buddy-ssot-knowledge

Phát hiện Single Source of Truth — nơi lưu giữ nguồn thông tin chuẩn trong kho lưu trữ nWave và cách tránh mâu thuẫn với nguồn đó.

Add to TypingMind

Tổng quan

Nhà phát hànhnWave-ai
Kho mãnWave
Tên kỹ năngnw-buddy-ssot-knowledge
Sao
616
Bản fork
65
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 nWave-ai 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 Nw Buddy Ssot Knowledge 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/nWave-ai/nWave/tree/main/nWave/skills/nw-buddy-ssot-knowledge
  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/nWave-ai/nWave.git /tmp/nWave
mkdir -p .claude/skills
cp -r /tmp/nWave/nWave/skills/nw-buddy-ssot-knowledge .claude/skills/nw-buddy-ssot-knowledge
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 Nw Buddy Ssot Knowledge 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 Nw Buddy Ssot Knowledge 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 Nw Buddy Ssot Knowledge 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.

SSOT Knowledge for the Buddy Agent

Large projects accumulate multiple copies of "the same" information: a version in pyproject.toml, a version in a VERSION file, a version in the README, a version in a changelog. When these disagree, the buddy agent must know which one is authoritative. This skill is the SSOT map for nWave projects.

Why it matters

Answering a user's question with a stale secondary copy is worse than saying "I don't know": it spreads wrong information with a confident tone. The buddy's job is to read the authoritative source every time, and to flag contradictions when the copies diverge.

The SSOT map

Each concept below has one authoritative file. Read that file first. Treat everything else as a cache that may be stale.

Versions

  • Authoritative: pyproject.toml [project] version = "..." (or the equivalent field in the package manifest for non-Python projects).
  • Caches: VERSION file, README badges, docs footer, release notes.
  • Rule: quote pyproject.toml. If asked about a cache that disagrees, report the discrepancy.

Planned work

  • Authoritative: BACKLOG.md at the repo root.
  • Caches: GitHub issues, conversation context, notes in other docs, stale TODO comments.
  • Rule: work that isn't in BACKLOG.md is not planned. Don't invent items. If the user mentions something not on the backlog, point that out and suggest they add it.

Architecture intent

  • Authoritative: docs/architecture/architecture-design.md (or whichever file the project uses as the single architecture doc — usually linked from CLAUDE.md or README.md).
  • Caches: individual feature specs in docs/feature/ with wave subdirectories, ADRs in docs/adrs/, diagrams in docs/, comments in code.
  • Rule: design intent lives in the architecture doc; design decisions live in ADRs; design details live in feature specs. If they disagree, the architecture doc wins for high-level questions; ADRs win for "why did we choose X".

Runtime behavior

  • Authoritative: the code.
  • Caches: docs, specs, comments, commit messages.
  • Rule: if a doc claims behavior X and the code does Y, the code is what users experience. Report the discrepancy as a finding.

Configuration

  • Authoritative: the config file the runtime actually loads (pyproject.toml, .pre-commit-config.yaml, ci.yml, whichever applies).
  • Caches: docs describing the config, README examples.
  • Rule: quote the real file, including its path.

Agent / command definitions

  • Authoritative: the YAML frontmatter of the agent or command file, and the framework catalog (framework-catalog.yaml or equivalent) if the project uses one.
  • Caches: READMEs, marketing docs, generated reference pages.
  • Rule: trust the frontmatter + catalog.

Git state

  • Authoritative: git status, git log, git branch.
  • Caches: conversation memory, "what I was doing" notes.
  • Rule: run git commands before answering state questions. Never guess.

Conflict resolution hierarchy

When two sources disagree and it isn't obvious which wins, use this hierarchy from most to least authoritative:

  1. The code itself (runtime behavior).
  2. The config files that control the runtime.
  3. The SSOT file declared by the project (BACKLOG.md, architecture-design.md, etc.).
  4. ADRs (for "why" questions).
  5. Feature specs.
  6. Generated docs.
  7. README.
  8. Prose in commit messages.
  9. Conversation context and memory.

Reporting a conflict is a valuable answer. "The README says X but the code does Y — you probably want to update the README" is more useful than picking one silently.

How to recognize a stale secondary copy

Signals that a doc is out of date:

  • It references APIs, commands, or files that no longer exist in the repo.
  • It claims a version number older than pyproject.toml.
  • Its "last updated" date (if present) is much older than recent commits to the code it describes.
  • Its vocabulary matches an older phase of the project (old feature names, old architecture terms).
  • It contradicts a more recent ADR.

When you spot one, mention it in the answer and suggest it be updated or deleted.

Read-before-answer discipline

Before any concrete answer:

  1. Identify which concept the question is about (version, backlog, architecture, behavior, config, state).
  2. Look up the SSOT for that concept in the map above.
  3. Read the authoritative file.
  4. Form the answer from that file, with a citation.
  5. If you also happen to see a contradicting cache, report it.

Don't answer from memory. The buddy agent's memory is not an SSOT; the repo is.

Never invent, always cite

If you don't find the information, say so and suggest where the user might add it. Never fabricate a file path, a function name, a version number, or a backlog item. Fabrication destroys trust; "I couldn't find this" preserves it.

A short example

User asks: "what version are we on and what's next?"

Good answer:

We're on v2.17.5 (pyproject.toml:3). The top three items in BACKLOG.md are:

  1. Finish the D-PLUGIN-00b delivery (BACKLOG.md:12)
  2. Docker validation matrix refresh (BACKLOG.md:27)
  3. CI matrix expansion (BACKLOG.md:34)

Note: the README badge shows v2.17.3 — probably stale, consider updating.

Bad answer:

I think we're on v2.17 something and you're working on the plugin feature.

The good answer is sourced, cited, and adds a finding. The bad answer is vibes.

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

Kỹ năng AI Nw Buddy Ssot Knowledge làm được gì?

Phát hiện Single Source of Truth — nơi lưu giữ nguồn thông tin chuẩn trong kho lưu trữ nWave và cách tránh mâu thuẫn với nguồn đó.

Vì sao nên dùng Nw Buddy Ssot Knowledge 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. Nw Buddy Ssot Knowledge 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 Nw Buddy Ssot Knowledge trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/nWave-ai/nWave/tree/main/nWave/skills/nw-buddy-ssot-knowledge. 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 Nw Buddy Ssot Knowledge?

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 Nw Buddy Ssot Knowledge 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 Nw Buddy Ssot Knowledge 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 Nw Buddy Ssot Knowledge có miễn phí không?

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