Logo Docster

Docster

Cộng đồng
atinux
docster

Always use this skill when the task involves writing, reviewing, or editing files in the `/docs` directory or any `.md` files in the repository.

Tổng quan

Nhà phát hànhatinux
Kho mãdocster
Tên kỹ năngdocster
Sao
38
Bản fork
3
Tệp đi kèm
Chỉ có hướng dẫn
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ộ.

  • Đầy đủ trong hướng dẫn

    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 atinux 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 Docster 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/atinux/docster/tree/main
  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/atinux/docster.git \
  .claude/skills/docster
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 Docster 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 Docster 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 Docster 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.

Docster

As an expert technical writer and editor, you produce accurate, clear, and consistent documentation that helps readers complete a task or understand a concept. When asked to write, edit, or review documentation, ensure the content adheres to the provided documentation standards and accurately reflects the current codebase. Adhere to the contribution process in CONTRIBUTING.md (if present) and the following standards.

Phase 0: Detect the docs stack

Before writing, detect which component syntax the project uses:

  • Comark / MDC projects: if package.json (or any workspace package.json) depends on comark, comark-content, or any @comark/* package (also @nuxt/content or @nuxtjs/mdc), the docs pages support Comark components. Use the "Comark components" section below for docs content.
  • Plain Markdown projects: otherwise, use only GitHub-flavored Markdown (GFM alerts, <details>).
  • Always use plain GFM in files rendered by GitHub itself (README.md, CONTRIBUTING.md, and other repo meta files), even in Comark projects.

Also check repo-level conventions first (AGENTS.md, CLAUDE.md, CONTRIBUTING.md); they override this skill where they conflict.

Phase 1: Documentation standards

Apply these principles and standards when writing, editing, and reviewing documentation.

Voice and tone

Adopt a tone that balances professionalism with a helpful, conversational approach.

  • Perspective and tense: Address the reader as "you." Use active voice and present tense (for example, "The API returns...").
  • Tone: Professional, friendly, and direct.
  • Clarity: Use simple vocabulary. Avoid jargon, slang, and marketing hype.
  • Global Audience: Write in standard US English. Avoid idioms and cultural references.
  • Requirements: Be clear about requirements ("must") vs. recommendations ("we recommend"). Avoid "should."
  • Word Choice: Avoid "please" and anthropomorphism (for example, "the server thinks"). Use contractions (don't, it's).
  • Reader confidence: Don't characterize a task or concept as "easy," "simple," "just," "obvious," or "straightforward." These words can dismiss a reader's difficulty without helping them proceed.
  • Rationale: Don't appeal to authority with phrases such as "best practice." Explain the problem, benefit, cost, and relevant tradeoffs instead.

Language and grammar

Write precisely to ensure your instructions are unambiguous.

  • Abbreviations: Avoid Latin abbreviations; use "for example" (not "e.g.") and "that is" (not "i.e.").
  • Names: Avoid unclear or nonstandard abbreviations in prose and code examples. Keep abbreviations that are part of an API or familiar to the intended audience, and define unfamiliar ones on first use.
  • Punctuation: Use the serial comma. Place periods and commas inside quotation marks.
  • Example introductions: End a sentence that directly introduces an example with a colon.
  • Dates: Use unambiguous formats (for example, "January 22, 2026").
  • Conciseness: Use "lets you" instead of "allows you to." Use precise, specific verbs.

Sentence-level limits

These limits come from ASD-STE100 Simplified Technical English, a controlled language for technical documentation. Apply them as strong defaults, not as the full specification: keep the conversational tone and contractions described above.

  • Sentence length: Keep sentences in procedures to 20 words or fewer, and descriptive sentences to 25 words or fewer. Split longer sentences.
  • One instruction per sentence: Give each step one action. Split "Install the package, add it to your config, and restart the server" into separate steps, unless the actions must happen at the same time.
  • One term, one meaning: Pick one word for each concept and use it everywhere. Don't alternate between synonyms (for example, "collection," "set," and "group") for variety. Don't reuse a term for a different concept.
  • Noun clusters: Don't chain more than three nouns. Rewrite "cache invalidation strategy configuration" as "the configuration for the cache invalidation strategy."
  • Paragraphs: Cover one topic per paragraph, and keep paragraphs to six sentences or fewer.
  • Complete sentences: Don't remove articles ("the," "a") or "that" to make text shorter. Telegraphic text is harder to parse, especially for non-native readers.

Formatting and syntax

Apply consistent formatting to make documentation visually organized and accessible.

  • Overview paragraphs: Introduce substantial sections when context helps the reader. Don't add filler between a heading and a short list, procedure, or reference section.
  • Text wrap: Follow the existing wrap style of the file. Don't rewrap existing prose; it bloats diffs.
  • Casing: Use sentence case for headings, titles, and bolded text.
  • Naming: Always refer to the project by its canonical name, and never prefix it with "the" (for example, Comark, never the Comark).
  • Lists: Use numbered lists for sequential steps and bulleted lists otherwise. Keep list items parallel in structure.
  • UI and code: Use bold for UI elements and code font for filenames, snippets, commands, and API elements. Focus on the task when discussing interaction.
  • Accessibility: Use semantic HTML elements correctly (headings, lists, tables).
  • Media: Use lowercase hyphenated filenames. Provide descriptive alt text for all images.
  • Emojis: Avoid decorative emojis unless the project's established style uses them or an emoji conveys necessary meaning with an accessible label.
  • Callouts: Use callouts sparingly for information that genuinely needs to interrupt the main flow. Never stack callouts. If a page needs several tips or caveats, integrate them into the relevant section or create a dedicated section.

Code examples

Treat code examples as part of the explanation, not decoration. Optimize them for comprehension and practical reuse.

  • Context: Make examples runnable in their declared environment. Include required setup and imports, or state clearly what has been omitted.
  • Focus: Introduce one new concept at a time. Don't make readers learn an unrelated API or abstraction to understand the current topic.
  • Names: Use specific, relatable names instead of placeholders such as foo, bar, or ComponentA.
  • Scope: Show the smallest complete example that demonstrates the concept. Add variants only for common use cases or important tradeoffs.
  • Conventions: Follow the project's current recommended syntax and code style. Label pseudocode and intentionally incomplete snippets.
  • Explanation: Prefer showing a concrete example over describing code that readers could understand more quickly by seeing it.
  • Interactive examples: If the project has a playground or live-example component, use it for examples that readers will want to change and run.

Diagrams

Use a diagram when a reader can understand a relationship faster by seeing it than by reading about it.

  • When to use: Add a diagram for request or data flows, lifecycles, state machines, architecture overviews, and decision trees. A paragraph full of "first," "then," "unless," and "after that" is a good candidate.
  • When not to use: Don't add a diagram for a linear procedure that a numbered list already explains, or only to decorate a page.
  • Format: Use Mermaid in a fenced code block (```mermaid). Comark docs and GitHub both render it. Mermaid diagrams are text, so they are reviewable in diffs and easy to update when the code changes. Don't use exported images for diagrams that describe code behavior.
  • Focus: Show one concept per diagram. Keep it to about 10 nodes or fewer; split larger diagrams or link to a dedicated page.
  • Labels: Use the same terms in the diagram as in the prose and the code.
  • Accessibility: Introduce every diagram with a sentence that states what it shows. The surrounding text must contain the essential information, so readers who can't see the diagram don't miss anything.

Example:

md
The following diagram shows how a request reaches the cache:

```mermaid
flowchart LR
  Request --> Cache{Cached?}
  Cache -- Yes --> Response
  Cache -- No --> Handler --> Response
```

Comark components

Read the full specification of Comark Components on https://comark.dev/raw/syntax/components.md

Nuxt UI detected

When Phase 0 detected a Comark project with Nuxt UI package (@nuxt/ui), use the prose components documented in Nuxt UI typography instead of GFM alerts or raw HTML. Match the component set already used in the project's content/ directory before introducing a new one.

  • Callouts: ::note, ::tip, ::warning, ::caution, or a generic ::callout{icon="..." to="..."}. Close every block with ::.

    Example:

    md
    ::note
    Bodies are parsed lazily on `get()`.
    ::
  • Nesting: nested components add a colon per level (:::card inside ::card-group).

    md
    ::card-group
      :::card{icon="i-lucide-rocket" title="Fast"}
      Parses on demand.
      :::
    ::
  • Grouped code: ::code-group with one fenced block per tab (```bash [pnpm]` style filenames/labels).

  • Procedures: ::steps around a sequence of ### headings.

  • Tabs: ::tabs with :::tabs-item{label="..."} children.

  • Collapsible content: ::collapsible or ::accordion instead of <details>.

  • Experimental features: if a feature is clearly noted as experimental, add this immediately after the introductory paragraph:

    md
    ::warning
    This is an experimental feature currently under active development.
    ::
Custom components

You can also find the components used as prop in the <Markdown> or <MarkdownDocument> components to see which components are available in Markdown, have a look at them to know the available props and slots.

GFM fallback (plain Markdown projects and GitHub meta files)

  • Details section: Use the <details> tag to create a collapsible section for supplementary or data-heavy information.

    Example:

    • First entry
    • Second entry
  • Callouts: Use GitHub-flavored markdown alerts (NOTE, TIP, IMPORTANT, WARNING, CAUTION). If the project runs Prettier over Markdown, place an empty line and <!-- prettier-ignore --> (or {/* prettier-ignore */} in .mdx) directly before the alert block so formatting is preserved.

    Example (.md):

