flutter-mcp-toolkit-guide
Skill401 starsChanged 8 days agoMITView on GitHub
Entry point for inspecting or driving a running Flutter app from your AI assistant — routes to the right task skill (inspect / control / debug / custom app surfaces) and runs preflight.
In this repository35 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .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
- 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 skill into the rules it gives an agent
7 rules. About 0 are common, 2 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Use this skill when the user wants to inspect or drive a running Flutter app from this conversation.
- Distinctive: line 17
If the user is asking about Flutter concepts unrelated to a running app (architecture questions, package selection), this skill does not …
- Very specific: line 22
Always run flutter-mcp-toolkit doctor --json first.
- Very specific: line 53
If the task spans more than one (e.g.
- Very specific: line 78
Dynamic registry (app-defined): after registration in the Flutter app, MCP calls use fmt_list_client_tools_and_resources, then …
- Very specific: line 84
Boundary/proof maintenance: use flutter-mcp-boundary-audit before changing catalog/schema/registry surfaces.
- Very specific: line 96
If doctor is green but a tool call fails, read the returned error.code and error.recovery fields.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill 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
<!-- Vendored copy of plugin/skills/flutter-mcp-toolkit-guide/SKILL.md (source of truth). Regenerate via `flutter-mcp-toolkit init zcode`. -->When to use
Use this skill when the user wants to inspect or drive a running Flutter app from this conversation. Examples:
- "Tap the login button in my app"
- "Why is the home screen blank?"
- "Take a screenshot and tell me what's broken"
- "Expose my cart / flags / internal state to the agent via MCP"
If the user is asking about Flutter concepts unrelated to a running app (architecture questions, package selection), this skill does not apply.
Step 1: Preflight
Always run flutter-mcp-toolkit doctor --json first. Parse the output:
status: "ok"— proceed to Step 2.status: "error"anderror.code: "binary_not_found"— loadflutter-mcp-toolkit-setupand follow its install instructions.status: "error"anderror.code: "vm_not_connected"— loadflutter-mcp-toolkit-setupand follow its troubleshooting section.- Any other error — load
flutter-mcp-toolkit-debugand read the error envelope playbook.
Step 2: Pick the right skill for the user's intent
| User intent | Load skill |
| Read state ("what's on screen?", "show me errors", "screenshot") | flutter-mcp-toolkit-inspect |
| Drive UI ("tap X", "type into Y", "scroll to Z", "hot reload") | flutter-mcp-toolkit-control |
| Diagnose ("why is X failing?", "show recent logs", "evaluate expression") | flutter-mcp-toolkit-debug |
Register app-specific MCP tools/resources (AgentCallEntry, addEntries) | flutter-mcp-toolkit-custom-tools |
| Upgrade from removed legacy call-entry APIs | flutter-mcp-toolkit-intentcall-migration |
| Audit CLI/MCP/schema/dynamic-registry parity before changing tool surfaces | flutter-mcp-boundary-audit |
Maintain showcase/flutter_test_app web / WebMCP showcase hooks; agent list/execute via Chrome DevTools MCP (list_webmcp_tools / execute_webmcp_tool) | flutter-mcp-toolkit-maintain-web |
Maintain showcase/flutter_test_app macOS / native IntentCall hooks | flutter-mcp-toolkit-maintain-macos |
| Score dogfood iterations or route dogfood evidence | flutter-mcp-toolkit-dogfood-iterations |
Write repeatable E2E scenarios as Dart (flutter_mcp_harness: build/launch/attach/drive/assert, showcase launcher) | flutter-mcp-e2e-harness |
| Wire automation for an app across surfaces (MCP / CLI / harness / oka), first loops, runner sessions | flutter-mcp-automation-chain |
| Release, version, or plugin skill bundle maintenance | flutter-mcp-toolkit-repo-maintainer |
Harness Script lint/run/Maestro and promo/video capture live in their owner
repositories. Do not look for flutter-mcp-semantic-test,
flutter-mcp-capture, or hyperframes-video in this plugin.
If the task spans more than one (e.g. "tap the button and show me what
changed"), load inspect AND control. Skills are additive.
Step 3: Execute
Each task skill has the tool list, parameter shapes, and example calls. Follow the prelude at the top of the skill — it tells you whether you're calling MCP tools or shelling out to the CLI.
Tool taxonomy reference
The core toolkit tools fall into these categories. The full list with parameter shapes lives in the task skills.
- Inspection (read-only):
discover_debug_apps,get_app_errors,get_screenshots,get_view_details,get_vm,get_extension_rpcs,semantic_snapshot,inspect_widget_at_point,capture_ui_snapshot,connect_debug_app. →flutter-mcp-toolkit-inspect. - Interaction (mutating):
tap_widget,long_press,enter_text,reveal_search,fill_form,scroll,swipe,drag,hover,focus_widget,press_key,wait_for,navigate,handle_dialog,hot_reload_flutter,hot_restart_flutter,hot_reload_and_capture. →flutter-mcp-toolkit-control. - Debug:
get_recent_logs,evaluate_dart_expression. →flutter-mcp-toolkit-debug. - Dynamic registry (app-defined): after registration in the Flutter app,
MCP calls use
fmt_list_client_tools_and_resources, thenfmt_client_tool/fmt_client_resource. When shelling out to the CLI, command names appear only asexec --name <name>values; do not call barelist_client_tools_and_resources,client_tool, orclient_resourceas MCP tools. →flutter-mcp-toolkit-custom-tools. - Boundary/proof maintenance: use
flutter-mcp-boundary-auditbefore changing catalog/schema/registry surfaces; useflutter-mcp-toolkit-maintain-weborflutter-mcp-toolkit-maintain-macosfor showcase platform hooks; useflutter-mcp-toolkit-repo-maintainerfor release, version, and generated skill-bundle work. - True WebMCP (browser): with Chrome DevTools MCP
(
--categoryExperimentalWebmcp), uselist_webmcp_tools/execute_webmcp_toolafter navigating to the web app. Details influtter-mcp-toolkit-maintain-web.
When in doubt
If doctor is green but a tool call fails, read the returned error.code
and error.recovery fields. The full code → recovery table is in
flutter-mcp-toolkit-debug.
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.

