Logo Architecture Decision

Architecture Decision

Cộng đồng
davekilleen
architecture-decision

Use when a system or design choice needs an evidence-backed ADR, explicit alternatives and trade-offs, or review of proposed, accepted, or superseded decision history.

Add to TypingMind

Tổng quan

Nhà phát hànhdavekilleen
Kho mãDex
Tên kỹ năngarchitecture-decision
Sao
481
Bản fork
130
Tệp đi kèm
Chỉ có hướng dẫn
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 davekilleen 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 Architecture Decision 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/davekilleen/Dex/tree/main/packages/dex-agent-plugin/skills/_available/engineering/architecture-decision
  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/davekilleen/Dex.git /tmp/Dex
mkdir -p .claude/skills
cp -r /tmp/Dex/packages/dex-agent-plugin/skills/_available/engineering/architecture-decision .claude/skills/architecture-decision
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 Architecture Decision 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 Architecture Decision 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 Architecture Decision 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.

Architecture decision

When to use

Use this skill when a material architecture choice, constraint, or reversal needs a traceable Architecture Decision Record (ADR), or when an existing ADR's state and rationale need review.

Do not use it for live incident response, implementation instructions that do not require a design decision, or a decision that has no identifiable evidence or human decision authority. Not for silently choosing on behalf of the team or rewriting historical ADRs.

Inputs and source discipline

Start with the decision question, scope, constraints, affected systems, decision authority, and intended decision window. Treat a missing authority, constraint, or date as unknown; ask for it or mark it TBD.

Build a source ledger before comparing options. For every material claim record the source, source date, as-of date/time, locator, and freshness or access limitation. Prefer directly inspected code, configuration, tests, measured operations, and dated requirements; label meeting recollections and interpretations accordingly. Keep conflicting sources linked rather than silently choosing one.

Method

  1. Read the relevant context in read-only mode. State the problem, desired outcome, non-negotiable constraints, decision deadline if evidenced, and what is outside scope.
  2. Enumerate the status quo and credible alternatives. For each option capture supporting evidence, fit to constraints, benefits, costs, risks, reversibility, migration or operational burden, trade-offs, and unresolved unknowns.
  3. Compare options with the same criteria. Record confidence for each material assessment and retain contradictions; do not manufacture a score, percentage, or cost when the source does not provide one.
  4. Draft the ADR with one explicit state:
    • Proposed means the evidence-backed draft is awaiting human authority.
    • Accepted means the human decision authority explicitly approved the stated option and trade-offs; a recommendation is not approval.
    • Superseded means a later accepted ADR replaces it, with links in both directions. Preserve the earlier record as immutable history.
  5. Present a recommendation as an option for the human decision authority. Do not change a proposed ADR to accepted, or create the canonical ADR, until that human authority confirms the action and the exact decision text.

Truth and uncertainty rules

Label each claim as observed, inferred, unknown, stale, or contradictory. Observed means the cited source directly supports it; inferred means reasoning from cited facts; unknown means the evidence is absent; stale means the source may no longer represent the decision context; contradictory means credible sources disagree.

Never invent dates, metrics, owners, intent, money, percentages, causes, status, or evidence. Do not turn an inference into a constraint or an unknown into a risk score. State which source would resolve each material unknown and do not hide disagreement behind a single confidence number.

Output contract

Return a decision brief or ADR containing:

  • decision question, scope, constraints, as-of date/time, and decision authority;
  • a source ledger with source, source date, citations, and freshness;
  • alternatives, consistent comparison criteria, evidence-backed trade-offs, and confidence;
  • state as Proposed, Accepted, or Superseded, with the approval or successor link required by that state;
  • unknowns and contradictions, including their effect on the recommendation;
  • implementation consequences and follow-up evidence, if known; and
  • a clearly labelled recommendation that is not a human decision.

Safety and write boundaries

The default is read-only. A write requires a preview of exact destination and content, then explicit confirmation from the human decision authority before creation or modification. Do not edit source code, configuration, tickets, or an accepted or superseded ADR as part of this review. Do not claim that a proposed option is adopted or send implementation instructions as if they were approval.

Keep ADR history append-only. If a historical record is wrong, preserve it and propose a correction or successor for human review; never erase the evidence of the earlier state. Recommendations are not human decisions, and no external action is authorized by this skill alone.

Verification and recovery

Before writing, read back the preview and reconcile the state, decision text, authority, source citations, option links, and destination. After a confirmed write, read back the persisted ADR and reconcile it with the approved preview and its successor or predecessor links. Check that no unsupported date, status, or evidence appeared.

If a read, write, or reconciliation check fails, stop and report the exact failure, partial state, and missing evidence. Do not retry blindly or overwrite history. Recover by re-reading the destination and source ledger; only a human-authorized append, correction, or superseding ADR may resolve a partial or contradictory record.

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

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

Use when a system or design choice needs an evidence-backed ADR, explicit alternatives and trade-offs, or review of proposed, accepted, or superseded decision history.

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

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/davekilleen/Dex/tree/main/packages/dex-agent-plugin/skills/_available/engineering/architecture-decision. 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 Architecture Decision?

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 Architecture Decision 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 Architecture Decision 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 Architecture Decision có miễn phí không?

Kỹ năng này được davekilleen phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. 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 👇