performance-optimization
Diagnose and fix web performance issues including Core Web Vitals (LCP, INP, CLS), bundle size, asset optimization, render performance, and runtime efficiency.
Skill by rampstackco
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/rampstackco-performance-optimization
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: security, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/performance-optimization
What's inside
- Skill name
performance-optimization- Description
- Diagnose and fix web performance issues including Core Web Vitals (LCP, INP, CLS), bundle size, asset optimization, render performance, and runtime efficiency. Use this skill whenever the user wants to improve page speed, fix Core Web Vitals, optimize assets, reduce bundle size, debug slow renders, or systematically improve a site's performance. Triggers on performance, page speed, Core Web Vitals, LCP, INP, CLS, FID, TTFB, bundle size, code splitting, image optimization, lazy loading, render blocking, slow page, performance audit, Lighthouse score. Also triggers when traffic or conversion is dropping due to perceived slowness.
- License
- MIT
- Instructions
- 274 lines in SKILL.md · view on GitHub
Files (5)
- SKILL.md
- _claude-frontmatter-extras.yaml · references/
- audit-template.md · references/
- optimization-checklist.md · references/
- optimization-playbook.md · references/
SKILL.md (first lines)
# Performance Optimization Diagnose web performance issues and produce a remediation plan. Stack-agnostic. Anchored to Core Web Vitals and standard browser performance patterns. This skill goes deeper than the performance checks in `qa-testing` and `seo-technical`. Use this when performance itself is the goal. --- ## When to use - Fixing Core Web Vitals (LCP, INP, CLS) - Diagnosing slow page loads - Reducing JavaScript bundle size - Optimizing images, fonts, and other assets - Fixing layout shift, render-blocking resources, jank - Pre-launch performance verification - Annual performance health check ## When NOT to use - General QA after deploys (use `qa-testing`) - Technical SEO including indexing and crawling (use `seo-technical`) - Code review for general bugs (use `code-review-web`) --- ## Required inputs - The site or page under audit - Specific performance complaints if any - Target metrics (Core Web Vitals thresholds, Lighthouse score, custom) - Browser dev tools access - Performance monitoring data if available (Real User Monitoring, lab data) --- ## The framework: Core Web Vitals Three metrics carry most of the weight for both user experience and SEO: ### LCP (Largest Contentful Paint) **What it measures:** Time until the largest visible content element finishes rendering. **Targets:** - Good: under 2.5 seconds - Needs improvement: 2.5 to 4.0 seconds - Poor: over 4.0 seconds **Common causes of poor LCP:** - Slow server response time (TTFB over 800ms) - Render-blocking JavaScript or CSS - Large unoptimized images for the LCP element - Late-loading fonts that delay text render - Client-side rendering of the LCP element **Common fixes:** - Server-render the LCP element (no client-side render) - Optimize the LCP image (right format, right size, preloaded) - Reduce render-blocking resources (defer non-critical CSS and JS) - Use modern image formats (WebP, AVIF) - Specify image dimensions to skip layout pass ### INP (Interaction to Next Paint) **What it measures:** Responsiveness to user interactions. Replaces FID as the standard interactivity metric. **Targets:** - Good: under 200ms - Needs improvement: 200 to 500ms - Poor: over 500ms **Common causes of poor INP:** - Long-running JavaScript blocking the main thread - Heavy event handlers - Excessive React/framework re-renders - Synchronous operations in event handlers - Large DOM with expensive layouts **Common fixes:** - Break long tasks into chunks (`scheduler.yield()` or `setTimeout`) - Memoize expensive computations - Debounce or throttle high-frequency event handlers (scroll, mousemove, input) - Avoid synchronous storage or DOM operations in handlers - Reduce DOM size (under 1500 elements ideal) - Use CSS over JS for animations where possible ### CLS (Cumulative Layout Shift) **What it measures:** How much the page jumps around as it loads. Unexpected layout shifts hurt usability. **Targets:** - Good: under 0.1 - Needs improvement: 0.1 to 0.25 - Poor: over 0.25 **Common causes of poor CLS:** - Images without explicit dimensions - Ads, embeds, iframes that load late - Dynamically injected content above existing content - Web fonts causing FOIT/FOUT (flash of invisible/unstyled text) - CSS that depends on JS-loaded data **Common fixes:** - Always specify `width` and `height` (or `aspect-ratio`) on images and videos - Reserve space for ads and embeds before they load - Use `font-display: optional` or `font-display: swap` thoughtfully - Avoid injecting content above the fold after initial render - Preload critical fonts --- ## Beyond Core Web Vitals ### Time to First Byte (TTFB) The server response time. Bad TTFB makes everything else worse. **Targets:** under 800ms ideal.
From rampstackco/claude-skills, MIT.
More from rampstackco/claude-skills
- 0.612score
dispatch-authoring
rampstackco
Write the structured handoff from a planning session to a coding agent: a dispatch with a header, Gate 0 checks, scope, specification, verification, delivery…
SkillAFreshness: A★ 992Claude Code +9 - 0.612score
oss-contribution-research
rampstackco
Research and prepare an outside contribution to an open-source repo, then stop at a queue item for a human to approve: policy check, intake, duplicate check…
SkillAFreshness: A★ 992Claude Code +9 - 0.612score
ticket-authoring
rampstackco
Write complete, ready-to-pull work items for an issue tracker: bugs, tasks, stories, spikes, and epics, each with the fields, attachments, and done test its…
SkillAFreshness: A★ 992Claude Code +9 - 0.578score
after-action-report
rampstackco
Run a structured after-action review (postmortem, retrospective) on a launch, incident, or completed project to capture timeline, root cause analysis…
SkillBFreshness: B★ 992Claude Code +9 - 0.578score
art-direction
rampstackco
Direct visual and creative work for campaigns, photography, illustration, video, and branded experiences.
SkillBFreshness: B★ 992Claude Code +9 - 0.578score
backup-and-disaster-recovery
rampstackco
Plan and run backups, set recovery objectives, and run disaster recovery drills.
SkillBFreshness: B★ 992Claude Code +9 - 0.578score
analytics-strategy
rampstackco
Design measurement frameworks including event taxonomy, KPI hierarchy, dashboard architecture, attribution models, and analytics implementation strategy.
SkillBFreshness: B★ 992Claude Code +9 - 0.578score
brand-discovery
rampstackco
Run upstream brand discovery covering audience research, competitive landscape, category dynamics, problem space, and positioning territory exploration.
SkillBFreshness: B★ 992Claude Code +9 - 0.578score
brand-ideation
rampstackco
Generate, evaluate, and narrow brand concepts during early ideation including positioning territories, naming candidates, mood directions, and narrative angles.
SkillBFreshness: B★ 992Claude Code +9 - 0.578score
brand-identity
rampstackco
Design or evaluate a brand visual identity system covering logo, color, typography, imagery direction, iconography, and motion principles.
SkillBFreshness: B★ 992Claude Code +9 - 0.578score
brand-style-guide
rampstackco
Build or audit a comprehensive brand style guide that documents the full brand system including story, logo system, color, typography, imagery, voice…
SkillBFreshness: B★ 992Claude Code +9 - 0.578score
beta-program-management
rampstackco
Running closed and open betas that produce real signal.
SkillBFreshness: B★ 992Claude Code +9
Signals
- Stars
- 992
- Forks
- 134
- Open issues
- 2
- Last commit (this folder)
- Sep 15, 2026 (1 month ago)
- Last release
- May 8, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/rampstackco/claude-skills
- Website
- rampstack.co
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.319score
performance-optimization
rampstackco
Diagnose and fix web performance issues including Core Web Vitals (LCP, INP, CLS), bundle size, asset optimization, render performance, and runtime efficiency.
SkillAFreshness: A★ 992Claude Code +9 - 0.301score
performance-optimization
rampstackco
Diagnose and fix web performance issues including Core Web Vitals (LCP, INP, CLS), bundle size, asset optimization, render performance, and runtime efficiency.
SkillBFreshness: B★ 992Claude Code +9
More from rampstackco
- 0.612score
ticket-authoring
rampstackco
Write complete, ready-to-pull work items for an issue tracker: bugs, tasks, stories, spikes, and epics, each with the fields, attachments, and done test its…
SkillAFreshness: A★ 992Claude Code +9 - 0.612score
oss-contribution-research
rampstackco
Research and prepare an outside contribution to an open-source repo, then stop at a queue item for a human to approve: policy check, intake, duplicate check…
SkillAFreshness: A★ 992Claude Code +9 - 0.612score
dispatch-authoring
rampstackco
Write the structured handoff from a planning session to a coding agent: a dispatch with a header, Gate 0 checks, scope, specification, verification, delivery…
SkillAFreshness: A★ 992Claude Code +9 - 0.578score
after-action-report
rampstackco
Run a structured after-action review (postmortem, retrospective) on a launch, incident, or completed project to capture timeline, root cause analysis…
SkillBFreshness: B★ 992Claude Code +9 - 0.578score
art-direction
rampstackco
Direct visual and creative work for campaigns, photography, illustration, video, and branded experiences.
SkillBFreshness: B★ 992Claude Code +9 - 0.578score
analytics-strategy
rampstackco
Design measurement frameworks including event taxonomy, KPI hierarchy, dashboard architecture, attribution models, and analytics implementation strategy.
SkillBFreshness: B★ 992Claude Code +9
Cite this page
performance-optimization skill. Agent Mart. https://agentmart.dev/skills/rampstackco-performance-optimization (last updated 2026-10-24)