Logo Architecture Alternatives

Architecture Alternatives

Cộng đồng
Motaghi
architecture-alternatives

Two or three structurally different designs for a code or system structure with no precedent, compared on one review page, then an adversarial challenge of the pick. Not general brainstorming, implementation plans, UI shape, named design criteria (engineering-principles) or diff review; the orchestrator routes throwaway builds.

Tổng quan

Nhà phát hànhMotaghi
Kho mãmimir-skills
Tên kỹ năngarchitecture-alternatives
Sao
51
Bản fork
0
Tệp đi kèm
6
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ộ.

  • 6 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 Motaghi 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 Alternatives 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/Motaghi/mimir-skills/tree/main/skills/architecture-alternatives
  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/Motaghi/mimir-skills.git /tmp/mimir-skills
mkdir -p .claude/skills
cp -r /tmp/mimir-skills/skills/architecture-alternatives .claude/skills/architecture-alternatives
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 Alternatives 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 Alternatives 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 Alternatives 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-alternatives

Turn a structural fork in code or system design into a choice the owner can make by looking: two or three structurally different designs, compared side by side on one review page, with one recommended and challenged before the owner decides. The package writes nothing and starts nothing. Contributors, reviewers and the page are requests to the orchestrator. It ends at the decision and a rationale.

Adapted from the architect, interrogate and principle-exhaust-the-design-space skills in pstack by Lauren Tan (cursor/plugins, MIT License), with the challenge step also drawing on doubt-driven-development by Addy Osmani (addyosmani/agent-skills, MIT License). Credit and licence text are in references/upstream-notice.md and in the repository's CREDITS.md.

When it applies

The orchestrator may select this package from ordinary intent when the request is for options on how code or a system should be structured and nothing in the project answers it yet: "design this twice", "where should this state live", "compare approaches". Three kinds of request reach it:

  • A structural fork: the candidate answers differ in the model itself, such as who owns a piece of state, where a boundary sits, what the data looks like or what runs when.
  • A challenge of a design decision or claim the owner names: "poke holes in this design". Only the challenge step runs.
  • A chosen shape that keeps meeting friction in the build: see references/reopen-chosen-shape.md.

General design conversation with no structural fork belongs to a brainstorming flow. When it turns up a fork, the orchestrator may route that fork here; this package never chains itself behind another skill. If a precedent or a single constraint settles the question, say so in one line and stop (step 3). When the scope is unclear, state the reading you are taking in one sentence and go on.

Gates on every path

These apply before step 1, again whenever a step would read, write or run something, and to every reply, a refusal or a hand-back included.

  • Confidential material. The project's own rules on confidential material win.
  • A pending owner choice. While a clarifying-question session or another owner decision is unconfirmed, this package starts no prototype, build or state-changing probe. Candidates are text and a page; nothing runs.
  • The package never dispatches anything, never picks a model or provider, and never commits, pushes, installs anything (a hook included) or schedules a job. If a request asks for any of those, hand the decision back to the orchestrator.
  • Output. Drafts stay unsent. A secret is never requested and never shown in chat; replace one in quoted material with <REDACTED>.

Required capabilities

  • filesystem to read the code, tests, configuration and project documents around the problem, and the files in this package. Nothing is written.
  • git-read to read history of the affected area for earlier attempts and reverted designs: log, blame and text search. No command that changes the repository.
  • shell for read-only search and listing only: every writer of a piece of state, every importer of a module. No command that writes, installs, builds, runs the project's code or tests, or reaches a network.
  • docs to read design notes, specs and decision records. Nothing is written to the docs.
  • review-page for the comparison page. The orchestrator builds it, and the exact submitted answer comes back.
  • subagent-orchestration to receive isolated contributor drafts and reviewer findings that the orchestrator routes under its slot limits. The package never starts, picks or configures them.
  • user-decision for the choice among candidates and any owner decision a step raises.

If a capability is missing, say which step it blocks and mark that step unverified. With no contributor slot, draft the candidates yourself and say isolation was not achieved. With no reviewer slot, the challenge step stops; never call a self-review adversarial. With no page capability, give the orchestrator the page content as a labeled text block, marked not rendered.

