Logo Repo Docs Zh

Repo Docs Zh

Cộng đồng
YurunChen
repo-docs-zh

Generate and maintain repo-docs with Chinese as the primary reader language while preserving source identifiers for lookup. Use when the user asks for Chinese repo docs, mentions repo-docs-zh, wants repo documentation in Chinese, or wants an existing repo-docs package localized for Chinese readers.

Tổng quan

Nhà phát hànhYurunChen
Kho mãrepo-docs-skills
Tên kỹ năngrepo-docs-zh
Sao
433
Bản fork
8
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 YurunChen 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 Repo Docs Zh 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/YurunChen/repo-docs-skills/tree/main/docs/repo-docs-zh
  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/YurunChen/repo-docs-skills.git /tmp/repo-docs-skills
mkdir -p .claude/skills
cp -r /tmp/repo-docs-skills/docs/repo-docs-zh .claude/skills/repo-docs-zh
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 Repo Docs Zh 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 Repo Docs Zh 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 Repo Docs Zh 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.

Repo-Docs ZH

Position

This is the Chinese-language overlay for repo-docs. Structure, page ownership, evidence rules, sync behavior, and validation come from ../repo-docs/SKILL.md. This overlay only changes language and Chinese reader experience.

Before acting, read:

  1. ../repo-docs/SKILL.md
  2. ../repo-docs/REFERENCE.md as the topic router only when detailed rules are needed
  3. The routed topic file only when needed
  4. ../repo-docs/EXAMPLES.md only for output shape or tone examples needed by the task

Core Principle

Chinese repo-docs are not English docs translated line by line. They should rebuild the reader's conceptual handles in Chinese.

Chinese carries understanding: what this thing is, why it exists, what happens, what details matter, and how to check it. English identifiers locate the source: paths, commands, fields, API names, class/function names, metric names, package names, and dataset names.

references/source-evidence.md is still the fixed Build evidence base in Chinese packages. Write claims, caveats, and reader-facing notes in Chinese; keep paths, commands, fields, source identifiers, and exact evidence locators in their source form.

标准包中的 code-map.md 写成“代码地图”。它在主 walkthrough 之后回答:范围内每个源码目录负责什么,里面哪些文件或符号最重要,某类修改应该从哪里开始,相关验证在哪里。中文负责说清职责和改动入口,英文路径与符号负责精确定位。

If writing exposes a weak claim or insufficient evidence, pause drafting and return to the project evidence. Re-inspect the relevant source path, tests, config, schema, data, command output, or artifact; if the evidence is still missing, label the claim as 推断 / 未确认, defer it explicitly, or leave it out.

Language Rules

  • Use Chinese for titles, explanations, reading paths, examples, caveats, and change-log entries.
  • Keep source identifiers exact in their source form: paths, commands, keys, API names, class/function names, metric names, error strings, package names, and dataset names.
  • First introduce repeated project terms as 中文名(English term) or 中文名(source identifier); later prefer the Chinese name.
  • README route section heading is ## 阅读路径.
  • Glossary columns are exactly 术语 | 项目里的意思 | 延伸阅读.
  • Glossary rows should focus on four term types: project-special common words, confusable concept families, external terms as used in this repo, and lightweight repeated names that do not deserve a module.
  • Narrative page evidence note: 证据状态:除特别标注外,本页基于当前源码已确认。

Chinese Handles And Source Locators

Use a Chinese reader handle before a source locator.

TypeUse in Chinese docs
读者句柄The narrative subject, such as “导入流程”, “会话层”, “结果汇总”, “运行脚本”.
源码定位符Paths, functions, classes, fields, commands, artifact paths. Link directly with a Chinese label when one locator supports one claim.
机制细节名Metrics, schema keys, tool parameters, artifact file names. Put them in the owning module when they help the reader understand the concept.
外部术语Terms like benchmark, agent, workspace, protocol, memory. First mention gets a Chinese handle; later prefer Chinese when the term appears in the inspected repo.

Default locator rule:

  • Prefer a Chinese visible label that links to the source file over showing the raw path as visible text.
  • Use inline code only for short identifiers that matter to the mechanism.
  • Use references/source-evidence.md for grouped claim evidence instead of creating extra evidence/source-map pages. code-map.md is the reader-facing code navigation page, not an evidence ledger.
  • Never make a long path the visible link text in narrative prose.

Good:

  • 运行脚本负责选择运行模式和输入来源。
  • 会话层先取上下文,再记录本轮真实产生的输出。
  • 汇总器从最终状态读取完成情况和错误原因。

Bad:

  • packages/app/scripts/run_example.sh 是入口。
  • Session.run_task(...) handles context and scheduled observations.
  • ResultCollector.collect(...) records output status.

