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.

Datos de origen

Repositorio
ngrx/platform
Última actividad en el origen
6 de marzo de 2026 a las 14:54
Idioma detectado de SKILL.md
inglés
Estrellas
8341
Forks
2032

Opciones de instalación

De forma predeterminada está seleccionado el prompt que primero revisa el origen. Puedes cambiar a un comando directo o descargar una copia local.

Revisa los archivos de origen

Lee SKILL.md y los archivos complementarios que muestra SkillsMP antes de decidir si quieres instalarlo.

Mostrando SKILL.md

SKILL.md
Instrucciones de origen · Vista previa de solo lectura
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.
Ver en GitHub