Logo Architecture Core

Architecture Core

Cộng đồng
andrew0928
architecture-core

Build Andrew-style architecture foundations before domain-specific design: frame the real problem, extract stable abstractions, choose data and storage shapes from dominant constraints, validate ideas with measurable POCs, and turn architecture topics into deliberate-practice loops. Use when the task is cross-domain architecture thinking, abstraction-first modeling, storage tradeoff analysis, executable design validation, or architecture skill-building.

Tổng quan

Nhà phát hànhandrew0928
Kho mãandrew-skills
Tên kỹ năngarchitecture-core
Sao
36
Bản fork
6
Tệp đi kèm
8
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ộ.

  • 8 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 andrew0928 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 Core 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/andrew0928/andrew-skills/tree/main/plugins/architect/skills/architecture-core
  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/andrew0928/andrew-skills.git /tmp/andrew-skills
mkdir -p .claude/skills
cp -r /tmp/andrew-skills/plugins/architect/skills/architecture-core .claude/skills/architecture-core
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 Core 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 Core 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 Core 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.

Andrew Architecture Core

Overview

Use this skill when the problem is still too raw, too cross-cutting, or too early to jump straight into API, security, reliability, or microservice patterns.

Start from the hardest constraint and the dominant operations. Treat examples as evidence, not as the architecture. Convert the problem into a stable model, choose where complexity should live, then prove the design with a small runnable slice and explicit metrics.

Working Style

  • Write in Traditional Chinese when the user or repo context is Chinese.
  • Start from problem analysis before proposing classes, frameworks, or storage products.
  • Judge design quality by stability under change, not by how quickly it fits today's examples.
  • Let the hardest constraint decide the abstraction boundary.
  • Prefer explicit contracts and measurable tradeoffs over pattern-name discussion.
  • When data shape does not fit the storage model, reshape data deliberately instead of pretending the mismatch does not exist.
  • Treat write-time work, read-time work, storage cost, and operational simplicity as one design surface.
  • When time affects correctness, make time explicit in the model and controllable in the POC.
  • Prefer small executable models over long conceptual discussion when feasibility is still uncertain.
  • When the goal is growth, turn the topic into a repeatable practice loop with tests and metrics.

Workflow

1. Problem Analysis

  • Collect concrete scenarios, failure modes, and awkward edge cases first.
  • State why the problem is difficult: scale, correctness, late data, storage mismatch, cross-step coordination, or unclear boundaries.
  • Identify the dominant operations:
    • what is queried most often
    • what changes most often
    • what must stay correct under scale
  • Separate external facts from controllable parameters.
  • Distinguish occurrence time, receive time, and decision time when delayed data or replay matters.
  • Decide whether the task needs only a model, or also a measurable POC.

2. Modeling

  • Ask what the system must keep stable while examples continue to change.
  • Write one contract sentence for the stable interaction.
  • Separate focus from detail.
  • Model the system as cooperating parts with explicit responsibilities.
  • Do not classify only today's known cases. Choose boundaries that still make sense when tomorrow's case appears.
  • When the design revolves around data, model identity, state, lifecycle, and ownership before choosing storage technology.

3. Data And Storage Design

  • Choose schema and storage based on the hardest requirement, not on product preference.
  • Decide whether the design should optimize read flexibility, write simplicity, replayability, tenant isolation, or scale-out behavior.
  • Decide where to pay complexity:
    • write time vs read time
    • normalization vs materialization
    • dynamic query power vs fixed access paths
    • storage efficiency vs operational simplicity
  • When the storage model does not naturally fit the domain shape, add explicit indexes, projections, or materialized forms.
  • Make partition, tenant, or scope boundaries safe by default in the data access layer.
  • Separate shared data from scoped data explicitly.
  • Prefer combining complementary techniques over forcing one storage style to solve every problem.

4. Class And Boundary Design

  • Define minimal contracts that expose stable input, output, and identity.
  • Hide variant logic behind implementations, not behind orchestration conditionals.
  • Introduce richer context objects only when the current signature is no longer enough.
  • Keep the main flow readable in one short pass.
  • Preserve composition boundaries so the same model can work in-process, across CLI boundaries, or against different storage backends.
  • If streaming matters, define item-by-item transfer shape instead of batch-only contracts.
  • Treat result objects as first-class outputs when the caller needs both final outcome and intermediate reasoning.

5. Scenario And Flow Mapping

  • Start with the smallest end-to-end baseline that proves the core model.
  • Add one structurally different case at a time and verify the main flow still does not change.
  • Walk important flows step by step:
    • normal path
    • late or corrected data
    • high-volume path
    • restart or replay path
  • If the system is staged, model what each stage consumes, produces, and guarantees.
  • Track where work-in-progress accumulates, where data is reshaped, and where replay or correction must re-enter the flow.

6. Metrics And Theory Limits

  • Define success metrics before tuning.
  • Choose metrics that expose tradeoffs directly, such as:
    • first-result latency
    • full-run completion time
    • max work-in-progress or buffer size
    • replay cost
    • query cost
    • storage growth
    • correction lag
    • tenant isolation risk
  • Mark hard constraints separately from optimization targets.
  • Estimate a likely theory limit or practical ceiling so iteration has a stopping rule.
  • When data arrives late, define tolerated lateness and the exception path beyond that limit.

