/senior-dev-flutter:flutter-performance-profilingfrom senior-dev-flutter
Diagnoses Flutter runtime performance issues including jank, frame drops, slow startup, and shader stutter using DevTools timeline, profile mode, and thread bottleneck analysis.
Ships in senior-dev-flutter. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The Flutter Performance Profiling skill delivers rigorous diagnosis, instrumentation, and remediation workflows for Flutter runtime performance issues. Compatible across Claude Code and Google Antigravity, this skill guides developers to profile before optimizing—distinguishing UI thread bottlenecks (expensive widget trees, redundant layout computations) from raster thread stalls (shader warmup jank, excessive layer clipping, overdraw, expensive saveLayer calls) to ensure smooth 60fps / 120fps frame rates.
flutter-fix-layout-issues.performance-scalability.dart format.flowchart TD
A[Performance Issue Reported] --> B[Run Profile Mode: flutter run --profile]
B --> C[Capture Timeline in DevTools]
C --> D{Diagnose Thread Bottleneck}
D -->|UI Thread > 16ms| E[Optimize Build/Layout Scope & Compute Offload]
D -->|Raster Thread > 16ms| F[Reduce Overdraw, Clips & saveLayer Calls]
D -->|First-run Stutter| G[Shader Warmup / Impeller Engine Migration]
E --> H[Verify Frame Metrics Before vs. After]
F --> H
G --> H
Never attempt performance profiling in Debug mode (unoptimized JIT engine) or Release mode (stripped of DevTools hooks). Run in Profile mode:
flutter run --profile
flutter run --profile --trace-startup --verbose
Inspect the DevTools Performance timeline:
build() logic, massive widget trees, or synchronous JSON parsing.saveLayer() invocations, heavy BackdropFilter, complex ClipPath/ClipRRect, or un-cached raster assets.const constructors, use ListView.builder, and offload expensive parsing to background isolates via compute().ClipRRect with decorated BoxDecoration(borderRadius: ...), wrap isolated animated subtrees with RepaintBoundary, and specify cacheWidth/cacheHeight on images.main(), launching runApp() with a lightweight splash skeleton.flutter test integration_test --profile.Launch profile execution and trace startup time:
flutter run --profile
flutter run --profile --trace-startup --verbose
Profile integration benchmarks:
flutter drive --profile --target=test_driver/perf.dart
"Profile our Flutter catalog feed screen that experiences frame drops during rapid scrolling and isolate UI vs raster thread spikes."
"Analyze our app startup timeline and identify blocking synchronous tasks before runApp."
/skill flutter-performance-profiling or request runtime performance diagnosis.RepaintBoundary without measuring GPU layer memory overhead.compute().cacheWidth/cacheHeight.flutter run --profile mode.compute().cacheWidth/cacheHeight).What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
flutter-performance, frame-drops, jank, devtools, profile-mode, shader-jank
10 skills in this plugin
/context-captureUse when finishing a task at State 5 (Ship & Finish) or when the user explicitly asks to "save context", "guarda contexto", "record decisions", or "hand off" — writes ultra-compact persistent memory to context/memory/ and ensures target-project root AGENTS.md (<= 90 lines) stays wired to DESIGN.md and MEMORY.md across Claude Code and Google Antigravity./context-restoreUse at session start (State 0) or when asked to "load context", "catch up", or "what was done before" — prioritizes LLM Wiki Progressive Disclosure (context/memory/MEMORY.md) across Claude Code and Google Antigravity while supporting user-confirmed restore for scripted sessions (context/sessions/)./npx claudepluginhub jggomez/expert-ai-developer-skills --plugin senior-dev-flutterOther plugins' skills for the same job