dart-doc-validation

dart-doc-validation is a skill for Claude Code, Codex from kevmoo/dash_skills. It costs 26 tokens per session (756 once invoked), scanned A, original, Apache-2.0.

A guide for checking Dart documentation comments, including links to code, references, and reusable macros. Documentation comments are notes in source code that tools turn into API documentation.

In plain words
What is it for?
Writing or updating documentation comments, running dart doc, checking the comment_references lint, and preparing a Dart package for publication.
Why use it?
It catches broken references and undefined macros before Dart documentation is published, including to pub.dev, Dart’s package hosting site.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Writing or updating documentation comments, running dart doc, checking the comment_references lint, and preparing a Dart package for publication.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kevmoo/dash_skills/dart-doc-validation
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add kevmoo/dash_skills --skill dart-doc-validation
Clone the repo
git clone --depth 1 https://github.com/kevmoo/dash_skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for dart-doc-validation

README.md
[![agentmods](https://agentmods.dev/badge/skills/kevmoo/dash_skills/dart-doc-validation/github.svg)](https://agentmods.dev/skills/kevmoo/dash_skills/dart-doc-validation)
Your own site
<a href="https://agentmods.dev/skills/kevmoo/dash_skills/dart-doc-validation"><img src="https://agentmods.dev/badge/skills/kevmoo/dash_skills/dart-doc-validation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for dart-doc-validation

Your own site · 80×15
<a href="https://agentmods.dev/skills/kevmoo/dash_skills/dart-doc-validation"><img src="https://agentmods.dev/badge/skills/kevmoo/dash_skills/dart-doc-validation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 756 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00026 $0.00756
Opus 5.5 $0.00010 $0.00302
Sonnet 5.5 $0.00005 $0.00151
Haiku 4.5 $0.00003 $0.00076

Measured 2mo ago against content hash 762595e78d81, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dart-doc-validation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/dart-doc-validation/SKILL.md · 110 lines

What it actually says

Dart Doc Validation

1. When to use this skill

Use this skill when:

  • Writing or updating documentation comments (///) in Dart code.
  • Checking for broken documentation links, references, or macros.
  • Preparing a package for publishing to pub.dev.

When NOT to use (Abstention Guardrails)

Do NOT apply this skill or refactor doc comments when:

  • Illustrative Pseudo-Code & Non-Dart Code Fences: Comments contain pseudo-code, non-Dart language identifiers (e.g. yaml`, json, ````bash, ````text`), or abstract conceptual fragments intentionally not designed to compile as valid Dart.
  • Generated Code: Files generated by tools (e.g. *.g.dart, *.mocks.dart, *.freezed.dart) where comments are synthesized.
  • External Markdown Hyperlinks: Text in square brackets followed by a link target (e.g. [External Guide](https://...)), which is standard Markdown hyperlink syntax rather than an unresolved Dart doc reference.

Discovery

To find documentation issues:

Missing Lint

Verify if the comment_references lint is enabled:

  • Target: analysis_options.yaml
  • Search Query: comment_references

Automated Validation

Run the documentation generator to surface warnings:

  • Command: dart doc -o $(mktemp -d)
  • Keywords to look for: warning:, unresolved doc reference, undefined macro

2. Best Practices

Enable the doc validation lint

In your analysis_options.yaml, enable the comment_references lint.

linter:
  rules:
    - comment_references

Validating Documentation Locally

Use the dart doc command with a temporary output directory to validate documentation comments without polluting the local project workspace.

This command parses all documentation comments and reports warnings such as:

  • warning: unresolved doc reference
  • warning: undefined macro

Command to run:

dart doc -o $(mktemp -d)

This will work on Mac and Linux.

This ensures that the generated HTML files are stored in a temporary location and don't clutter the package directory, while still surfacing all validation warnings in the terminal output.

Browsing the docs:

Our docs use features designed to be run on a web server. If you want to browse the generated docs locally, install the dhttpd package.

dart install dhttpd
TMP_DIR=$(mktemp -d) && dart doc -o "$TMP_DIR" &&  dhttpd --path "$TMP_DIR"

(Or use another HTTP server, such as python3 -m http.server.)

Fixing Common Warnings

  • Unresolved doc reference: Ensure that any identifier wrapped in square brackets ([Identifier]) correctly points to an existing class, method, property, or parameter in the current scope or imported libraries.
  • Undefined macro: If using {@macro macro_name}, ensure that the template {@template macro_name} is defined in the same file or a file that is imported and visible to the documentation generator.
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · +18 lines 762595e78d81
  2. 3mo ago First seen · 92 lines · 26 tokens per session scan A a2f59ce425aa

Subscribe to this mod's changes

dart-doc-validation is a skill published in the GitHub repository kevmoo/dash_skills (149 stars, last pushed yesterday), licensed Apache-2.0. It adds 26 tokens to every session and 756 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

dart-doc-validation compared with skills from other repositories

dart-doc-validation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dart-doc-validationkevmoo/dash_skillsSkill149yesterdayApache-2.0A26Claude Code, Codex
at-telemetry-app-eventsatsign-foundation/at_client_sdkSkill1.4ktodayBSD-3-ClauseA121Claude Code, Codex
flutterericrisco/rsc-harnessSkill701todayMITA91Claude Code, Codex
flutter-pre-cachingevanca/flutter-ai-rulesSkill67820d agoMITA36Claude Code
flutter-mcp-toolkit-controlArenukvern/mcp_flutterSkill4016d agoMITA38Claude Code
flutter-mcp-toolkit-repo-maintainerArenukvern/mcp_flutterSkill4016d agoMITA71Claude Code
flutter-mcp-e2e-harnessArenukvern/mcp_flutterSkill4016d agoMITA117Claude Code, Codex