
Description
flutter-performance is an agent skill from flutter/agent-plugins that has a coding agent find and fix performance problems in Flutter apps, such as jank, excessive rebuilds and costly rendering, with the goal of keeping frames within the 16ms budget. It works from a decision tree. To set a baseline, the agent writes an integration test with traceAction and TimelineSummary. On the web it enables debugProfileBuildsEnabled and uses the Chrome DevTools Performance panel; elsewhere it runs the app on a physical device in profile mode with Flutter DevTools. If the UI thread is slow it tightens build methods, localizes setState, adds const constructors and uses StringBuffer; if the raster thread is slow it cuts back on saveLayer, Opacity, Clip and ImageFilter and uses RepaintBoundary.…
Highlights
- Baseline measurement with integration tests, traceAction and TimelineSummary
- Separate paths for web profiling and on-device profile mode
- UI thread fixes: smaller build methods, localized setState, const constructors
- Raster thread fixes: fewer saveLayer, Opacity, Clip and ImageFilter calls
- Uses Flutter DevTools and Chrome DevTools
Ratings & Reviews
No ratings yet
Be the first to rate flutter-performance.
People also visit
flutter-performance FAQ
What problems does this skill target?
Jank, unnecessary widget rebuilds and expensive rendering that push frames past the 16ms budget.
Which tools does it rely on?
Flutter DevTools, Chrome DevTools for web builds, and integration tests that use traceAction and TimelineSummary for metrics.
How does it decide what to optimize?
It checks which thread shows red bars over 16ms in DevTools. UI thread issues get build and state fixes; raster issues get fewer costly paint operations. If both are slow it starts with the UI thread.
How do I install it?
Run npx skills add https://github.com/flutter/agent-plugins --skill flutter-performance.
What are the security audit results?
Gen Agent Trust Hub: Pass, Socket: Pass, Snyk: Pass.
What are the best flutter-performance alternatives?
Popular alternatives to flutter-performance include flutter-testing-performance, Flutter Agent Skills and flutter-expert. See all flutter-performance alternatives