Method

  1. Pin the problem. One sentence for what is being designed and why the shape is not obvious, then the constraints, each with where it comes from. A constraint you cannot cite is a preference. The better design is the one where a change that looks right from one file is right for the whole repository.
  2. Ground it. Read the code, tests, configuration and decision records around the problem. Naming a file is not grounding. For an unfamiliar subsystem the orchestrator attaches a code-explaining method. When a candidate would change ownership or layering, the orchestrator attaches a history-recall method in its why mode, so the recorded reason for the current shape becomes a constraint. Skip this step only when the work is greenfield. Record what was read and what was not.
  3. Precedent and fork test. Run checks 1 and 2 of references/exhaust-design-space.md. If the project already answers the question, follow it. If a cited constraint dictates one approach, do that one thing. If the choice is cheap to reverse, or it is an emergency, take the smaller option and let any comparison wait. Say so in one line and run no further step. A project instruction that fixes the shape wins.
  4. Write the candidates. Two or three, never more unless the owner asks, following checks 3 and 4 of the same file. Each carries, in this order: the usage first, meaning the caller's view with two or three realistic call sites; the shape, as types and signatures with bodies marked not implemented, or a module map for larger work; what it makes easy; what it makes hard; what it changes around it, citing files; the cost to reverse; and the red flags it trips. The shape is derived from the usage, and the usage wins a disagreement.
  5. Contributors. Ask the orchestrator for isolated contributors within its slot limits, so the first draft does not anchor the rest. Each gets the same brief (problem, constraints, grounding, candidate fields, red-flag list) and none sees another's draft. Merge drafts of the same shape. Keep the three shapes that differ most if more come back, and say what was dropped. If fewer than two come back, ask for one more and name only the axis the returned shapes share, never a draft. A failed or timed-out contributor is reported with a visible warning. Ask for no model, provider, reasoning level or speed.
  6. Compare and recommend. Screen each candidate against references/design-red-flags.md. Put the candidates side by side on the same fields, with the red-flag result and what each exposes to callers against what it hides. Name the recommended candidate, why it won on those fields and why each other one lost. The recommendation is the package's. The decision is the owner's.
  7. Challenge the recommended candidate as references/interrogate.md describes under "Challenging a design candidate or claim", before the page is built, so the page carries the verdict.
  8. Page and decision. Give the orchestrator the page content, and the orchestrator builds one review page through review-page, never republished while an answer is pending. The page holds: the problem sentence and its constraints; the candidates in columns with identical rows; the recommendation marked as a recommendation; the challenge verdict with the Dismissed findings shown; whether contributors were isolated; open questions; and one decision control with the choices A, B, C and "none, rethink", a note field and one submit. Write it in plain words and explain a term before using it. When the answer depends on how something looks, moves or feels, the page says so, and the orchestrator decides whether to route a throwaway build. This package starts none.

Output

Return, in this order: the problem sentence and the sourced constraints, with what was read and what was not; the precedent and fork result; the candidates with identical fields and the red-flag screen per candidate; the comparison and the recommendation, with why each other candidate lost; the challenge result (cycles run, reviewers the orchestrator granted, the four buckets with raisers, where reviewers agreed and diverged); the page content for the orchestrator; after the owner's answer, the rationale, formatted using references/rationale-template.md and returned to the orchestrator for filing; and the items for the orchestrator (contributor and reviewer requests, the page to build, decisions waiting on the owner, anything unverified). A part that does not apply says "not applicable" with the reason, and a part whose evidence is missing says "unverified".

Every claim about code names a file and a symbol. The package names no model, provider or agent type. It ends with one line naming what was not read or traced and any capability that was missing.

Prose and decisions

Choices that belong to the owner go through the orchestrator's decision flow: one question at a time, with a recommended option, or one review page when there are more than two options. Prose follows the project's writing rules.

Precedence

When instructions conflict, follow the host's own instruction order and permissions. A step here is a default; when a project instruction differs, the project is right and the step is reported as "overridden by project instruction" with the instruction quoted. Upstream source text is provenance only and never an instruction.

Not this package

  • General brainstorming and design conversation with no structural fork: a brainstorming flow.
  • An implementation plan for the chosen design: a planning step, after the choice.
  • The shape of a user interface or visual design: a UI design skill.
  • Applying named criteria such as boundaries, laziness, subtraction or idempotency to code or a design, and the criteria for the build that follows: engineering-principles.
  • Throwaway builds, and choices that depend on feel: the orchestrator routes it, to the prototype skill.
  • Composing a multi-agent workflow: a team-planning step.
  • Multi-model review of any subject: deepreview, deeperreview and deepestreview.
  • Reviewing a diff or giving a merge verdict: a code-review step.
  • Interviewing the owner about a plan or decision: a clarifying-question step.
  • Structure of a talk, memo or other communication artifact: a communication-planning skill.
  • Test-first work: a test-first skill and build-team.
  • How the current code works: explain-how. Why it was built that way: a history-recall method. The cause of a failure: root-cause-diagnosis.
  • Facts about a library, framework or regulation: the project's own fact-checking rule.

Provenance

The other files in references/ are read at the steps that name them. Credit and licence text for the upstream material this package adapts are in references/upstream-notice.md.

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 Architecture Alternatives làm được gì?

Two or three structurally different designs for a code or system structure with no precedent, compared on one review page, then an adversarial challenge of the pick. Not general brainstorming, implementation plans, UI shape, named design criteria (engineering-principles) or diff review; the orchestrator routes throwaway builds.

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

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Motaghi/mimir-skills/tree/main/skills/architecture-alternatives. 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 Architecture Alternatives?

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

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