AgentSkillsCN

openwebf-host-performance-metrics

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

SKILL.md
--- frontmatter
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: