mcp_flutter
AGENTS.md401 starsChanged 5 days agoMITView on GitHub
For using the toolkit on a Flutter app, read llms.txt and docs/quickstart.mdx. This file is for agents changing this repository. Never edit pubspec_overrides.yaml. Do not weaken test assertions. Flutter captures use the app render pipeline over the VM service — they work with the window in the background. Prefer fmt_get_screenshots / harness shot.dart over macOS screen recording for Flutter UI proof. Consumer only — architecture lives in upstream IntentCall. See docs/intentcall/README.md and hosted dependency gates in make check-contracts. steward doctor…
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 33,398 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 repository35 other files it gives its agents.
- .cursor/rules/app_architecture.guide.mdcCursor rule
- .cursor/rules/ask_file_by_file_actions.mdcCursor rule
- .cursor/rules/ask_follow_up.mdcCursor rule
- .cursor/rules/ask_step_by_step_plan.mdcCursor rule
- .cursor/rules/command_resource.pattern.mdCursor rule
- .cursor/rules/create_test_rule.mdcCursor rule
- .cursor/rules/dart_dev.mdcCursor rule
- .cursor/rules/dart_doc.mdcCursor rule
- .cursor/rules/dart_extension_type_const_models.mdcCursor rule
- .cursor/rules/faq_usage.mdcCursor rule
- .cursor/rules/flutter_ui_dev.mdcCursor rule
- .cursor/rules/key_design_decisions.mdcCursor rule
- .cursor/rules/mermaid_rule.mdcCursor rule
- .cursor/rules/steward.mdcCursor rule
- .cursor/rules/test_guide.mdcCursor rule
- .cursor/rules/test_use_tdd.mdcCursor rule
- .cursor/rules/think_hard.mdcCursor rule
- .cursor/rules/training.mdcCursor rule
- .cursor/rules/typescript.mdcCursor rule
- .cursor/rules/writing_code_protocol.mdcCursor rule
- docs/llms.txtllms.txt
- llms.txtllms.txt
- flutter-mcp-automation-chainSkill
- flutter-mcp-e2e-harnessSkill
- flutter-mcp-toolkit-guideSkill
- harness-engineering-lifecycleSkill
- mcp-harness-repo-maintainerSkill
- mixture-of-expertsSkill
- multi-agent-handoffSkill
- plugin-marketplace-setupSkill
- release-changelog-harnessSkill
- repository-governance-lifecycleSkill
- skill-authoring-lifecycleSkill
- skill-eval-improveSkill
- skill-source-citationsSkill
The file
We split this AGENTS.md into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 47
Never edit pubspec_overrides.yaml.
- Very specific: line 62
Run make docs-reference when tools/CLI help change.
≈ “Common” is an estimate: at least 1 in 5 of the 43,423 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.
Files
Agent guide — editing mcp_flutter
For using the toolkit on a Flutter app, read llms.txt and docs/quickstart.mdx. This file is for agents changing this repository.
Documentation router
| Need | Canonical owner |
| Charter / scope | docs/NORTH_STAR.mdx |
| Why (compressed) | docs/DESIGN_FAQ.mdx + decisions/ |
| How (contributor + agent) | docs/DX_FAQ.mdx |
| Which FAQ to read | .cursor/rules/faq_usage.mdc |
| User onboarding | docs/quickstart.mdx, docs/index.mdx |
Repo map
| Path | Purpose |
mcp_server_dart/ | MCP server + CLI (flutter-mcp-toolkit, flutter-mcp-toolkit-server) |
mcp_toolkit/ | Flutter app package (pub.dev) |
packages/core | Shared MCP types |
packages/server_capability_kernel, packages/server_capability_core | fmt_* capability implementations |
packages/harness/ | flutter_mcp_harness automation |
plugin/skills/ | Source skills → skill_assets.g.dart |
docs/ | docs.page site |
maintainers/ | Evidence, superpowers plans (not user onboarding) |
tool/contracts/ | CI contract scripts |
Build / test / check
make install # mcp_server_dart deps
make build # compile server/CLI
make check-contracts # full gate (needs flutter + steward)
make sync-skills # regenerate skill_assets.g.dart
make docs-reference # regenerate docs/reference/*.mdxFocused:
cd mcp_server_dart && flutter pub get && dart test
dart analyze packages/harness && cd packages/harness && dart test
steward probe --json --profile quickNever edit pubspec_overrides.yaml. Do not weaken test assertions.
Runtime evidence (Flutter UI)
Flutter captures use the app render pipeline over the VM service — they work with the window in the background. Prefer fmt_get_screenshots / harness shot.dart over macOS screen recording for Flutter UI proof.
| Need | Use |
| Screenshot / UI state | MCP fmt_get_screenshots or packages/harness/tool/shot.dart |
| Repeatable E2E | skill flutter-mcp-e2e-harness |
| Web build | CDP tier in automation chain |
Docs invariants
- No hard-coded MCP tool counts in prose — only in generated
docs/reference/. - Run
make docs-referencewhen tools/CLI help change. check_no_hardcoded_tool_counts.shenforces the rule.
IntentCall boundary
Consumer only — architecture lives in upstream IntentCall. See docs/intentcall/README.md and hosted dependency gates in make check-contracts.
Skill Steward
steward doctor --json → steward probe --json --profile quick before complex automation. Inspect actions with steward action inspect <id> --json.
GitNexus (if available)
Index: node .gitnexus/run.cjs analyze. Before editing symbols: impact({target, direction: "upstream"}). Before commit: detect_changes(). Skills under .claude/skills/gitnexus/.
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
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.

