원클릭으로
gk-performance
Audit Core Web Vitals, bundle size, and runtime performance — then recommend actionable optimizations
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Audit Core Web Vitals, bundle size, and runtime performance — then recommend actionable optimizations
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Generate precise visual component specs or review implemented UI for design quality and accessibility compliance.
Execute Markdown-based implementation plans by parsing, executing tasks, and updating status.
Validate framework compliance across all agents and skills.
Generate agent and skill files following Gemini Kit templates. Use when creating a new skill or /gk-* command. Use for building agent definitions or extending Gemini Kit.
Audit UI components for WCAG 2.2 AA compliance and generate actionable accessibility fixes
Setup product analytics integration and define event tracking schemas for user behavior measurement
| name | gk-performance |
| agent | reviewer |
| version | 1.0.0 |
| description | Audit Core Web Vitals, bundle size, and runtime performance — then recommend actionable optimizations |
| tier | optional |
| Flag | Description | Reference |
|---|---|---|
| --audit | Run Lighthouse CI + bundle analysis + Web Vitals on target; requires target; returns vitals, bundle_analysis, full issues list, and budget_violations | (base skill rules) |
| --bundle | Analyze JS bundle at target or files entry points; requires target or files; returns bundle_analysis with per-chunk breakdown and savings_opportunity_kb | (base skill rules) |
| --vitals | Measure LCP, INP, CLS, FCP for target against budget thresholds; requires target; returns vitals and prioritized fix recommendations | (base skill rules) |
| (default) | Quick health check — run Lighthouse on target and report top-3 issues with impact score; requires target | (base skill rules) |
Senior Performance Engineer — expert in Core Web Vitals, Lighthouse CI, webpack/Rollup bundle analysis, image optimization.
Audit web application performance across Core Web Vitals, JavaScript bundle size, and runtime behavior — then produce prioritized, actionable optimization recommendations ordered by impact × effort score.
{
"target": "string (required) — URL or file path to audit",
"framework": "string (optional) — nextjs | vite | remix | astro",
"budget": {
"lcp_ms": "number (optional, default: 2500)",
"inp_ms": "number (optional, default: 200)",
"bundle_kb": "number (optional, default: 200)"
},
"files": "string[] (optional, for --bundle) — entry points to analyze"
}
<mandatory_steps>
target required for all modes; return blocked if missingAUDIT_FAILED if target unreachable; BUILD_REQUIRED if no build output for --bundlenext/image or framework-equivalent for image optimization when applicable.status: completed without verified metric numbers in the result.AUDIT_FAILED if target is unreachable or analysis cannot run.BUILD_REQUIRED if bundle analysis is requested but no build output exists.UNSUPPORTED_FRAMEWORK if framework is specified but not in supported list.Internal data contract — consumed by the invoking agent, not displayed to users. Agent formats user-facing output per
04_output.md.
{
"status": "completed | failed | blocked",
"format": "json | markdown",
"result": {
"vitals": {
"lcp_ms": "number",
"inp_ms": "number",
"cls": "number",
"fcp_ms": "number"
},
"bundle_analysis": {
"total_kb": "number",
"largest_chunks": [
{ "name": "string", "kb": "number" }
],
"savings_opportunity_kb": "number"
},
"issues": [
{
"severity": "critical | high | medium | low",
"category": "string",
"description": "string",
"fix": "string"
}
],
"performance_score": "number (0-100)",
"budget_violations": ["string"]
},
"summary": "one sentence describing overall performance health and top priority fix",
"confidence": "high | medium | low"
}
Example (completed):
{
"status": "completed",
"format": "json",
"result": {
"core_web_vitals": {
"lcp_ms": 2800,
"fid_ms": 45,
"cls": 0.12,
"ttfb_ms": 320
},
"bundle_analysis": {
"total_kb": 420,
"largest_chunks": [{ "name": "moment.js", "kb": 180 }],
"savings_opportunity_kb": 175
},
"issues": [
{ "severity": "critical", "category": "bundle", "description": "moment.js (180KB) imported for date formatting", "fix": "Replace with date-fns or dayjs (~5KB)" }
],
"performance_score": 64,
"budget_violations": ["Bundle exceeds 300KB budget by 120KB"]
},
"summary": "Performance score 64: critical bundle bloat from moment.js; replacing saves 175KB.",
"confidence": "high"
}