7. POC And Dimensional Reduction

  • Build the thinnest runnable model that can prove the boundary and the tradeoff.
  • Reduce dimensions deliberately:
    • distributed hosts to local threads
    • remote calls to local calls
    • database to in-memory collections
    • message bus to language-level events
    • realtime clock to controllable time
  • Keep the mapping between reduced model and real system explicit.
  • If time matters, use controllable time instead of sleeping in realtime or editing machine time.
  • If data-shape tradeoffs matter, benchmark representative workloads instead of arguing from taste.
  • Prefer POCs that show both correctness and cost.

8. Evaluation

  • Compare options against the chosen metrics, not against preference.
  • Explain what each metric pattern means operationally or development-wise.
  • Decide what complexity belongs in application code, in storage, or in explicit projections.
  • Prefer the design that keeps critical constraints predictable, even if it is not the most elegant on paper.
  • Name the assumptions that would force a redesign later.

Design Checks

  • Revisit the abstraction if new cases require rewriting the main orchestration.
  • Revisit the storage decision if you cannot explain it using dominant queries, updates, and scale constraints.
  • Revisit the model if occurrence time and receive time are being mixed even though delayed data changes the answer.
  • Revisit the data shape if every important query requires awkward reconstruction work.
  • Revisit the write path if read performance depends on information that is never materialized or indexed.
  • Revisit the boundary if scoped data access is safe only when every caller remembers to add the right filter.
  • Revisit the POC if it proves only the happy path and hides the real tradeoff.
  • Revisit the metrics if they cannot distinguish between a correct design and an expensive one.
  • Revisit the flow design if pipeline stages cannot be restarted, replayed, or observed independently.
  • Revisit the practice setup if the exercise is too entangled with production detail to rerun quickly.

Default Output Shape

When the user asks for architecture design, respond in this order unless they request another structure:

  1. Problem Analysis
  2. Modeling
  3. Data And Storage Design
  4. Class And Boundary Design
  5. Scenario And Flow Mapping
  6. Metrics And Theory Limits
  7. POC
  8. Evaluation
  9. Risks And Refactor Triggers

Use these expectations for each section:

  • Problem Analysis: define the hard part, dominant operations, external constraints, and controllable variables.
  • Modeling: define the stable concern, the hidden details, the main parts, and the contract sentence.
  • Data And Storage Design: define identity, state, partitioning, access paths, and where complexity should live.
  • Class And Boundary Design: define core entities, interfaces, result types, context objects, and composition boundaries.
  • Scenario And Flow Mapping: walk at least one baseline path and one stress path step by step.
  • Metrics And Theory Limits: define what to measure, what good or bad looks like, and what ceiling or cutoff matters.
  • POC: propose the smallest runnable slice that proves the design and exposes the tradeoff.
  • Evaluation: compare options or expected outcomes and state what decision follows.
  • Risks And Refactor Triggers: name what would invalidate the current boundary later.

Practice Mode

When the user asks how to build architecture skill, create exercises, or deliberately practice design thinking, respond in this order unless they request another structure:

  1. Practice Goal
  2. Simplified Problem
  3. Correctness Harness
  4. Baseline POC
  5. Measurements
  6. Iteration Plan
  7. Theory Limit
  8. Knowledge Gaps
  9. Comparison Plan

Use these expectations for each section:

  • Practice Goal: define the capability to strengthen and the weakness the exercise should expose.
  • Simplified Problem: remove noise while keeping the real design tradeoff.
  • Correctness Harness: define tests, scenarios, or executable checks first.
  • Baseline POC: propose the simplest correct solution that can be run repeatedly.
  • Measurements: define the metrics that compare versions fairly.
  • Iteration Plan: change one thing at a time and state the hypothesis.
  • Theory Limit: estimate the likely ceiling so the learner knows when to stop tuning.
  • Knowledge Gaps: name the missing fundamentals the exercise exposed.
  • Comparison Plan: make alternate solutions easy to compare with shared tests, metrics, and assumptions.

References

  • Read references/interview-abstraction-principles.md when the task is about abstraction boundaries, stable interfaces, extensibility, or refactoring toward richer context.
  • Read references/deliberate-practice-principles.md when the task is about how to practice architecture or turn a vague topic into a repeatable exercise.
  • Read references/time-mock-poc-principles.md when the design depends on time, delay, schedule, expiry, or deterministic replay.
  • Read references/data-shape-and-storage-principles.md when the task involves persistence models, tenant isolation, schema tradeoffs, tree-like data on relational storage, or choosing where to pay indexing and materialization cost.
  • Read references/pipeline-and-object-stream-principles.md when the task involves staged processing, streaming, CLI composition, object transfer across boundaries, or throughput-vs-latency tradeoffs.
  • Read references/event-sourcing-materialization-principles.md when the task involves append-only history, late-arriving data, projection design, replay, or multiple reporting views over the same source facts.
  • Keep article-specific notes in references/.
  • Promote only stable, cross-article guidance back into this SKILL.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 Core làm được gì?

Build Andrew-style architecture foundations before domain-specific design: frame the real problem, extract stable abstractions, choose data and storage shapes from dominant constraints, validate ideas with measurable POCs, and turn architecture topics into deliberate-practice loops. Use when the task is cross-domain architecture thinking, abstraction-first modeling, storage tradeoff analysis, executable design validation, or architecture skill-building.

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

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/andrew0928/andrew-skills/tree/main/plugins/architect/skills/architecture-core. 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 Core?

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

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