perf

Identify and reduce performance bottlenecks in Node.js, browser, and Lighthouse workflows.

24|6|Updated Dec 19, 2025
One-click install
npx skills add https://github.com/johnlindquist/claude --skill perf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: perf
Source: https://github.com/johnlindquist/claude/tree/main/skills/perf
Command: npx skills add https://github.com/johnlindquist/claude --skill perf

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires lighthouse, google-generativeai, and includes scripts (resource) components.

What problem does it solve?

This Skill automates performance profiling and optimization, saving you from manual benchmarking and complex performance analysis.

Quick Start

Run a Lighthouse performance audit on the production website to identify optimization opportunities.

Frequently Asked Questions about perf

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I identify performance bottlenecks in my Node.js scripts?

Performance bottlenecks in Node.js scripts can be identified using profiling tools that measure execution time and resource usage. This Skill uses perf_hooks and V8 profiling to localize hotspots in your code, then generates optimization recommendations based on the data collected.

Can I run performance audits on production websites?

Yes. This Skill runs Lighthouse performance audits on production websites to benchmark page speed and identify optimization opportunities. Lighthouse generates detailed metrics that the Skill analyzes to surface concrete improvements.

What's the best way to profile memory usage and heap snapshots?

Memory profiling and heap snapshots capture memory allocation patterns to find leaks and inefficiencies. This Skill automates heap snapshot collection and analysis, using Gemini to interpret the data and recommend memory optimization strategies.

Does this work with browser-based web pages?

Yes. This Skill supports performance profiling for browser-based web pages through Lighthouse audits. It measures metrics like Core Web Vitals and rendering performance, then delivers actionable optimization recommendations.

What do I need to run performance profiling and optimization?

You need Node.js installed, plus Lighthouse for audit workflows and Gemini for AI-powered analysis. The Skill handles perf_hooks, V8 profiling, and memory profiling internally once these dependencies are available.

How does this automate the benchmarking workflow?

Benchmarking typically requires manual setup, execution, and analysis. This Skill automates the entire workflow: it runs profiling, collects benchmark results, localizes hotspots, and generates optimization recommendations without manual intervention.