dart-doc-validation — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited dart-doc-validation (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Use this skill when:
///) in Dart code.To find documentation issues:
Verify if the comment_references lint is enabled:
analysis_options.yamlcomment_referencesRun the documentation generator to surface warnings:
dart doc -o $(mktemp -d)warning:, unresolved doc reference,undefined macro
In your analysis_options.yaml, enable the comment_references lint.
linter:
rules:
- comment_referencesUse 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 referencewarning: undefined macroCommand 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.
pub global activate 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`.)
brackets ([Identifier]) correctly points to an existing class, method, property, or parameter in the current scope or imported libraries.
{@macro macro_name}, ensure that thetemplate {@template macro_name} is defined in the same file or a file that is imported and visible to the documentation generator.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.