Skip to main content

writing-docs

Doc conventions (impersonal style, formatting, Vitest in examples, structure, linking). Use when writing, editing, or reviewing guides, tutorials, or READMEs.

来源信息

仓库
ngrx/platform
最近来源活动
2026年3月6日 14:54
检测到的 SKILL.md 语言
英语
星标
8,340
分支
2,032

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
writing-docs
description
Doc conventions (impersonal style, formatting, Vitest in examples, structure, linking). Use when writing, editing, or reviewing guides, tutorials, or READMEs.
# Writing Documentation Apply when writing, editing, or reviewing docs. ## Voice and style - **Impersonal:** No "you", "your", or second-person imperatives. - **Statements over imperatives:** Prefer "Tests should not spy" over "Avoid spying"; passive or descriptive phrasing. - **Titles:** Gerunds, not imperatives (e.g. "Testing the store" not "Test the store"). - **Tone:** Direct and minimal; every sentence adds information. ## Formatting - **Dashes:** Space-hyphen-space (`-`), not em dash (`—`). - **Paragraphs:** Merge single-sentence paragraphs when it helps readability. ## Code examples - **Examples:** Simple, self-contained (e.g. Counter, Books). Short snippets; shorten or link out long async flows unless the topic is async. ## Structure and navigation - **Section titles:** Accurate and scannable. - **Links over repetition:** Link to other guides; explain only what is specific to this page.
在 GitHub 查看