flutter-perf-audit

Scan Flutter source code and report UI performance issues.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/dus2183-commits/flutter-skills --skill flutter-perf-audit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flutter-perf-audit
Source: https://github.com/dus2183-commits/flutter-skills/tree/main/flutter-perf-audit
Command: npx skills add https://github.com/dus2183-commits/flutter-skills --skill flutter-perf-audit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Flutter 应用的 UI 性能问题常常难以定位,本 Skill 提供自动化扫描,聚焦常见的性能瓶颈并输出结构化的审计报告,帮助开发者快速定位与排查。

Core Features & Use Cases

  • 全面识别常见 Flutter UI 性能问题,如大 build、深嵌嵌套、长文件、长列表、未使用 const、局部范围过宽等。
  • 产出结构化报告并存放在 docs/reviews/{module}perf{date}.md,便于代码评审记录与回溯。
  • 支持在常见场景使用:大屏重构后、性能评审阶段、以及调试卡顿和帧率问题时快速审计。

Quick Start

在 Flutter 项目中触发性能审计,系统将扫描性能问题并输出结构化报告。

Frequently Asked Questions about flutter-perf-audit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate a Flutter performance audit for UI jank and frame drops?

Automate a Flutter performance audit by scanning build methods, unnecessary rebuilds, and non-const widgets to identify jank sources. The audit outputs a structured performance report under docs/reviews for the affected module.

What causes unnecessary rebuilds in Flutter and how can I find them?

Unnecessary rebuilds in Flutter are often caused by non-const widgets and overly wide local scopes. Scanning source code build methods identifies these performance bottlenecks and reports them in a structured markdown file.

How do I check my Flutter project for missing const widgets and large build methods?

Check Flutter projects for missing const widgets and large build methods using an automated source code scan. It identifies deep nesting, long files, and long lists, generating a structured performance report for code reviews.

Can I integrate a Flutter performance report into my existing code review workflow?

You can integrate the Flutter performance report into your code review workflow by saving the output under docs/reviews. This allows teams to track and reference performance issues during major screen refactors or regular reviews.

When should I run a Flutter performance audit on my application?

Run a Flutter performance audit after major screen refactors, during performance review stages, or when investigating UI jank and frame drops. It helps quickly locate common performance issues like deep nesting and long lists.

What is the best way to identify long lists and deep nesting in Flutter code?

The best way to identify long lists and deep nesting is by scanning Flutter source code for common UI performance issues. This process generates a structured performance report detailing the affected modules.