Logo Google Devdocs Style

Google Devdocs Style

Tổ chứcPhổ biến
EpicenterHQ
google-devdocs-style

Write and review developer documentation in Google Developer Documentation Style. Use when drafting guides, API reference, READMEs, procedures, or release notes, not UI strings, commit messages, PR bodies, or code comments.

Tổng quan

Nhà phát hànhEpicenterHQ
Kho mãepicenter
Tên kỹ nănggoogle-devdocs-style
Sao
4.8K
Bản fork
386
Tệp đi kèm
3
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ộ.

  • 3 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 EpicenterHQ 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 Google Devdocs Style 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/EpicenterHQ/epicenter/tree/main/.agents/skills/google-devdocs-style
  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/EpicenterHQ/epicenter.git /tmp/epicenter
mkdir -p .claude/skills
cp -r /tmp/epicenter/.agents/skills/google-devdocs-style .claude/skills/google-devdocs-style
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 Google Devdocs Style 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 Google Devdocs Style 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 Google Devdocs Style 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.

Produce documentation a developer can act on without rereading: the reader knows who does what, in what order, and what happens next. This skill applies the Google Developer Documentation Style Guide (developers.google.com/style). It is prescriptive by design. Recommend one path rather than listing every option.

Precedence

When sources conflict, follow this order:

  1. The user's explicit request and the destination's requirements.
  2. Source facts: quotations, code, commands, filenames, API names, UI labels, product names, and version numbers stay exact even when a style rule would prefer something else.
  3. Project style. In this repo, AGENTS.md wins. It bans em dash (U+2014) and en dash (U+2013) characters, so use a colon, comma, semicolon, parenthesis, or sentence break, even though Google permits the em dash.
  4. The rules in this file.
  5. references/ and then the live guide.

Depart from a rule when doing so serves the actual reader. Stay consistent afterward.

Fidelity comes first

Read this before the style rules, because it constrains all of them. A style fix that changes what the document claims is a worse outcome than the defect it removed.

Preserve the author's certainty. may, might, can, should, and will each carry a different level of confidence. "Results may vary" is a hedge about possibility; "Results vary" asserts that they do. Never drop or strengthen a modal to tighten a sentence.

Preserve every qualification. Scope, sample size, region, version, and "not tested above X" survive rewriting intact. A benchmark's conditions are part of the claim, not padding around it.

Replace the link text, not the link. Fixing "click here" means rewriting the anchor text and keeping the destination. An output with no link is a regression on the reader's actual task.

A replacement is a direction, not a string to paste. The word list tells you what is wrong and where to aim. It does not supply finished wording. When a banned term names a specific product feature ("run the sanity check"), rename that feature neutrally and keep the definite reference. Do not paraphrase what you imagine it does: inventing "a final check of your configuration for completeness" fabricates product behavior and leaves the reader unable to identify which check to run.

Invent nothing. No page titles, no flag semantics, no error screens, no prerequisites, no acronym expansions, no recovery procedures. If the source does not supply it, the gap is a finding to report, not a blank to fill.

The rules that carry the most weight

Ordered by how often they get broken.

Put the condition before the instruction. The reader can skip an instruction that does not apply to them. Write "To delete the document, click Delete", not "Click Delete to delete the document". Write "For more information, see X", not "See X for more information".

Address the reader as you, and use the imperative for steps. Reserve "we" for the organization speaking ("We recommend"). Never use "we" to mean the reader.

Name the actor and use active voice. "The server sends an acknowledgment", not "an acknowledgment is sent". Passive is fine when the actor is irrelevant, the object is the point, or naming the actor would blame the reader ("Over 50 conflicts were found").

Use present tense. Reserve "will" for something that genuinely happens later. Replace hypothetical "would" with a conditional: "If you send an unsubscribe message, the server removes you from the list."

Say required, recommended, or optional. Do not lean on should. Use "must" or a bare imperative for required, "We recommend" for recommended, "can" for optional, and "might" for a possible outcome. The word list allows "should" for an expected action or advisable state, but in prescriptive text it reads as ambiguous.

Cut excessive claims. Delete "easy", "simple", "simply", "just", "quickly", "seamless". Avoid "best", "fastest", "always", "never", "ensure", "guarantee", and unqualified "secure". Describe what the thing does instead, or write "helps prevent".

Keep it timeless. Delete "currently", "now", "new", "soon", "latest", "as of this writing", "does not yet". If newness matters, name the date or version. Release notes, blog posts, and announcements are exempt, and the exemption is not optional: keep "now available", "new", and "this release" in them. Announcing something is the whole job of that genre, and a release note whose lead reads "X is available" has been flattened into a reference page.

Sentence case for every heading and title. A task heading starts with a bare imperative verb ("Create an instance"). A concept heading is a noun phrase ("Migration to Google Cloud"). Do not open a heading with an -ing form. One h1 per page, no skipped levels, no links inside headings.

