flutter-agent-guidelines

flutter-agent-guidelines is an agent for coding agents from Desquared/agents-rules-skills. It costs 0 tokens per session (1,385 once invoked), scanned A, original, MIT.

A set of rules for Flutter agents, where Flutter is Google's toolkit for building mobile and other apps from one codebase. It requires them to inspect the project's dependencies, architecture, existing patterns, and analysis settings before making implementation decisions.

In plain words
What is it for?
Use it to guide feature planning, architecture choices, bug investigation, linting, formatting, and checks such as flutter analyze.
Why use it?
It helps agents fit their changes to the project's current structure instead of introducing conflicting patterns or duplicated guidance.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/desquared/agents-rules-skills/flutter-agent-guidelines
Clone the repo
git clone --depth 1 https://github.com/Desquared/agents-rules-skills

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for flutter-agent-guidelines

README.md
[![agentmods](https://agentmods.dev/badge/agents/desquared/agents-rules-skills/flutter-agent-guidelines.svg)](https://agentmods.dev/agents/desquared/agents-rules-skills/flutter-agent-guidelines)
Your own site
<a href="https://agentmods.dev/agents/desquared/agents-rules-skills/flutter-agent-guidelines"><img src="https://agentmods.dev/badge/agents/desquared/agents-rules-skills/flutter-agent-guidelines.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,385 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.01385
Opus 5 $0.00000 $0.00692
Sonnet 5 $0.00000 $0.00277
Haiku 4.5 $0.00000 $0.00138

Measured 3d ago against content hash 6e619d92e967, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

flutter-agent-guidelines scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/flutter-agent-guidelines.md · 156 lines

How it starts

The opening of the file, as written. The whole thing — 156 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Flutter Agent Guidelines

CRITICAL: All Flutter agents MUST follow these discovery rules and reference existing skills/rules

1. Discovery-First Approach

Before making ANY implementation decisions:

# Check dependencies & patterns
grep -A 50 "dependencies:" pubspec.yaml
find lib -name "*_bloc.dart" -o -name "*_repository.dart"
grep -r "BlocProvider\|ChangeNotifier\|GetX" lib/
cat analysis_options.yaml

2. Skills & Rules Reference

All agents MUST reference existing skills and rules instead of duplicating content:

Architecture & Design

  • Planning features: Use design-architecture-skill for data/domain/view structure
  • Feature analysis: Use feature-analysis-skill for complexity assessment
  • Architecture rules: Follow Flutter/rules/architecture.md

Bug Investigation & Debugging

  • Debugging: Use bug-solving-skill for Flutter-specific patterns
  • Root cause analysis: Follow layer-by-layer (data/domain/view) investigation
  • Foundation: Reference skills/bug-investigation for scientific method

Code Quality

  • Linting: Follow Flutter/rules/lint-rules.md - MUST pass flutter analyze with 0 errors
  • Formatting: Run dart format . - follow project's analysis_options.yaml
  • Code review: Use code-review-skill

Testing

  • Test structure: Use Flutter/rules/testing.md
  • Test patterns: Match project's existing test patterns (bloc_test, mocktail, mockito)

State Management

  • Agnostic approach: All agents support Bloc/Provider/GetX/Riverpod
  • Check first: Scan project for existing patterns before recommending
  • Reference: design-architecture-skill for state management templates
  • Ask when unclear: Multiple patterns or conflicting approaches

Performance & Optimization

  • Optimization patterns: optimization-skill and optimization-skill/examples.md
  • Widget rebuilds: Scope state listeners, use const constructors
  • Lists: ListView.builder for >20 items, stable keys

Read the full file on GitHub · 156 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 156 lines · 0 tokens per session scan A 6e619d92e967

Subscribe to this mod's changes

flutter-agent-guidelines is an agent published in the GitHub repository Desquared/agents-rules-skills (4 stars, last pushed 20d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,385 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

ux-flow-auditor

Use this agent when the user mentions UX flow issues, dead-end views, dismiss traps, missing empty states, broken user journeys, or wants a UX audit of their iOS app. Automatically scans SwiftUI and UIKit code for user journey defects - detects dead ends, dismiss traps, buried CTAs, missing loading/error/empty states…

CharlesWiltgen/Axiom · 190 tokens

e2e-verifier

FlutterアプリのE2E動作検証エージェント。MCP(dart-mcp + Marionette)を使い、シミュレーター上でUI操作・検証を行う。mobile-automationスキルから呼び出される。.

K9i-0/ccpocket · 65 tokens

gem-mobile-tester

Mobile E2E testing: Detox, Maestro, iOS/Android simulators.

mubaidr/gem-team · 22 tokens

flutter-integration-analyzer

Use this agent for Flutter-backend integration analysis: trace protocols, data models, event flows, or cross-end consistency. Also use for LOG-DRIVEN ROOT CAUSE ANALYSIS — when the user provides a server log and asks why a specific misbehavior occurred (e.g. "why did it stop responding"), this agent parses the log…

JayCRL/MobileVC · 429 tokens

rn-code-architect

Designs implementation blueprints for React Native features by analyzing existing codebase patterns, then providing specific files to create/modify, component designs, testID placement, store slice design, and build sequences. Triggers: "design the architecture", "plan the implementation", "create a blueprint", "what…

Lykhoyda/rn-dev-agent · 238 tokens

copilot

cd your-android-project git clone https://github.com/haidrrrry/compose-kotlin-agent-skills.git .github/skills/compose-kotlin-agent-skills.

haidrrrry/compose-kotlin-agent-skills · 0 tokens