performance-optimization

Community

Optimize performance, deliver speed.

Authorfattits30-dev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill identifies and resolves performance bottlenecks across React UI, SQLite database, and Electron builds. It eliminates slow user experiences and ensures your application runs smoothly and efficiently.

Core Features & Use Cases

  • React Rendering Analysis: Profiles UI for unnecessary re-renders, memoizes components, and optimizes context usage.
  • SQLite Query Optimization: Analyzes query plans, recommends missing indexes, and configures database for optimal speed (e.g., WAL mode).
  • Bundle Size Reduction: Identifies large dependencies, enables tree-shaking, and suggests dynamic imports for faster load times.
  • Use Case: When the UI feels sluggish, Claude profiles React components, analyzes SQLite query plans, and suggests code-splitting strategies, instantly pinpointing and fixing performance issues to deliver a smooth user experience.

Quick Start

Profile React components using DevTools

pnpm dev

Then open browser, React DevTools -> Profiler -> Record

Analyze SQLite query plans

sqlite3 justice.db "EXPLAIN QUERY PLAN SELECT * FROM cases WHERE user_id = 1;"

Analyze bundle size after build

pnpm build pnpm exec vite-bundle-visualizer

Dependency Matrix

Required Modules

vite-bundle-visualizerbetter-sqlite3

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: performance-optimization
Download link: https://github.com/fattits30-dev/Justice-Companion/archive/main.zip#performance-optimization

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.