AGENT SKILL
flutter-performance-audit
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-05-26
- Stars
- ★ 0
- Forks
- 0
03 SKILL.md 正文
flutter-performance-audit
Purpose
Audit Flutter performance symptoms and produce prioritized fixes with measurable validation steps.
Use when
- The app janks, stutters, or loads slowly
- A screen is heavy or rebuilds too often
- You need a performance review before release
Do NOT use when
- The issue is purely semantic or copy related
- You have not observed a performance symptom yet
- The requested change is unrelated to rendering or startup cost
Inputs required
- Screen or flow name
- Symptom description
- Trace, profile, or suspicion list
- Target platform
Constraints
- Measure before recommending optimization
- Prioritize user-visible issues over micro-optimizations
- Keep fixes aligned with architecture
- Avoid speculative caching or memoization without evidence
Step-by-step workflow
- Identify the user-visible symptom.
- Inspect widget rebuilds, startup cost, and expensive async work.
- Rank causes by impact and confidence.
- Propose specific code or asset fixes.
- Add verification steps such as profile traces or build checks.
Output contract
- Performance findings
- Prioritized fix list
- Verification method for each fix
- Notes on residual risk
Validation checklist
- The symptom is tied to a concrete screen or flow
- The proposed fix is testable
- No premature optimization is suggested
- The architecture stays intact
Related skills
flutter-web-loading-shellflutter-clean-architecture-audit
References
Real example
If a profile page rebuilds on every stream tick, move expensive derived work out of the page and into the controller or provider, then confirm with a frame trace.
Real file output sample
docs/audits/profile-performance-audit.md
lib/features/profile/presentation/pages/profile_page.dart
lib/features/profile/presentation/controllers/profile_controller.dart
04 同仓库更多 Skills
toolkit-i18n-operator
Use the toolkit-i18n CLI for repeated Flutter localization workflows with compact outputs, CSV validation, key coverage reporting, generated JSON exports, and safe non-mutating behavior.
★ 0
toolkit-design-operator
Use the toolkit-design CLI for repeated repository workflows.
★ 0
toolkit-ci-operator
Use the toolkit-ci CLI for repeated repository workflows.
★ 0
toolkit-arch-operator
Use the toolkit-arch CLI for repeated repository workflows, including Flutter i18n usage scans, layer checks, and localization coverage.
★ 0
web-testing
暂无简介
★ 0
web-state
暂无简介
★ 0