id: "dart-write-documentation"
kind: "skill"
name: "dart-write-documentation"
title: "Dart Write Documentation"
description: "Rules and formatting guidelines for writing Dart /// API documentation and doc comments. Use when documenting Dart code, writing doc comments for any Dart declaration (libraries, classes, methods, variables, etc.), or when instructed to follow the Effective Dart documentation guidelines."
category: "documentation"
source:
  repository: "dart-lang/skills"
  path: "skills/dart-write-documentation/SKILL.md"
  commit: "f84b16872b5d186f4e877511b49b93c204a1c4ef"
  url: "https://github.com/dart-lang/skills/tree/f84b16872b5d186f4e877511b49b93c204a1c4ef/skills/dart-write-documentation"
license:
  spdx: "BSD-3-Clause"
  from: "repository"
  redistributable: true
stars: 560
updated_at: "2026-11-16T22:26:36Z"
score: 0.8768
rank: 55
files_count: 1
bytes: 6727
has_scripts: false
trust_level: "unreviewed"
reviewed_by: "eval-v1"
source_tier: "official"
eval:
  version: "eval-v1"
  date: "2026-11-21T10:58:36Z"
  model: "claude-sonnet-5-5"
  score: 0.8768
  signals:
    tier: 1.0
    rubric: 1.0
    judge: 0.8633
    smoke: "not_run"
    popularity: 0.506
  rubric:
    score: 1.0
    trigger: 1.0
    scope: 1.0
    safety: 1.0
    injection: 1.0
    references: 1.0
    license: 1.0
    risky: []
    broken_references: []
  judge:
    trigger: 5
    scope: 5
    instructions: 4
    safety: 5
    injection: 5
    references: 5
    overall: 8
    verdict: "feature"
    rationale: "The description is specific about when to load the skill. The scope is a single job: Dart doc comments. The rules are concrete and cover details a model might miss: the `.new` constructor link, `@docImport`, annotation placement, documenting only the getter of a getter/setter pair, and no Javadoc tags. Bad/good examples are included, and verification uses dart analyze. There is nothing risky, no injection and no external references. One minor flaw: the second-to-last example's `@docImport` placement is slightly off, since it should be a `///` comment before `library;`."
  smoke:
    status: "not_run"
requires:
  tools: []
  runtimes: []
  network: false
  mcp: []
compat:
  - client: "claude-code"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "codex-cli"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "cursor"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "gemini-cli"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "vscode-copilot"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "opencode"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "claude-desktop"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "chat-mcp"
    status: "full"
    reasons: ["ok"]
    source: "derived"
files:
  - path: "SKILL.md"
    bytes: 6727
    sha256: "0629abbb9e0c0bb9aee2237b6617600a01499015bb4484a20b81ee96857d67ef"
    url: "https://raw.githubusercontent.com/dart-lang/skills/f84b16872b5d186f4e877511b49b93c204a1c4ef/skills/dart-write-documentation/SKILL.md"
alternates:
  - name: "dart-write-documentation"
    repository: "flutter/agent-plugins"
    path: "skills/dart-write-documentation/SKILL.md"
    commit: "ff6d472ee66dbed566c4500edee460c94fde0a02"
    url: "https://github.com/flutter/agent-plugins/tree/ff6d472ee66dbed566c4500edee460c94fde0a02/skills/dart-write-documentation"
    license: "BSD-3-Clause"
    stars: 3199
    score: 0.7476
    similarity: 1.0
    reason: "identical content"
icon: "https://versatile.sh/avatars/dart-lang.png"
