dart-docs

dart-docs is a skill for Claude Code, Codex from pledgeandgrow/pledge-skills. It costs 333 tokens per session (2,167 once invoked), scanned A, original, MIT.

Reference documentation for Dart, a programming language used to build fast applications across platforms. It covers Dart 3.12 syntax, types, classes, asynchronous code, concurrency, and related language features.

In plain words
What is it for?
It helps with Dart variables, operators, collections, functions, classes, null safety, asynchronous programming, isolates, pattern matching, records, and error handling.
Why use it?
It gives an agent a structured source for answering Dart questions instead of relying on incomplete or outdated memory. It helps explain both basic language rules and newer features.

Skill for Claude CodeCodex

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

Good fit It helps with Dart variables, operators, collections, functions, classes, null safety, asynchronous programming, isolates, pattern matching, records, and error handling.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pledgeandgrow/pledge-skills/dart
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 pledgeandgrow/pledge-skills --skill dart
Clone the repo
git clone --depth 1 https://github.com/pledgeandgrow/pledge-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-docs

README.md
[![agentmods](https://agentmods.dev/badge/skills/pledgeandgrow/pledge-skills/dart/github.svg)](https://agentmods.dev/skills/pledgeandgrow/pledge-skills/dart)
Your own site
<a href="https://agentmods.dev/skills/pledgeandgrow/pledge-skills/dart"><img src="https://agentmods.dev/badge/skills/pledgeandgrow/pledge-skills/dart/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-docs

Your own site · 80×15
<a href="https://agentmods.dev/skills/pledgeandgrow/pledge-skills/dart"><img src="https://agentmods.dev/badge/skills/pledgeandgrow/pledge-skills/dart.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 333 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,167 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.
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.00333 $0.02167
Opus 5 $0.00167 $0.01084
Sonnet 5 $0.00067 $0.00433
Haiku 4.5 $0.00033 $0.00217

Measured 11d ago against content hash b4bf859c5523, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

dart-docs 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 11d 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.

skills/dart/SKILL.md · 129 lines

How it starts

The opening of the file, as written. The whole thing — 129 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Dart

Dart is a client-optimized language for fast apps on any platform. It is an object-oriented, class-based, garbage-collected language with C-style syntax. Dart supports sound null safety, asynchronous programming with Future and Stream, concurrency via isolates, pattern matching, records, and more. It compiles to native ARM/x64, JavaScript, and WebAssembly (WasmGC).

Specification: Dart 3.12 Documentation


Quick Reference

Topic File
Introduction (main, variables, control flow, comments, imports, classes) introduction.md
Comments (single-line, multi-line, documentation comments) comments.md
Variables (var, final, const, late, type inference, null) variables.md
Operators (arithmetic, equality, relational, type test, assignment, logical, bitwise, shift, conditional, cascade, spread) operators.md
Methods (instance methods, operators, getters/setters, abstract methods) methods.md
Metadata (annotations, @Deprecated, @override, @pragma, custom annotations) metadata.md
Built-in Types (int, double, String, bool, List, Set, Map, Runes, Symbol, null) built-in-types.md
Records (positional, named fields, type annotations, equality) records.md
Collections (lists, sets, maps, spread, collection-if, collection-for) collections.md
Generics (generic types, methods, bounds, variance) generics.md
Typedefs (type aliases, function type aliases) typedefs.md
Type System (sound typing, static checking, runtime checks, type inference) type-system.md
Patterns (matching, destructuring, pattern types, switch expressions) patterns.md
Pattern Types (logical-or, logical-and, relational, cast, null-check, null-assert, constant, variable, identifier, list, map, record, object) pattern-types.md
Control Flow (loops, branches, error handling) control-flow.md
Functions (parameters, named, optional, default, closures, generators, async) functions.md
Language Versioning (SDK constraints, per-file overrides, migration) language-versioning.md
Libraries & Imports (import, export, part, show/hide, deferred, privacy) libraries.md
Classes (instance variables, methods, static, abstract, implicit interfaces, noSuchMethod) classes.md
Constructors (generative, named, const, factory, redirecting, initializing formals, super) constructors.md
Primary Constructors (var/final declaring parameters, scoping, named, const, private named params) primary-constructors.md
Inheritance & Mixins (extends, override, super, mixins, mixin class, on clause) inheritance-mixins.md
Enums (simple, enhanced, with members, mixins, sealed) enums.md
Extension Methods & Types (extensions, extension types) extensions.md
Dot Shorthands (.foo syntax, context type inference, enum/static/constructor shorthands) dot-shorthands.md
Callable Objects (call() method, emulating functions) callable-objects.md
Class Modifiers (abstract, base, final, interface, sealed, mixin) class-modifiers.md
Concurrency (event loop, isolates, Isolate.run, message passing) concurrency.md
Isolates (Isolate.run, Isolate.spawn, ReceivePort, SendPort, web concurrency) isolates.md
Async Programming (Future, async/await, Stream, StreamController, zones) async.md
Using Streams (await for, listen, single-subscription, broadcast, error handling) using-streams.md
Futures & Error Handling (then, catchError, whenComplete, common pitfalls) futures-error-handling.md
Null Safety (non-nullable by default, ? type, ! operator, late, null checks) null-safety.md
Keywords (all reserved words, context-dependent keywords) keywords.md
Core Libraries (dart:core, dart:async, dart:math, dart:convert, dart:io, dart:js_interop) core-libraries.md
Iterable Collections (reading, filtering, mapping, lazy evaluation) iterable-collections.md
Creating Streams (async*, StreamController, StreamTransformer, broadcast) creating-streams.md
Effective Dart (style, documentation, usage, design best practices) effective-dart.md
Packages (pub, pubspec.yaml, dependencies, publishing, workspaces, hooks) packages.md
Development (server apps, web apps, Wasm, JSON serialization, Google Cloud) development.md
Interoperability (dart:ffi, C interop, JS interop, Objective-C/Swift, Java/Kotlin) interop.md
Tools (Dart SDK CLI, dart analyze, build, compile, format, test, DevTools, DartPad) tools.md
build_runner (code generation, builders, build/watch/serve/test commands) build-runner.md
Static Analysis (analysis_options.yaml, linter rules, diagnostics, analyzer plugins) static-analysis.md
Testing (unit, component, integration tests, dart test, test package) testing.md

Read the full file on GitHub · 129 lines

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. 11d ago First seen · 129 lines · 333 tokens per session scan A b4bf859c5523

Subscribe to this mod's changes

dart-docs is a skill published in the GitHub repository pledgeandgrow/pledge-skills (10 stars, last pushed 1mo ago), licensed MIT. It adds 333 tokens to every session and 2,167 once invoked, about $0.0017 per session on Opus 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-31.