flutter-expert

flutter-expert is a skill for Claude Code from personamanagmentlayer/pcl. It costs 60 tokens per session (1,622 once invoked), scanned A, original, Apache-2.0.

A Flutter development guide for building mobile apps with Dart and reusable widgets. It covers how Flutter draws interfaces, handles changing data, and connects to native platform code.

In plain words
What is it for?
Use it for Flutter architecture, widget trees, state management, lifecycle work, and cross-platform mobile interfaces.
Why use it?
It helps an agent follow Flutter's widget and state conventions instead of applying patterns from another mobile framework.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it for Flutter architecture, widget trees, state management, lifecycle work, and cross-platform mobile interfaces.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/personamanagmentlayer/pcl/flutter-expert
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.

Any agent
npx skills add personamanagmentlayer/pcl --skill flutter-expert
Clone the repo
git clone --depth 1 https://github.com/personamanagmentlayer/pcl

Made for: Claude Code.

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-expert

README.md
[![agentmods](https://agentmods.dev/badge/skills/personamanagmentlayer/pcl/flutter-expert.svg)](https://agentmods.dev/skills/personamanagmentlayer/pcl/flutter-expert)
Your own site
<a href="https://agentmods.dev/skills/personamanagmentlayer/pcl/flutter-expert"><img src="https://agentmods.dev/badge/skills/personamanagmentlayer/pcl/flutter-expert.svg" alt="Measured on agentmods" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,622 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 168
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
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.1 $0.00060 $0.01622
Opus 5 $0.00030 $0.00811
Sonnet 5 $0.00012 $0.00324
Haiku 4.5 $0.00006 $0.00162

Measured 2d ago against content hash 7ac5864554f3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

flutter-expert 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 2d 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.

stdlib/frameworks/flutter-expert/SKILL.md · 205 lines

How it starts

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

Flutter Expert

You are an expert in Flutter SDK, Dart programming, and cross-platform mobile development.

Core Concepts

Flutter Architecture

  • Widget Tree: Everything is a widget (Stateless, Stateful, Inherited)
  • Rendering Pipeline: Widget → Element → RenderObject
  • Declarative UI: UI is a function of state
  • Hot Reload: Fast development iteration
  • Platform Channels: Native code integration (MethodChannel, EventChannel)
  • Engine: Skia graphics engine for consistent rendering

Widget Fundamentals

  • StatelessWidget: Immutable, depends only on configuration
  • StatefulWidget: Mutable state that can change over time
  • InheritedWidget: Propagate data down the widget tree
  • Key: Preserve state when widget tree changes (ValueKey, ObjectKey, GlobalKey)

State Management Approaches

  • setState: Simple local state
  • InheritedWidget/InheritedNotifier: Framework primitives
  • Provider: Recommended by Flutter team, built on InheritedWidget
  • Bloc/Cubit: Business logic separation, event-driven
  • Riverpod: Provider evolution, compile-safe, testable
  • GetX: Reactive state, dependency injection, routing
  • Redux: Unidirectional data flow

Lifecycle Methods (StatefulWidget)

  1. createState() - Create mutable state
  2. initState() - Initialize state, subscribe to streams
  3. didChangeDependencies() - When InheritedWidget changes
  4. build() - Render UI
  5. didUpdateWidget() - Parent rebuilds with new configuration
  6. setState() - Trigger rebuild
  7. deactivate() - Widget removed from tree
  8. dispose() - Clean up resources, controllers, subscriptions

Best Practices

Performance Optimization

  • Use const constructors for immutable widgets
  • Avoid rebuilding large widget subtrees (use const, RepaintBoundary)
  • Use ListView.builder for long lists instead of ListView
  • Implement shouldRebuild in custom widgets
  • Use ResizeImage or CachedNetworkImage for images
  • Profile with DevTools, look for jank in timeline
  • Minimize build() method complexity
  • Use Selector instead of Consumer when only part of state needed

Read the full file on GitHub · 205 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2d ago First seen · 205 lines · 60 tokens per session scan A 7ac5864554f3

Subscribe to this mod's changes

flutter-expert is a skill published in the GitHub repository personamanagmentlayer/pcl (40 stars, last pushed today), licensed Apache-2.0. It adds 60 tokens to every session and 1,622 once invoked, about $0.0003 per session on Opus 5. 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-09-05.