Logo Docs Writing

Docs Writing

Tổ chức
vanillagreencom
docs-writing

Load to write, rewrite, or review repository markdown or documentation HTML: README, DEVELOPMENT, architecture docs, reference docs, SKILL.md and AGENTS.md.

Tổng quan

Nhà phát hànhvanillagreencom
Kho mãkendex
Tên kỹ năngdocs-writing
Sao
80
Bản fork
31
Tệp đi kèm
9
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 là Markdown thuần túy, không phải 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ộ.

  • 9 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 vanillagreencom công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Docs Writing 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 thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/vanillagreencom/kendex/tree/main/skills/docs-writing
  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/vanillagreencom/kendex.git /tmp/kendex
mkdir -p .claude/skills
cp -r /tmp/kendex/skills/docs-writing .claude/skills/docs-writing
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 Docs Writing 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ự tải Docs Writing 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 Docs Writing không bị giới hạn ở mô hình mà kỹ năng này được viết cho. 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 kỹ năng chưa dùng không tốn chi phí.

  • Đổ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.

Docs Writing

A repository's markdown holds what the code cannot show: invariants, layer boundaries, decisions with their reason, conventions that differ from tool defaults, and pointers to canonical code and to the test that proves a claim. Everything else lives in the code, the tests, and git history.

This skill governs repository markdown and documentation HTML. It states one writing standard, then what each file type is for and what it must not carry.

Two exclusions hold in every file: a list a declaration file or a checker already holds is not copied into prose, and a claim that a checker enforces something names the checker.

The standard

  • Write short sentences. Put one idea in each sentence.
  • Use active voice and name the actor. Say what the code does, not what is done.
  • Use plain words. Basic technical terms are fine: CLI, API, repo, PR, hook, lock, glob.
  • Use one term per thing, the same term every time.
  • State each fact once. Point at the first statement instead of repeating it.
  • Write a heading that names the subject. A heading never makes a claim.
  • Write in the present tense. A rule states what holds.
  • Delete sales language, quips, metaphors, and hedges.
  • Delete a sentence nothing acts on.
Instead ofWrite
A value you set is never overwritten and one you deleted is never put back.kendex does not overwrite a value you set, and does not restore a value you removed.
## What you can count on## Features
Simply run the apply command and you are good to go.Run kendex apply.
One place your whole setup finally lives, in harmony across every tool.kendex installs packages into the directories each tool reads.
It is generally recommended that callers should probably check the result.Check the result.

Per file type

Each list says who reads the file, what it holds, and what it excludes. A file carries only what its list permits.

README.md

Read by a person choosing or using the package or repo.

  • What it is and who it is for, in two or three sentences.
  • Install: the one command, or a bullet or table row per platform or method where more than one exists.
  • One section named Features, with one plain feature per bullet. No Guarantees or What you can count on section. Use plain noun headings throughout, such as Install, Features, How it works, Supported tools, and Settings.
  • How it works: three to six plain sentences or bullets naming the parts the user meets and what happens in order. Every sentence must make sense without reading the code.
  • Where to customise: the settings a reader sets, and the file each is set in.
  • Excluded: internal vocabulary, coined phrases, metaphors, product voice, invariants, detailed internals, rationale, history, and a command listing --help already gives.

DEVELOPMENT.md

Read by a maintainer, human or agent, working on the package itself.

  • The mechanics a maintainer needs and the layout of the code.
  • Ordering and compatibility constraints the code cannot show.
  • How to run, test, and debug the package.
  • The test strategy: what each suite proves.
  • Excluded: anything the code, the tests, --help, or the README already states, and any architecture narration.
  • A file left with nothing load-bearing is deleted, and any surviving line moves to the README.

docs/architecture/overview.md

Read by an agent or maintainer before structural work. One per repository.

  • The one idea every part projects, in one paragraph.
  • Vocabulary: one line per term the code uses with a meaning a reader could get wrong.
  • Layer boundaries: what each layer may depend on and what it may never contain.
  • Invariants, one line each, with the test or check that enforces it.
  • An index of the topic files, each with the condition that sends a reader there.
  • Excluded: directory layouts, file-by-file descriptions, behaviour walkthroughs, command listings, CI topology, and step-by-step flows.

docs/architecture/<topic>.md