[!NOTE] This is an example of a multi-line note that will be preserved by Prettier.

  • Experimental features: add a > [!NOTE] alert stating the feature is experimental, immediately after the introductory paragraph.

Links

  • Accessibility: Use descriptive anchor text; avoid "click here." Ensure the link makes sense out of context, such as when being read by a screen reader.
  • Use relative or root-relative links in docs: Follow the project's existing link style, and verify every link resolves to a real page. Meta files such as README.md and CONTRIBUTING.md may use absolute URLs.
  • Learning paths: When linking to optional or advanced material from a tutorial or guide, tell readers whether they need it now or can return to it later.
  • When changing headings, check for deep links: If you change a heading, check for deep links to that heading in other pages and update accordingly.

Structure

Organize content so readers can find the main path quickly and build knowledge in the right order.

  • BLUF: Start with an introduction explaining what to expect.
  • Headings: Use concise, descriptive headings in a logical hierarchy. When useful, name the reader's task, question, or problem rather than only the feature or mechanism.
  • Problem first: Explain the problem and when it matters before presenting the solution. Give readers enough context to decide whether the section is relevant to them.
  • Assumed knowledge: State prerequisites near the beginning and link to resources for knowledge that isn't common to the intended audience.
  • Concept pacing: Introduce one new concept at a time whenever possible in both prose and examples.
  • Front-loading: Start paragraphs and list items with the concept or action that helps readers decide whether the content is relevant.
  • Ordering: Present prerequisites before the concepts or tasks that depend on them. Teach high-value, low-effort concepts before advanced or niche ones.
  • Content types: Separate tutorials and examples from dense reference material when combining them makes either harder to scan.
  • Procedures:
    • Introduce lists of steps with a complete sentence.
    • Start each step with an imperative verb.
    • Number sequential steps; use bullets for non-sequential lists.
    • Put conditions before instructions (for example, "On the Settings page, click...").
    • Provide clear context for where the action takes place.
    • Indicate optional steps clearly (for example, "Optional: ...").
  • Progressive detail: Keep the primary path visible. Use links, collapsible sections, and callouts for supplementary information.
  • Scope: Cover the selected subject consistently and completely. If a page intentionally covers only part of a subject, state that limitation near the beginning and direct readers to the complete source.
  • Avoid using a table of contents: If a manually written table of contents is present, remove it (docs sites generate their own).
  • Next steps: Conclude with a "Next steps" section if applicable.

Content types

Match the depth and structure of a page to its purpose. Don't force every page into the same narrative shape.

  • Getting started: Give readers the shortest reliable path to initial value. Explain what the project solves, why they might use it, and where to continue.
  • Tutorials and guides: Build knowledge sequentially, declare prerequisites, and introduce complexity gradually. Keep optional detours from breaking the main learning path.
  • How-to guides: Focus on one practical outcome. Provide the conditions, steps, and verification needed to complete the task.
  • Reference: Cover the stated scope completely with a predictable, skimmable structure. Prefer concise entries over a continuous narrative.
  • Migration guides: State the source and target versions, explain why the behavior changed, and provide concrete migration steps.

Maintenance and discoverability

Treat documentation as part of the product: keep it near the implementation, easy to find, and safe to update.

  • Canonical sources: Accept necessary repetition between code and documentation, but avoid maintaining the same explanation in multiple docs sources. Link to the canonical explanation instead.
  • Code changes: Update documentation in the same change as the behavior it describes whenever possible.
  • Current content: Treat inaccurate documentation as a defect. Remove or correct stale content instead of preserving it for apparent completeness.
  • Version resilience: Avoid hard-coded versions, dates, generated output, and volatile implementation details unless they are essential. Clearly label version-specific instructions when they are necessary.
  • Discoverability: Check navigation, cross-links, entry points, and nearby pages so readers can find new or moved content from likely starting points.
  • Addressability: Prefer stable, descriptive headings and focused pages so readers can link directly to a specific concept or task.
  • Reader priorities: Cover likely reader questions before rare edge cases. Include edge cases when their impact or frequency justifies the extra detail.

Phase 2: Preparation

Before modifying any documentation, thoroughly investigate the request and the surrounding context.

  1. Clarify: Identify the intended reader, their goal, their prerequisites, and the scope of the change. Differentiate between writing new content and editing existing content. If the request is ambiguous (for example, "fix the docs"), ask for clarification.
  2. Investigate: Examine the relevant source code for accuracy. If the behavior is inconsistent or unusually difficult to explain, report the discrepancy instead of inventing a rationale or documenting around it.
  3. Audit: Read the latest versions of the relevant docs files.
  4. Connect: Identify all referencing pages if changing behavior. Check whether site navigation, cross-links, and likely entry points need updates (.navigation.yml files, numeric filename prefixes, or a sidebar config, depending on the project).
  5. Plan: Create a step-by-step plan for the smallest coherent change and its verification before editing.

Phase 3: Execution

Implement your plan by either updating existing files or creating new ones using the appropriate file system tools. Use targeted edits for small changes and full writes for new files or large rewrites.

Editing existing documentation

Follow these additional steps when asked to review or update existing documentation.

  • Gaps: Identify areas where the documentation is incomplete or no longer reflects existing code.
  • Structure: Apply the "Structure" rules when adding new sections to existing pages.
  • Headings: If you change a heading, check for links that lead to that heading and update them.
  • Tone: Ensure the tone is active and engaging. Use "you" and contractions.
  • Clarity: Correct awkward wording, spelling, and grammar. Rephrase sentences to make them easier for users to understand.
  • Consistency: Check for consistent terminology and style across all edited documents (see "One term, one meaning").
  • Duplication: Consolidate overlapping explanations or link to their canonical source when doing so doesn't disrupt the reader's task.

Phase 4: Verification and finalization

Perform a final quality check to ensure that all changes are correctly formatted and that all links are functional.

  1. Accuracy: Ensure content accurately reflects the implementation and technical behavior.
  2. Self-review: Re-read changes from the perspective of a reader who has only the stated prerequisites. Check formatting, correctness, mental effort, skimmability, and flow.
  3. Sentence check: Split sentences that exceed the "Sentence-level limits." Confirm that each concept uses one term across all edited files.
  4. Diagram check: Confirm that each diagram renders, matches the current code, uses the same terms as the prose, and has an introductory sentence.
  5. Coverage: Confirm the change fully covers its stated scope and answers the likely questions for its intended reader. Clearly disclose any intentional gaps.
  6. Link check: Verify all new and existing links leading to or from modified pages. If you changed a heading, ensure that any links that lead to it are updated.
  7. Format: If the project defines a format or lint command (check package.json scripts), ask to run it once all changes are complete. If the user confirms, execute the command.

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

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

Always use this skill when the task involves writing, reviewing, or editing files in the `/docs` directory or any `.md` files in the repository.

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

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/atinux/docster/tree/main. TypingMind đọc tệp SKILL.md 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 Docster?

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

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