Readability Rules

  • A paragraph should still make sense after removing backticked identifiers. If not, rewrite around Chinese actions first.
  • Let Chinese prose carry the concept first, then use source identifiers where they make the mechanism inspectable.
  • Give the reader a concrete handle first: a user action, visible state change, reader concept, or question they already have.
  • 中文技术文档的真人感是具体、直接、敢标未确认;不要为了“有灵魂”加入第一人称、金句或情绪化评价。
  • 成稿前做一次去 AI 表达:删掉“此外”“值得注意”“至关重要”“关键作用”“彰显”等空转词,少用破折号和粗体小标题。
  • 避免让“不仅……而且……”或“不是……而是……”承担主解释;改成正面机制句。
  • Put fields, command shapes, schemas, artifacts, and metrics in the owning module when they are needed to explain the concept.
  • 讲一个机制时,如果读者理解它需要知道输入、状态变化、输出、决策或边界,就先问读者需要看到哪一个最小 case:输入是什么、动作或状态变化是什么、输出/产物是什么、边界或失败分支是什么。缺 case 时不要只补抽象解释;要补可读的代表性输入/输出形状,或明确说明为什么 case 会误导、缺证据或不宜展示。
  • prose 负责解释为什么,结构负责展示是什么。读者需要比较、查字段、看顺序、复现命令或看到输入如何变输出时,优先用 table、列表、时间线、fenced block 或小图;不要把大段连续文字当成质量信号。
  • 按读者问题选择展示策略,而不是按模板固定写法:因果解释用 prose;对比、before/after、字段查找用 table;命令、数据形状、调用形状用 fenced block;生命周期或顺序关系用短时间线 / 有序列表;分支、阶段、状态交接、多路径关系难以用 prose 承载时再用 Mermaid / flowchart。
  • Flowcharts support prose; they do not replace it.
  • A walkthrough step links to the module where a durable concept first matters.
  • 先让 walkthrough 建立行为模型,再让代码地图定位职责。不要用目录树替代主流程解释。

Page Shape Notes

  • README: Chinese opening prose followed by a stable ## 阅读路径 reader-goal table. Use columns 读者目标 | 从这里开始 | 读完后获得什么, including one row that routes evidence audit to references/source-evidence.md.
  • Walkthrough: numbered ## Step N: 行为名 headings; prose explains mechanism; verification appears once near the end.
  • Code map: title 使用“代码地图”。先说明覆盖范围,再用 路径 | 职责 | 关键代码 | 与主流程的关系 汇总;随后按范围内源码目录说明重要文件、功能、关键符号、调用方/使用方和相关验证。目录名本身不能代替中文职责说明,结尾明确列出排除或暂缓区域。
  • Module: use Chinese concept headings shaped by the reader problem. Preserve the module job: concept first, representative case for mechanism-heavy pages, representative source locator later, onward route, and the evidence note. If the reader's easiest path is a question sequence, lifecycle, comparison, timeline, input/output case, or concept-first flow, use that structure.
  • References: fixed generated artifacts only: source-evidence.md and, when needed, quality-review.md. 行为解释放 walkthrough,源码导航放代码地图,机制细节放 modules。

Agent Instruction Block

Use the main repo-docs English Repo docs block for AGENTS.md and other agent instruction Markdown. Chinese mode changes the reader-facing guide language; the agent instruction remains the main repo-docs block.

When a project uses Chinese reader-facing repo-docs/, add one short project-specific routing sentence immediately after the living-guide sentence:

markdown
This repo's `repo-docs/` guide is reader-facing Chinese documentation. When updating reader-facing guide pages, use `repo-docs-zh` when available; keep Chinese reader handles in the prose and preserve exact source identifiers for lookup.

Do not translate the whole agent instruction block into Chinese. The extra sentence only tells future agents to apply this overlay for reader-facing guide pages.

Build Delivery

After first build, reply in Chinese with:

  1. what readers can now understand or follow;
  2. where to start: repo-docs/README.md -> main walkthrough -> repo-docs/code-map.md when locating code;
  3. key pages and their jobs;
  4. scope, uncovered areas, validator result, and root agent-file status.

Keep the reply short. Durable guide history belongs in repo-docs/change-log.md.

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

Kỹ năng AI Repo Docs Zh làm được gì?

Generate and maintain repo-docs with Chinese as the primary reader language while preserving source identifiers for lookup. Use when the user asks for Chinese repo docs, mentions repo-docs-zh, wants repo documentation in Chinese, or wants an existing repo-docs package localized for Chinese readers.

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

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/YurunChen/repo-docs-skills/tree/main/docs/repo-docs-zh. 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 Repo Docs Zh?

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

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