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/nth5693-performance
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
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
performance- Description
- None
- License
- MIT
- Instructions
- 131 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Agent Skills spec issues
- missing YAML frontmatter
- name: missing
- description: missing
Files (1)
- SKILL.md
SKILL.md (first lines)
# Performance Optimization Skill
## Overview
Performance profiling, optimization techniques, and caching strategies.
## Core Web Vitals
### LCP (Largest Contentful Paint) < 2.5s
```typescript
// Optimize images
<Image
src="/hero.jpg"
alt="Hero"
priority // Preload
sizes="100vw"
placeholder="blur"
/>
// Preload critical resources
<link rel="preload" href="/fonts/inter.woff2" as="font" crossOrigin="" />
```
### CLS (Cumulative Layout Shift) < 0.1
```css
/* Reserve space for images */
img {
aspect-ratio: 16 / 9;
width: 100%;
height: auto;
}
/* Skeleton loaders */
.skeleton {
background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
animation: shimmer 1.5s infinite;
}
```
### INP (Interaction to Next Paint) < 200ms
```typescript
// Defer non-critical work
import { startTransition } from 'react';
startTransition(() => {
setExpensiveState(newValue);
});
// Use web workers for heavy computation
const worker = new Worker('/heavy-task.js');
worker.postMessage(data);
```
## JavaScript Optimization
### Code Splitting
```typescript
// Dynamic imports
const HeavyComponent = lazy(() => import('./HeavyComponent'));
// Route-based splitting (Next.js does this automatically)
import dynamic from 'next/dynamic';
const Chart = dynamic(() => import('./Chart'), { ssr: false });
```
### Bundle Analysis
```bash
# Next.js
npx @next/bundle-analyzer
# Webpack
npx webpack-bundle-analyzer stats.json
```
### Tree Shaking
```typescript
// ❌ Import entire library
import _ from 'lodash';
_.debounce(fn, 300);
// ✅ Import specific function
import debounce from 'lodash/debounce';
debounce(fn, 300);
```
## Caching Strategies
### HTTP Caching
```typescript
// Static assets (1 year)
Cache-Control: public, max-age=31536000, immutable
// API responses (5 minutes with revalidation)
Cache-Control: public, max-age=300, stale-while-revalidate=60
```
### React Query / SWR
```typescript
const { data } = useQuery({
queryKey: ['users'],
queryFn: fetchUsers,
staleTime: 5 * 60 * 1000, // 5 minutes
cacheTime: 30 * 60 * 1000, // 30 minutes
});
```
### Service Worker
```typescript
// Cache-first strategy for static assets
self.addEventListener('fetch', (event) => {
event.respondWith(
caches.match(event.request).then((cached) => {
return cached || fetch(event.request);
})
);
});
```
## Database Query Optimization
```sql
-- Add indexesFrom nth5693/gemini-kit, MIT.
More from nth5693/gemini-kit
- 0.541score
supabase
nth5693
Database, auth, and backend expertise for Supabase operations in [PROJECT_NAME]
SkillDFreshness: D★ 371Claude Code +9 - 0.536score
code-review
nth5693
Systematic multi-perspective code review with consistent quality gates.
SkillDFreshness: D★ 371Claude Code +9 - 0.533score
compound-docs
nth5693
Document solved problems for knowledge persistence
SkillDFreshness: D★ 371Claude Code +9 - 0.533score
file-todos
nth5693
Manage file-based todo tracking in the todos/ directory
SkillDFreshness: D★ 371Claude Code +9 - 0.533score
session-resume
nth5693
Resume context from previous session
SkillDFreshness: D★ 371Claude Code +9 - 0.532score
debug
nth5693
Systematic debugging with structured reproduction and root cause analysis.
SkillDFreshness: D★ 371Claude Code +9 - 0.511score
testing
nth5693
Unified testing commands and patterns across frontend and backend.
SkillDFreshness: D★ 371Claude Code +9 - 0.291score
tailwind
nth5693
No description from the publisher yet.
SkillDFreshness: D★ 371Claude Code +9 - 0.291score
api-design
nth5693
No description from the publisher yet.
SkillDFreshness: D★ 371Claude Code +9 - 0.291score
docker
nth5693
No description from the publisher yet.
SkillDFreshness: D★ 371Claude Code +9 - 0.291score
mobile
nth5693
No description from the publisher yet.
SkillDFreshness: D★ 371Claude Code +9 - 0.291score
nextjs
nth5693
No description from the publisher yet.
SkillDFreshness: D★ 371Claude Code +9
Signals
- Stars
- 371
- Forks
- 32
- Open issues
- 3
- Last commit (this folder)
- Jan 22, 2026 (9 months ago)
- Last release
- Jan 22, 2026 (9 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/nth5693/gemini-kit
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from nth5693
- 0.541score
supabase
nth5693
Database, auth, and backend expertise for Supabase operations in [PROJECT_NAME]
SkillDFreshness: D★ 371Claude Code +9 - 0.536score
code-review
nth5693
Systematic multi-perspective code review with consistent quality gates.
SkillDFreshness: D★ 371Claude Code +9 - 0.533score
compound-docs
nth5693
Document solved problems for knowledge persistence
SkillDFreshness: D★ 371Claude Code +9 - 0.533score
file-todos
nth5693
Manage file-based todo tracking in the todos/ directory
SkillDFreshness: D★ 371Claude Code +9 - 0.533score
session-resume
nth5693
Resume context from previous session
SkillDFreshness: D★ 371Claude Code +9 - 0.532score
debug
nth5693
Systematic debugging with structured reproduction and root cause analysis.
SkillDFreshness: D★ 371Claude Code +9
Cite this page
performance skill. Agent Mart. https://agentmart.dev/skills/nth5693-performance (last updated 2026-10-24)