agentleFS
RandalSchwartzRandalSchwartz/dart-sdk-skills/AGENTS.md

dart-sdk-skills

AGENTS.md34 starsChanged 3 months agoMITView on GitHub

Welcome, agent! This document defines the maintenance constitution, update runbooks, and quality standards for the dart-sdk-skills repository. This repository provides authoritative, version-by-version agent skills for both the Dart SDK and the Flutter SDK: 1. skills/dart-sdk-changelog: Language features, core library APIs, minSdk verification, experimental flags, macros/augmentations, and legacy Dart modernization. 2. skills/flutter-sdk-changelog: Widget deprecations, API replacements, Material 3 migrations, and legacy Flutter app rescue. Whenever a new Dart SDK version (for example 3.15.0, 3.16.0, 4.0.0) is released: 1. Source Upstream: Fetch…

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.

    Of the AGENTS.md files we read, the 31,439 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository2 other files it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

11 rules. About 0 are common, 1 is distinctive, and 10 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 10

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run dart compile exe --help -v to inspect all active --enable-experiment flags.

    line 20
  2. Very specific:

    If any experimental flag graduated to stable in this release (for example variance or macros), move it from active experiments to the …

    line 21
  3. Distinctive:

    Add any newly introduced experimental flags to the active matrix with syntax examples.

    line 22
  4. Very specific:

    Author Version Guide: Create skills/dart-sdk-changelog/references/whats-new-in-dart-X-Y.md with side-by-side Before/After code snippets.

    line 23
  5. Very specific:

    Update Matrices: Update skills/dart-sdk-changelog/SKILL.md, version-matrix.md, and README.md.

    line 24
  6. Very specific:

    Update Version Matrix: Add the release row to skills/flutter-sdk-changelog/references/flutter-to-dart-version-matrix.md with bundled Dart …

    line 35
  7. Very specific:

    Document Widget Deprecations: Add newly deprecated widgets/methods to …

    line 36
  8. Very specific:

    Update Fast Replacement Tables: Update skills/flutter-sdk-changelog/SKILL.md and README.md.

    line 37
  9. Very specific:

    Phrasing Standard: Never use abbreviations e.g.

    line 44
  10. Very specific:

    Run dart run tool/update_skills_index.dart after modifying any SKILL.md to refresh skills-lock.json and computed SHA-256 hashes.

    line 47
  11. Very specific:

    Run dart test and dart analyze --fatal-infos to verify that all links, YAML frontmatters, and style constraints pass quality gates.

    line 48

≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

AI Agent Developer Handbook (AGENTS.md)

Welcome, agent! This document defines the maintenance constitution, update runbooks, and quality standards for the dart-sdk-skills repository.


🎯 Repository Purpose

This repository provides authoritative, version-by-version agent skills for both the Dart SDK and the Flutter SDK:

  1. skills/dart-sdk-changelog: Language features, core library APIs, minSdk verification, experimental flags, macros/augmentations, and legacy Dart modernization.
  2. skills/flutter-sdk-changelog: Widget deprecations, API replacements, Material 3 migrations, and legacy Flutter app rescue.

🔄 Runbook 1: Updating for New Dart SDK Releases

Whenever a new Dart SDK version (for example 3.15.0, 3.16.0, 4.0.0) is released:

  1. Source Upstream: Fetch https://raw.githubusercontent.com/dart-lang/sdk/main/CHANGELOG.md.
  2. Audit Experimental Flags:
    • Run dart compile exe --help -v to inspect all active --enable-experiment flags.
    • If any experimental flag graduated to stable in this release (for example variance or macros), move it from active experiments to the Graduated Stable Matrix in skills/dart-sdk-changelog/references/experimental-features-guide.md.
    • Add any newly introduced experimental flags to the active matrix with syntax examples.
  3. Author Version Guide: Create skills/dart-sdk-changelog/references/whats-new-in-dart-X-Y.md with side-by-side Before/After code snippets.
  4. Update Matrices: Update skills/dart-sdk-changelog/SKILL.md, version-matrix.md, and README.md.

🔄 Runbook 2: Updating for New Flutter Framework Releases

Whenever a new Flutter version (for example 3.47.0, 3.50.0, 4.0.0) is released:

  1. Source Upstream:
    • Query the official Google Cloud Storage archive manifest at https://storage.googleapis.com/flutter_infra_release/releases/releases_linux.json (or https://flutterreleases.com/releases.json) to confirm the exact canonical Flutter version, release date, and bundled Dart SDK version.
    • For major .0 feature releases, inspect release notes and framework deprecations at https://docs.flutter.dev/release/release-notes.
    • For hotfix or patch releases (for example 3.47.6), inspect the changelog anchor at https://github.com/flutter/flutter/blob/stable/CHANGELOG.md.
  2. Update Version Matrix: Add the release row to skills/flutter-sdk-changelog/references/flutter-to-dart-version-matrix.md with bundled Dart SDK and engine milestones.
  3. Document Widget Deprecations: Add newly deprecated widgets/methods to skills/flutter-sdk-changelog/references/widget-deprecations-and-replacements.md.
  4. Update Fast Replacement Tables: Update skills/flutter-sdk-changelog/SKILL.md and README.md.

📏 Quality & Style Guidelines

  1. Precision: All minSdk and Flutter version numbers must reflect official release changelogs accurately.
  2. Phrasing Standard: Never use abbreviations e.g. (use "for example") or i.e. (use "that is").
  3. Code Examples: Provide runnable, modern, and idiomatic Dart & Flutter code snippets demonstrating new syntax and widgets.
  4. Verification & Indexing:
    • Run dart run tool/update_skills_index.dart after modifying any SKILL.md to refresh skills-lock.json and computed SHA-256 hashes.
    • Run dart test and dart analyze --fatal-infos to verify that all links, YAML frontmatters, and style constraints pass quality gates.
  5. Action-Oriented Skill Triggers: When authoring or editing SKILL.md frontmatter descriptions, always use action-oriented, imperative coding triggers (for example "authoring or refactoring code", "inspecting pubspec.yaml sdk constraints", "writing control flow", "handling deprecated widgets") rather than passive conversational FAQ triggers (such as "whenever the user asks 'what's new in...'"). This guarantees autonomous agent routers activate the skill during proactive code generation.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.