agentleFS
ArenukvernArenukvern/mcp_flutter/AGENTS.md

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…

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
  1. Very specific:

    Never edit pubspec_overrides.yaml.

    line 47
  2. Very specific:

    Run make docs-reference when tools/CLI help change.

    line 62

≈ “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.

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

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

NeedCanonical owner
Charter / scopedocs/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 onboardingdocs/quickstart.mdx, docs/index.mdx

Repo map

PathPurpose
mcp_server_dart/MCP server + CLI (flutter-mcp-toolkit, flutter-mcp-toolkit-server)
mcp_toolkit/Flutter app package (pub.dev)
packages/coreShared MCP types
packages/server_capability_kernel, packages/server_capability_corefmt_* 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/*.mdx

Focused:

cd mcp_server_dart && flutter pub get && dart test
dart analyze packages/harness && cd packages/harness && dart test
steward probe --json --profile quick

Never 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.

NeedUse
Screenshot / UI stateMCP fmt_get_screenshots or packages/harness/tool/shot.dart
Repeatable E2Eskill flutter-mcp-e2e-harness
Web buildCDP tier in automation chain

Docs invariants

  • No hard-coded MCP tool counts in prose — only in generated docs/reference/.
  • Run make docs-reference when tools/CLI help change.
  • check_no_hardcoded_tool_counts.sh enforces 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/.

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.