dart-documentation

Installation
SKILL.md

Documenting Dart Code

Contents

Core Principles

  • Use /// exclusively: Document members and types using ///. Never use /** ... */ block comments for documentation.
  • Use // for internal comments: Use standard // comments for implementation details that should not appear in generated public documentation.
  • Format as sentences: Capitalize the first word (unless it is a case-sensitive identifier) and end with a period.
  • Prefer brevity: Be clear, precise, and terse. Avoid redundant information that can be inferred from the method signature or class name.
  • Use Markdown: Utilize standard Markdown for formatting. Prefer backtick fences (```) for code blocks over indentation. Avoid HTML tags.

Formatting Doc Comments

Installs
66
GitHub Stars
358
First Seen
Mar 17, 2026
dart-documentation — dart-lang/skills