Read on demand for one subsystem. The doc-drift-check hook names it when covered code changes.

  • A Covers: line naming the paths it describes. A plain repo-relative path covers that file or directory. A shell glob matches the full path, with * crossing /.
  • The same content kinds as the overview, for one subsystem.
  • A topic file exists only where a subsystem has invariants or boundaries of its own. A subsystem with none is a line in the overview.

Reference docs

Read by an agent or maintainer looking up one value. Any lookup document: references/, schemas/, patterns/, a named file such as CHECKS.md, or one under docs/.

  • Tables and lists. One row per item.
  • The value or the shape the contract fixes, its meaning, and its default.
  • The semantics a reader needs to produce or consume that shape, and no more.
  • Excluded: rationale, and narrative that defines nothing.
  • A file under references/ exists only where a named workflow loads it on demand.

Documentation HTML

Read by an agent or maintainer who needs repository documentation in a browser-native format.

  • An offline page under docs/ that opens directly without a build step.
  • The standard and the content rules of the equivalent Markdown file type.
  • Local styles that the document needs. No framework or external asset.
  • Inline SVG is available when a diagram explains a relationship more clearly than prose.
  • A title attribute is available when a short hover definition helps the reader.
  • Excluded: pages served from a web root or built by an application bundler. Those are product files, not repository documentation.

SKILL.md, workflows/*.md, agents/*.md

Read by an agent on every load.

  • The shortest unambiguous rule, and the commands.
  • Excluded: mechanics, rationale, history, and worked examples.
  • A rule another file owns is cited, never restated.
  • Rationale moves to DEVELOPMENT.md or a decision record.

AGENTS.md

Read by every harness at the start of every session, at the repository root.

  • A map, not a manual: what the repo is in two or three sentences.
  • Everything a Codex session must know, because Codex reads only the root-to-cwd chain of AGENTS.md files, at launch, under a 32 KiB combined cap.
  • The commands that are not discoverable from the tooling itself.
  • The conventions that differ from a tool default or a language norm.
  • One line per deeper doc, saying when to read it.
  • A nested AGENTS.md holds the conventions and invariants local to its directory, and stays small.
  • Excluded: anything derivable from the code.

CLAUDE.md

The harness shim. kendex writes it, and its whole content is one import line.

  • Never hand-write it, a .claude/rules file, or any other harness-specific instruction file.
  • kendex apply, kendex refresh and kendex verify write and check it, and it is committed.

Decision records

Read when opened. The format, templates, and workflows are the decider skill's.

  • Follow ../decider/SKILL.md. This skill ships no second template and states no second format.
  • Architecture docs cite a decision by ID and never restate it.

CHANGELOG.md and changelog.d/

The changelog-entries lane owns the shape. Follow the repository's changelog.d/README.md.

Format

  • Docs change in the same commit as the code they describe. The doc-drift-check hook names the unchanged covering docs to the agent and blocks that stop once per set.
  • One paragraph per line, one list item per line, no hard wraps inside either. Blank lines separate paragraphs, list blocks, headings, and fences. Tables and fenced code stay as written. The commit-guards md-format lane enforces it and md-reflow converts a file once.
  • Relative links in Markdown must resolve. commit-guards CHECKS.md § md-refs owns the checked forms.
  • Agent-loaded markdown carries no history. The prose lane checks it.
  • Document byte limits and exceptions follow doc-limits policy.
  • A rule a shipped kendex package states is never restated in the repo's own markdown. The repo installs the package and customises through kendex.toml.

Writing

Rewrite from a blank page, never by editing the old text: workflows/rewrite.md.

Templates: README.md, DEVELOPMENT.md, overview.md, topic.md, reference.md, document.html, agent-SKILL.md, root-AGENTS.md, nested-AGENTS.md.

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọc và không bao giờ được thực thi.

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

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

Load to write, rewrite, or review repository markdown or documentation HTML: README, DEVELOPMENT, architecture docs, reference docs, SKILL.md and AGENTS.md.

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

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/vanillagreencom/kendex/tree/main/skills/docs-writing. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm và cài đặt thành 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 Docs Writing?

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.

Bạn có thể dùng Docs Writing 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 Docs Writing 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 Docs Writing có miễn phí không?

Có. Kỹ năng này được vanillagreencom 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 cho mô hình các công cụ mới để gọi — mã đượ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à tiêu chí của đầu ra tốt. 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 👇