From coding-agent
Frontend performance optimization patterns for Core Web Vitals. Use when building UI.
npx claudepluginhub devjarus/coding-agentThis skill uses the workspace's default tool permissions.
| Metric | Target | Description |
Generates design tokens/docs from CSS/Tailwind/styled-components codebases, audits visual consistency across 10 dimensions, detects AI slop in UI.
Records polished WebM UI demo videos of web apps using Playwright with cursor overlay, natural pacing, and three-phase scripting. Activates for demo, walkthrough, screen recording, or tutorial requests.
Delivers idiomatic Kotlin patterns for null safety, immutability, sealed classes, coroutines, Flows, extensions, DSL builders, and Gradle DSL. Use when writing, reviewing, refactoring, or designing Kotlin code.
| Metric | Target | Description |
|---|---|---|
| LCP (Largest Contentful Paint) | < 2.5s | Time until the largest visible content is rendered |
| INP (Interaction to Next Paint) | < 200ms | Latency from user interaction to visual response |
| CLS (Cumulative Layout Shift) | < 0.1 | Visual stability — elements should not shift unexpectedly |
React.lazy + Suspense.width and height to prevent layout shift.<link rel="preload">.React.memo only when props are stable (primitives or memoized references).useMemo to memoize expensive computed values and useCallback to stabilize callback references passed to memoized children.react-window or react-virtual — never render thousands of DOM nodes.import { debounce } from 'lodash-es', not import _ from 'lodash'.webpack-bundle-analyzer or vite-bundle-visualizer.import() so they are not in the initial bundle.<link rel="prefetch"> or router-level prefetching.