Google Devdocs Style 标志

Google Devdocs Style

组织热门
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.

概览

发布者EpicenterHQ
代码仓库epicenter
技能名称google-devdocs-style
星标数
4.8K
复刻数
386
附带文件
3
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 3 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 EpicenterHQ 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Google Devdocs Style AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/EpicenterHQ/epicenter/tree/main/.agents/skills/google-devdocs-style
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Google Devdocs Style,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Google Devdocs Style。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Google Devdocs Style 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Google Devdocs Style AI 技能有什么作用?

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.

为什么在 TypingMind 中使用 Google Devdocs Style?

因为您只需安装一次,就能搭配任何模型使用。Google Devdocs Style 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Google Devdocs Style?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/EpicenterHQ/epicenter/tree/main/.agents/skills/google-devdocs-style。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Google Devdocs Style?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Google Devdocs Style 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Google Devdocs Style 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Google Devdocs Style AI 技能免费吗?

EpicenterHQ 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