Logo Explain How

Explain How

Cộng đồng
Motaghi
explain-how

Read-only walkthrough of a subsystem in local code, what to know before changing it, and where something belongs or who owns it. Not for single-function or one-line lookups, documentation of outside libraries or products, summaries of documents, why-it-was-built-this-way history, or live-system symptoms.

Tổng quan

Nhà phát hànhMotaghi
Kho mãmimir-skills
Tên kỹ năngexplain-how
Sao
51
Bản fork
0
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 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 Explain How 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/explain-how
  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/explain-how .claude/skills/explain-how
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 Explain How 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 Explain How 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 Explain How 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.

explain-how

Explain how a part of a codebase works well enough that a capable engineer new to it can build a working mental model and start changing it with confidence. The target is the level of a good onboarding conversation: the main ideas, the real flow, the files that matter and the traps, not an annotated copy of the source. The package reads code and writes nothing.

When it applies

Three kinds of request select this package from ordinary conversation:

  • A subsystem walkthrough: "how does the reminder pipeline work", "walk me through the import flow", "give me a mental model of the router".
  • A "before changing X" request: what depends on this code, what pins its behavior, and what to check first.
  • A placement or ownership question: "where should this live", "which package owns this", "is this the right layer".

A request that needs only a line or two is not this package's work. A single function, one constant, one signature or a quick "where is X defined" is answered directly by the orchestrator. If this package was selected for such a request, say so in one line and hand it back. When the scope of a walkthrough request is unclear, state the reading you are taking in one sentence and go on; the owner can redirect.

Required capabilities

  • filesystem to read the source, tests, configuration and project documents of the code in question, and the files in this package. Nothing is written.
  • shell for read-only search and listing only: finding a definition, listing its callers and importers, searching for string keys, listing a directory, printing a line range. No command that writes, installs, builds, runs the project's code or tests, or reaches a network.
  • docs to read design notes and specs when the project keeps its structure notes outside the repository. Nothing is written.

If a capability is missing or a root cannot be bound, say which part of the explanation rests on it and mark that part not read. Do not substitute another source.

Method

Work from the question outward and stop when the question is answered.

  1. Pin the target. Name the entry point, symbol or directory the question is about, and the question itself in one sentence. For a placement question, name the thing being placed.
  2. Find it by symbol, not by skimming. Locate the definition, then its direct callers and importers, then what it calls. Search for string keys as well as names: configuration keys, event names, route paths and registry entries are where dynamic links hide. Read tests as executable examples of intended behavior. Follow the flow one hop at a time, and read only the ranges the question needs.
  3. Check documents against code. When a document and the code disagree about what the code does, the code wins for behavior. Report the document as out of date and give its date when it has one.
  4. Keep intent separate from behavior. Code shows what happens, not why it was built that way. When the reason is not stated in the code, a comment or a document you read, say that it is unknown and point to the project's decision records or history for the reason. Never infer a motive from the shape of the code.
  5. Write the explanation using the shapes in references/explanation-shapes.md.

A subsystem can be too large for one pass to say anything useful. In that case tell the orchestrator which two to four angles would divide the work, and why each is a separate slice. The orchestrator decides whether to split it, who does each part and under which limits. Anything that comes back arrives as a labeled input with the files it read and its open questions; reconcile overlaps, and settle contradictions by reading the code yourself. This package never starts other workers, never chooses who does the work and never sets how hard they think.

Output

Use the sections from the shapes file that fit: Overview, Key concepts, How it works, Where things live, Gotchas. Drop a section that has nothing to say instead of padding it. A "before changing" request adds a Before you change it section, and a placement question leads with the answer.

Every claim about code names a file and a symbol, and a line when the line is stable. Prefer plain names to abstractions: "Worker.run_once calls drain", not "the worker delegates to the queue". Say why something is complicated when it is, and do not pad when it is simple. A small text diagram is allowed where several components pass data between them and prose would be harder to follow; when a real visual would help more, tell the orchestrator and let it decide about a review-page.

Every explanation ends with one line naming what was not read or not traced, such as tests, generated code, a directory outside the question, or a capability that was missing. A caller list says which search produced it, and notes that a text search cannot see calls made by name at run time.

Prose and decisions

Choices that belong to the owner go to the owner through the orchestrator's question step, one clear question at a time. Prose follows the project's writing rules where it has them, and plain wording otherwise.

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.

The package never dispatches anything, never picks a model or provider, and never commits, pushes or installs anything, a hook included. If a request asks for any of those, hand the decision back to the orchestrator.

Not this package

  • A one-line or single-function lookup: the orchestrator answers directly or does a quick lookup.
  • Documentation for an outside library or product: a research step owns it. This package reads local code only.
  • Summaries of long documents: a summarising step owns them.
  • Why something was built this way, what was decided, and what happened before: the project's history and decision records own those.
  • Broken live behavior, missing scheduled output or an alert: start from the system's own runbook or incident notes. Do not explain such a symptom inline.
  • Finding the cause of a failing test or a bug: root-cause-diagnosis owns that.
  • Comparing or proposing designs: the orchestrator routes it. This package describes what exists and where a thing fits it.
  • Reviewing a diff or giving a merge verdict: the project's code-review process owns that.

Provenance

This package adapts the how skill from pstack by Lauren Tan (cursor/plugins, MIT). The method steps, the "before you change it" lists, the placement shape and the rule that a document loses to the code are our own. Credit and licence text are in references/upstream-notice.md, and the repository's CREDITS.md lists the pinned commit.

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

Read-only walkthrough of a subsystem in local code, what to know before changing it, and where something belongs or who owns it. Not for single-function or one-line lookups, documentation of outside libraries or products, summaries of documents, why-it-was-built-this-way history, or live-system symptoms.

Vì sao nên dùng Explain How 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. Explain How 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 Explain How 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/explain-how. 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 Explain How?

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 Explain How 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 Explain How 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 Explain How 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 👇