Write link text that stands alone. Use the target's title or a descriptive phrase with the key words first. Give a cross-reference its own sentence: "For more information about quotas, see X." Never "click here", "this document", "read more", or a bare URL.

Split code font from bold. Code font for anything typed or returned verbatim: commands, filenames, paths, class and method names, environment variables, HTTP status codes, ports, query parameters, console output. Bold for visible UI labels, matching their capitalization. Never inflect a code element as if it were an English word: write "send a POST request", not "POST the data"; write "the ADDRESS constant's value", not "ADDRESS's value".

Format placeholders as UPPER_SNAKE_CASE with no MY_ or YOUR_ prefix, then explain each one after the code block. For one, write "Replace PROJECT_ID with ...". For several, write "Replace the following:" and list them in the order they appear. Google italicizes placeholders, but in Markdown *NAME* nests emphasis around a code span and many renderers emit literal asterisks; plain code font is the safer choice unless you know the renderer handles it.

Match the list type to the content. Numbered for a sequence, bulleted for unordered parallel items, description list for term and definition pairs. Introduce every list and table with a complete sentence. Keep items grammatically parallel. Never write a list of one item. Drop "etc." and "and so on"; say what the list leaves out.

Write procedures as one action per step. Prefix a nonrequired step with Optional:. State the action, then the result, in that order. Format a single-step procedure as a bullet, not as step 1. Skip "please", and skip "run the following command" when you can say what the command accomplishes.

Write for readers whose first language is not English. No idioms, no humor, no culture-specific or seasonal references. Keep the relative pronoun ("the rules that you defined"). Replace an ambiguous "it" with the noun. Use one term for one concept throughout.

Write accessibly and inclusively. No directional language ("above", "below", "on the right"); use "preceding" and "following", or a label. Never carry meaning by color or position alone, and watch for this in status indicators specifically: "the status turns green" and "Green: ready / Red: failed" both fail, because bolding the word Green is not a second cue. Name the text label, icon, or state word that appears alongside the color. Give every meaningful image alt text under 155 characters, and use alt="" for decorative ones. Use allowlist and blocklist, not whitelist and blacklist. Drop "sanity check", "dummy", "crazy", "kill", "abort", and "hit".

Do not anthropomorphize. "The PC detects a new device", not "sees". "A Delimiter object specifies where to split a string", not "tells the splitter".

Mechanics. Serial comma. American spelling. Spell out zero through nine in prose, numerals for 10 and up and for all technical quantities, versions, and percentages. "January 19, 2026" in prose, or 2026-01-19 when a numeric format is required. "For example" and "that is", never "e.g." and "i.e.". Spell out "and" instead of "&".

Draft or revise

  1. Name the reader, their goal, the artifact type, and whether the job is to draft, revise, or audit.
  2. Mark what must not drift: facts, qualifications, quoted language, code tokens, UI labels, links, and required structure.
  3. Put the outcome or purpose first, in the document, in each section, and in each paragraph. One idea per paragraph.
  4. Draft against the rules above.
  5. Look up anything specific in references/.
  6. Run the checklist.

Look it up

  • references/rules.md: the full derived rule set by category. Read it when the artifact involves procedures, code samples, command-line syntax, UI instructions, tables, images, API reference text, or a line-level audit.
  • references/word-list.md: banned words, mandated replacements, and usage restrictions. Read it when you are unsure about a specific word.
  • references/official-pages.md: an index of live guide pages. Fetch the relevant page for a disputed word, a specialized format, or an explicit compliance request.

The references are a synthesis, not a reproduction. If you have not checked the live guide, do not claim full compliance with it.

Before you finish

  • Does the opening answer the reader's main question?
  • Does every instruction name or clearly imply the actor?
  • Does every condition appear before the action it governs?
  • Does every pronoun have one unmistakable referent?
  • Is every heading sentence case, and does every link make sense out of context?
  • Are code tokens, UI labels, and product names still exact?
  • Are the claims verifiable and free of time anchors?
  • Would a reader with limited English get it on the first pass?

Then run the fidelity pass, comparing against the source line by line:

  • Does every modal (may, might, can, will) still carry its original strength?
  • Does every qualification, limit, and number survive?
  • Does every link that had a destination still have one?
  • Is there a single sentence you wrote that the source does not support? Delete it.

What this skill does not do

  • Do not rewrite when the user asked for an audit. Report findings in priority order with bounded examples, and hand back the questions only the product owner can answer rather than guessing at wording.
  • Do not push documentation conventions onto quotations, code, legal text, or a deliberately personal voice.
  • Do not flatten prose into a robot's cadence. Prefer the clearest accurate term, including a technical one.

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 Google Devdocs Style làm được gì?

Write and review developer documentation in Google Developer Documentation Style. Use when drafting guides, API reference, READMEs, procedures, or release notes, not UI strings, commit messages, PR bodies, or code comments.

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

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/EpicenterHQ/epicenter/tree/main/.agents/skills/google-devdocs-style. 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 Google Devdocs Style?

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

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