openwebf-host-performance-metrics
Instrument and diagnose WebF performance in Flutter (FP/FCP/LCP, dumpLoadingState, loading-state events). Use when the user mentions FP/FCP/LCP, dumpLoadingState, first render slow, LCP verification, or performance monitoring.
When & Why to Use This Skill
This Claude skill is designed to instrument and diagnose WebF performance within Flutter applications. It specializes in tracking and analyzing critical web performance metrics such as First Paint (FP), First Contentful Paint (FCP), and Largest Contentful Paint (LCP). By leveraging advanced diagnostic tools like dumpLoadingState and specialized performance monitoring APIs, it helps developers pinpoint bottlenecks in the loading lifecycle and optimize slow first-render experiences.
Use Cases
- Diagnosing Slow First Renders: Identify the root cause of delays in the initial page load by capturing and analyzing FP and FCP metrics.
- LCP Verification and Optimization: Monitor Largest Contentful Paint events to ensure that the main content of the WebF view is rendered efficiently for optimal user experience.
- Loading State Analysis: Use the dumpLoadingState tool to generate a detailed breakdown of the application's lifecycle and identify exactly where time is being spent during execution.
- Performance Scaffolding: Automatically generate boilerplate code and templates for loading-state events and LCP content verification to streamline performance monitoring setup.
| name | openwebf-host-performance-metrics |
|---|---|
| description | Instrument and diagnose WebF performance in Flutter (FP/FCP/LCP, dumpLoadingState, loading-state events). Use when the user mentions FP/FCP/LCP, dumpLoadingState, first render slow, LCP verification, or performance monitoring. |
| allowed-tools | Read, Grep, Glob, Bash, Edit, Write, mcp__openwebf__project_profile, mcp__openwebf__docs_search, mcp__openwebf__docs_get_section, mcp__openwebf__templates_get, mcp__openwebf__templates_render |
OpenWebF Host: Performance Metrics & Diagnosis
Instructions
- Establish measurement: capture FP/FCP/LCP and key lifecycle timings.
- Use MCP docs for the official performance monitoring APIs and guidance.
- Use
dumpLoadingState(or equivalent) to diagnose where time is spent. - Offer scaffolding templates when useful:
perf/loading-state-eventsperf/loadingstate-dumpperf/lcp-content-verification
More: