flutter/samples
GitHubA collection of Flutter examples and demos
- Stars:
- 19.3k
- Language:
- Dart
- Default branch:
- main
- Last scored:
At a glance
- Rank
- #346 of 401
- #6 of 7 Dart repos
- Checks passed
- 6 of 17
- Full list below
- Best set up for
- Aider
- Score 56.3
- Needs most work for
- Cursor
- Biggest fix: Cursor rules (.cursor/rules) (+11.5 pts)
What it has
What it's missing
What to fix first
Showing fixes for Claude Code
- 1AGENTS.md / CLAUDE.mdAdd an AGENTS.md covering project goals, layout, setup commands, and conventions. Aim for 800+ chars of real guidance (not boilerplate).+13.2 pts
- 2Reproducible dev envAdd a Makefile or devcontainer or Dockerfile so the agent can set up the project in one command.+11.8 pts
- 3Type configurationAdd a type config (tsconfig.json for JS/TS, mypy.ini or pyrightconfig.json for Python). Rust/Go/JVM/Scala/Swift/C#/OCaml/Haskell/Zig are typed by default.+7.9 pts
Score for each AI agent
Each agent weighs the checks by its own docs. Under each score are its top three. How each agent is scored →
Does flutter/samples have agent instructions?
An AGENTS.md (or CLAUDE.md) at the root tells AI coding agents how to build, test and work in the repo. A few agents also read a file of their own.
- AGENTS.md / CLAUDE.md
- None at the root (no AGENTS.md, CLAUDE.md, AGENT.md, .claude/CLAUDE.md or .claude/AGENTS.md)
- Agent-specific files
- None: no GEMINI.md, .cursor/rules, .openhands/setup.sh, .aider.conf.yml or .agents/skills
- Repos that have one
- 1 of 7 Dart repos · 221 of 401 repos on the leaderboard · See examples →
Get a starter AGENTS.md
From the files the checks found. Fill in the commands, then commit it at the root.
# AGENTS.md
Guidance for AI coding agents working in flutter/samples. A collection of Flutter examples and demos. Written mainly in Dart.
## Where things are
- Dependencies are declared in `pubspec.yaml`.
- Test files are spread through the tree, e.g. `android_splash_screen/test/widget_test.dart`.
- Lint and format rules are configured in `analysis_options.yaml`.
- CI is defined in `.github/workflows`; read it for the exact install, lint and test steps.
- Follow the conventions in `CONTRIBUTING.md`.
## Commands
<!-- Fill in the exact commands CI runs. -->
- Install: TODO
- Test: TODO
- Lint: TODO
All 17 checks · 6 passed
How flutter/samples compares
- vs leaderboard average
- 13.7 pts below
- Average 66.8
- vs Dart average
- 2.9 pts below
- Average 56.0
- Stars among Dart repos
- #3 of 7
Missing here, and how many repos have it
- Type configuration · passed by 68% of leaderboard repos, 14% of Dart repos
- Pre-commit / git hooks · passed by 29% of leaderboard repos, 0% of Dart repos
- Reproducible dev env · passed by 22% of leaderboard repos, 0% of Dart repos
One fix for the most agents: AGENTS.md / CLAUDE.md would raise the score for all 9 agents, by up to 13.3 points.
Similar repos
Same language and host as this repo, closest in overall score.
- Dart · 97.3k ★
- dart-lang/sdk58.3Dart · 11.3k ★
- flutter/flutter55.0Dart · 181k ★
- Dart · 3.3k ★
- flutter/ai54.5Dart · 297 ★
- Dart · 7.4k ★
Add a badge to your README
Paste this at the top of the README. It shows the score, and links back to this page.
[](https://agentfriendlycode.com/repo/github/flutter/samples)Check the score on every pull request
A GitHub Action posts one comment per pull request with how the score changed and why.