openwebf-host-performance-metrics

在Flutter中检测和诊断WebF性能(FP/FCP/LCP、dumpLoadingState、加载状态事件)。当用户提及FP/FCP/LCP、dumpLoadingState、首次渲染慢、LCP验证或性能监控时使用。

📖 中文导读:在Flutter中检测和诊断WebF性能(FP/FCP/LCP、dumpLoadingState、加载状态事件)。当用户提及FP/FCP/LCP、dumpLoadingState、首次渲染慢、LCP验证或性能监控时使用。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

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

  1. Establish measurement: capture FP/FCP/LCP and key lifecycle timings.
  2. Use MCP docs for the official performance monitoring APIs and guidance.
  3. Use dumpLoadingState (or equivalent) to diagnose where time is spent.
  4. Offer scaffolding templates when useful:
    • perf/loading-state-events
    • perf/loadingstate-dump
    • perf/lcp-content-verification

More: