flutter-performance
Skill9 starsChanged 6 months agoApache-2.0View on GitHub
Flutter performance guidance for FE Dev. Use for slow widgets, rebuild churn, jank, large lists, image-heavy UI, animations, startup time, memory pressure, isolates, expensive layout/paint, or performance review of Flutter code.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- Atou4/skillsmiththeir own version, first seen Nov 22, 2026
- thienqo/flutter-skillstheir own version, first seen Nov 1, 2026
- thiennc-tesoglobal/flutter-skillstheir own version, first seen Aug 30, 2026
- zakariaf/CatchLawtheir own version, first seen Aug 1, 2026
- zakariaf/Flutter-Skillstheir own version, first seen Jul 21, 2026
Used with
Projects with it also use flutter-architecture, flutter-security and 1 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MADTeacherSkillflutter-architecture
Design, refactor, review, or implement Flutter app architecture using MVVM, layered UI/Data/optional Domain boundaries, feature-first or layer-first project structure, repositories, services, dependency injection, Result and Command patterns, offline-first or optimistic UI flows. Use when asked to add a Flutter feature, audit layer dependencies, fix cross-feature imports, migrate to feature-first, choose architecture for a Flutter project, or create scalable maintainable Flutter code organization.
Also in 4 projects that use this
dhruvanbhalaraSkillflutter-security
Use when securing local storage with flutter_secure_storage, enforcing AES-256-GCM encryption, or adding biometric authentication gates.
Also in 3 projects that use this
dhruvanbhalaraSkillflutter-testing
Use when defining automated testing strategies, organizing test pyramids, or establishing test naming conventions across Flutter apps.
Also in 3 projects that use this
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- zakariaf/Flutter-Skills★ 32same name
- thiennc-tesoglobal/flutter-skills★ 21same name
- thienqo/flutter-skills★ 21same name
- Atou4/skillsmith★ 3same name
- zakariaf/CatchLaw★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository61 other files it gives its agents.
- rules/CLAUDE.mdCLAUDE.md
- acceptance-criteria-authorSkill
- adr-authorSkill
- api-contract-authorSkill
- backend-logging-traceabilitySkill
- ba-design-completenessSkill
- ba-ingestion-pipelineSkill
- ba-iteration-planningSkill
- ba-mode-augmentSkill
- ba-mode-external-sourceSkill
- ba-mode-multi-docSkill
- ba-mode-requirements-folderSkill
- ba-mode-reverse-engineerSkill
- ba-mode-single-docSkill
- ba-post-implementationSkill
- be-framework-coding-standardSkill
- c4-authorSkill
- codebase-inventorySkill
- data-lifecycle-contractsSkill
- design-system-authorSkill
- docker-deploymentSkill
- external-integration-adequacySkill
- fe-framework-coding-standardSkill
- figma-canvas-layoutSkill
- figma-design-handoffSkill
- figma-requirements-extractionSkill
- figma-srs-mappingSkill
- flutter-implementationSkill
- flutter-platform-integrationSkill
- format-boundary-contractsSkill
- git-commitSkill
- incident-debuggingSkill
- intent-archaeologySkill
- kubernetes-deploymentSkill
- local-deploymentSkill
- migration-safetySkill
- observability-readinessSkill
- playwright-authorSkill
- qa-author-by-taskSkill
- qa-author-by-usSkill
- qa-execution-runnerSkill
- react-native-implementationSkill
- react-native-performanceSkill
- react-native-platform-integrationSkill
- release-readinessSkill
- rollback-readinessSkill
- sa-architecture-designSkill
- sa-brownfield-extractSkill
- secrets-config-auditSkill
- security-compliance-checklistSkill
- solution-defaultsSkill
- ssh-remote-operationsSkill
- staging-deploymentSkill
- task-sizingSkill
- <kebab-case-name-matching-folder>Skill
- test-case-authorSkill
- third-party-dependency-evaluationSkill
- ui-test-executionSkill
- ui-ux-page-scopingSkill
- user-story-authorSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
22 rules. 0 are common, 13 are distinctive, and 9 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
13
Distinctive
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
- Very specific: line 14
Use this when a Flutter task touches performance-sensitive UI: large lists, image-heavy layouts, charts, animations, startup, memory …
- Very specific: line 27
prefer const constructors and immutable inputs.
- Distinctive: line 28
keep state close to the widget subtree that changes.
- Very specific: line 29
use selectors/consumers/builders from the project's state library to narrow rebuild scope.
- Very specific: line 30
avoid allocating expensive derived collections in build().
- Very specific: line 32
use ListView.builder, SliverList, grids, or project virtualized components for dynamic collections.
- Very specific: line 34
avoid shrinkWrap and nested scrollables on large lists unless the layout truly requires them.
- Very specific: line 35
keep empty/loading/refresh states explicit.
- Distinctive: line 38
use caching through the project image pipeline.
- Distinctive: line 39
avoid decoding oversized images in hot list cells.
- Distinctive: line 40
use placeholders and error widgets that match the visual spec.
- Distinctive: line 42
prefer implicit animations or existing animation primitives for simple transitions.
- Distinctive: line 43
keep animation controllers scoped and disposed.
- Distinctive: line 44
avoid work in listeners that runs every frame unless it is trivial.
- Distinctive: line 47
use existing repository/background mechanisms first.
- Very specific: line 48
consider isolates/compute for CPU-heavy transforms only when serialization cost is worth it.
- Distinctive: line 49
do not parse large payloads synchronously in widget code.
- Distinctive: line 51
run the narrowest repeatable check: profile build smoke, DevTools frame capture, list scroll test, animation test, or memory check.
- Distinctive: line 56
Do not optimize by weakening accessibility, selector stability, state coverage, or manifest completeness.
- Very specific: line 57
Do not add a new image/list/state/performance library without dependency approval.
- Distinctive: line 58
Do not solve rebuild churn by making shared mutable global state.
- Distinctive: line 59
Do not tune only in debug mode when the issue is production performance.
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Flutter Performance
When to use
Use this when a Flutter task touches performance-sensitive UI: large lists, image-heavy layouts, charts, animations, startup, memory pressure, expensive rebuilds, platform-channel traffic, or jank. Load it alongside flutter-implementation.
Inputs and outputs
- Inputs: affected widgets/pages, existing profiling or QA evidence, device/emulator target, design manifest, data size assumptions, current state/image/list/animation libraries.
- Outputs: targeted performance changes with preserved behavior, measurable before/after evidence when feasible, and tests/checks that prove no manifest or accessibility regression.
Procedure
- Define the performance surface:
- name the slow path, expected data volume, device class, platform, and success criterion;
- inspect existing Flutter DevTools/profile evidence before changing code when available.
- Control rebuilds:
- prefer
constconstructors and immutable inputs; - keep state close to the widget subtree that changes;
- use selectors/consumers/builders from the project's state library to narrow rebuild scope;
- avoid allocating expensive derived collections in
build().
- prefer
- Tune lists and scrolling:
- use
ListView.builder,SliverList, grids, or project virtualized components for dynamic collections; - provide stable keys where item identity matters;
- avoid
shrinkWrapand nested scrollables on large lists unless the layout truly requires them; - keep empty/loading/refresh states explicit.
- use
- Handle image and asset cost:
- request appropriately sized images;
- use caching through the project image pipeline;
- avoid decoding oversized images in hot list cells;
- use placeholders and error widgets that match the visual spec.
- Keep animation smooth:
- prefer implicit animations or existing animation primitives for simple transitions;
- keep animation controllers scoped and disposed;
- avoid work in listeners that runs every frame unless it is trivial;
- respect reduced-motion behavior when the project supports it.
- Move heavy work off the UI isolate:
- use existing repository/background mechanisms first;
- consider isolates/
computefor CPU-heavy transforms only when serialization cost is worth it; - do not parse large payloads synchronously in widget code.
- Verify:
- run the narrowest repeatable check: profile build smoke, DevTools frame capture, list scroll test, animation test, or memory check;
- record unmeasured performance assumptions in task notes instead of presenting them as proof.
Hard rules
- Do not optimize by weakening accessibility, selector stability, state coverage, or manifest completeness.
- Do not add a new image/list/state/performance library without dependency approval.
- Do not solve rebuild churn by making shared mutable global state.
- Do not tune only in debug mode when the issue is production performance.
References
../flutter-implementation/SKILL.md- baseline Flutter implementation discipline.../third-party-dependency-evaluation/SKILL.md- dependency approval for new performance libraries.../ui-test-execution/SKILL.md- UI regression checks after performance changes.
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.

