agentleFS
ArenukvernArenukvern/mcp_flutter/AGENTS.md

mcp_flutter

AGENTS.md385 starsChanged 5 months agoMITView on GitHub

This project is indexed by GitNexus as **mcp_flutter** (5951 symbols, 12839 relationships, 300 execution flows). Use the GitNexus MCP tools to understand code, assess impact, and navigate safely. Index stale? Run node .gitnexus/run.cjs analyze from the project root — it auto-selects an available runner. No .gitnexus/run.cjs yet? npx gitnexus analyze (npm 11 crash → npm i -g gitnexus; #1939). mcp_flutter is a production-grade consumer and proof repo for IntentCall. It does not define IntentCall architecture. Implemented IntentCall plans/specs/tracker/closures were removed…

  • Pipes a download into a shell
  • Installs packages

The file

Show its rules and text

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

13 rules. About 0 are common, 4 are distinctive, and 9 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 9

    Very specific

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

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

    MUST run impact analysis before editing any symbol: Before modifying a function, class, or method, run impact({target: "symbolName", …

    line 10
  2. Distinctive:

    MUST warn the user: if impact analysis returns HIGH or CRITICAL risk before proceeding with edits.

    line 12
  3. Very specific:

    When exploring unfamiliar code, use query({search_query: "concept"}) to find execution flows instead of grepping.

    line 13
  4. Very specific:

    When you need full context on a specific symbol — callers, callees, which execution flows it participates in — use context({name: …

    line 14
  5. Very specific:

    NEVER edit a function, class, or method without first running impact on it.

    line 19
  6. Distinctive:

    NEVER ignore HIGH or CRITICAL risk warnings from impact analysis.

    line 20
  7. Very specific:

    NEVER rename symbols with find-and-replace — use rename which understands the call graph.

    line 21
  8. Very specific:

    NEVER commit changes without running detect_changes() to check affected scope.

    line 22
  9. Distinctive:

    When writing code, documentation, or planning features:

    line 63
  10. Very specific:

    Start with steward doctor --json, then steward actions list --json.

    line 64
  11. Very specific:

    Use steward probe --json --profile quick for the safe first pass.

    line 67
  12. Very specific:

    Use steward benchmark --scenario mcp_flutter.contract-status-smoke --strict --json for the first contract-smoke scenario.

    line 68
  13. Distinctive:

    If you discover new complex automations or bug fixes, capture them as observations / unknown cases first.

    line 71

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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
<!-- gitnexus:start -->

GitNexus — Code Intelligence

This project is indexed by GitNexus as mcp_flutter (5951 symbols, 12839 relationships, 300 execution flows). Use the GitNexus MCP tools to understand code, assess impact, and navigate safely.

Index stale? Run node .gitnexus/run.cjs analyze from the project root — it auto-selects an available runner. No .gitnexus/run.cjs yet? npx gitnexus analyze (npm 11 crash → npm i -g gitnexus; #1939).

Always Do

  • MUST run impact analysis before editing any symbol. Before modifying a function, class, or method, run impact({target: "symbolName", direction: "upstream"}) and report the blast radius (direct callers, affected processes, risk level) to the user.
  • MUST run detect_changes() before committing to verify your changes only affect expected symbols and execution flows. For regression review, compare against the default branch: detect_changes({scope: "compare", base_ref: "main"}).
  • MUST warn the user if impact analysis returns HIGH or CRITICAL risk before proceeding with edits.
  • When exploring unfamiliar code, use query({search_query: "concept"}) to find execution flows instead of grepping. It returns process-grouped results ranked by relevance.
  • When you need full context on a specific symbol — callers, callees, which execution flows it participates in — use context({name: "symbolName"}).
  • For security review, explain({target: "fileOrSymbol"}) lists taint findings (source→sink flows; needs analyze --pdg).

Never Do

  • NEVER edit a function, class, or method without first running impact on it.
  • NEVER ignore HIGH or CRITICAL risk warnings from impact analysis.
  • NEVER rename symbols with find-and-replace — use rename which understands the call graph.
  • NEVER commit changes without running detect_changes() to check affected scope.

Resources

ResourceUse for
gitnexus://repo/mcp_flutter/contextCodebase overview, check index freshness
gitnexus://repo/mcp_flutter/clustersAll functional areas
gitnexus://repo/mcp_flutter/processesAll execution flows
gitnexus://repo/mcp_flutter/process/{name}Step-by-step execution trace

CLI

TaskRead this skill file
Understand architecture / "How does X work?".claude/skills/gitnexus/gitnexus-exploring/SKILL.md
Blast radius / "What breaks if I change X?".claude/skills/gitnexus/gitnexus-impact-analysis/SKILL.md
Trace bugs / "Why is X failing?".claude/skills/gitnexus/gitnexus-debugging/SKILL.md
Rename / extract / split / refactor.claude/skills/gitnexus/gitnexus-refactoring/SKILL.md
Tools, resources, schema reference.claude/skills/gitnexus/gitnexus-guide/SKILL.md
Index, status, clean, wiki CLI commands.claude/skills/gitnexus/gitnexus-cli/SKILL.md
<!-- gitnexus:end -->

IntentCall consumer boundary

mcp_flutter is a production-grade consumer and proof repo for IntentCall. It does not define IntentCall architecture.

QuestionGo to
Canonical IntentCall design / AX / DXIntentCall North Star
Consumer integration, hosted dependencies, and proof gatesdocs/intentcall/README.md
Legacy call-entry migrationdocs/start_here/migration_mcp_call_entry_to_agent_call_entry.md
Automation chain (harness, drivers, oka)docs/start_here/automation_chain.mdx · skill flutter-mcp-automation-chain · packages/harness/
Non-IntentCall forward indexdocs/superpowers/WHATS_NEXT.md

Implemented IntentCall plans/specs/tracker/closures were removed after durable extraction. Agents should validate hosted intentcall_* dependencies and regression gates, not re-run the initial publish/cutover.

Governance & Skill Steward

This repository strictly adheres to the Cascading Agent Surface architecture governed by Skill Steward. When writing code, documentation, or planning features:

  1. Start with steward doctor --json, then steward actions list --json.
  2. If steward is missing or stale, install the released CLI with curl -fsSL https://raw.githubusercontent.com/Arenukvern/skill_steward/main/install.sh | bash. For local Skill Steward development, run from the Skill Steward checkout with cd packages/steward_cli && dart run :steward <command>, or activate that checkout with dart pub global activate --source path packages/steward_cli. Do not copy absolute SDK paths, raw dart --packages=.../steward.dart commands, or adopter-local runner scripts into reusable docs.
  3. Inspect any intended action before execution: steward action inspect <id> --json.
  4. Use steward probe --json --profile quick for the safe first pass.
  5. Use steward benchmark --scenario mcp_flutter.contract-status-smoke --strict --json for the first contract-smoke scenario. This is not WebMCP runtime proof.
  6. For the hosted IntentCall dependency gate, inspect fmt.check.intentcall-hosted-deps and benchmark mcp_flutter.intentcall-hosted-cutover; promotion evidence is in docs/evidence/steward-h5-hosted-cutover-promotion-2026-06-10.mdx.
  7. For the full native gate, inspect fmt.check.contracts-full for effects metadata, then run make check-contracts; keep it out of probes.quick because it may touch local Dart package state.
  8. If you discover new complex automations or bug fixes, capture them as observations / unknown cases first; promote only after review.

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.