maelrx/skills-aletheia/07-performance-scalability
Claude Code and agent skill by maelrx/skills-aletheia
- community
Checking that the SKILL.md file is still in the repository.
Use when auditing or improving speed, responsiveness, Core Web Vitals, caching, database performance, API response times, image optimization, bundle size, rendering strategy, and launch scalability.
Install
npx vskill@latest install maelrx/skills-aletheia/07-performance-scalabilitySKILL.md
The same SKILL.md was published earlier as maelrx/skills-aletheia/07-performance-scalability.
Performance and Scalability
Mission
Make the system fast enough for real users, real devices, real data volume, and launch traffic. AI-generated apps often work in localhost while hiding huge bundles, unoptimized images, unindexed queries, zero caching, and fragile serverless/database behavior.
Use when
- The user asks about performance, scaling, slow pages, launch readiness, PageSpeed, Core Web Vitals, Supabase performance, Vercel limits, API latency, or bundle size.
Targets
- LCP under 2.5s.
- INP under 200ms.
- CLS under 0.1.
- First Load JS ideally under 200KB for typical pages.
- List queries paginated.
- External calls have explicit timeouts.
- Serverless database connections use pooling where applicable.
Workflow
1. Identify framework and build profile
Look for route sizes, first-load JS, static/dynamic rendering, and build warnings.
2. Audit Core Web Vitals and loading UX
If URL is available, use PageSpeed/Lighthouse or provider analytics. In code, search:
Required:
- skeleton/loading states for slow routes;
- error boundaries;
- stable image dimensions;
- font loading does not cause major layout shifts.
3. Audit images
Required:
- use
next/imageor equivalent optimizer; - width/height/alt set;
- above-the-fold images prioritized;
- large images compressed and modern formats preferred;
- lazy loading below the fold.
4. Audit bundle and client boundaries
Red flags:
use clientat layout/root level without need;- giant libraries imported into common paths;
- charts/editors/maps loaded on first page load;
- no dynamic import for heavy components.
5. Audit caching and rendering strategy
Required:
- SSG/ISR for stable pages;
- SSR only where freshness requires it;
- SWR/React Query for client-side data fetching;
- API cache headers for cacheable responses;
- avoid
no-storeeverywhere.
6. Audit database performance
Required:
- pagination on all list queries;
- indexes on frequent filters;
- no N+1 loops;
- no full-table
select('*')without filters; - connection pooling in serverless.
7. Audit API performance
Search external calls and payload size:
Required:
- explicit timeouts;
- streaming for long AI responses;
- minimal payloads;
- background jobs for heavy work;
- avoid blocking user requests on non-critical operations.
8. Basic load readiness
If allowed:
Or provide a k6 script for the user to run. Record provider limits and expected launch traffic.
Output contract
Stop criteria
Stop and warn before load-testing production at meaningful volume, changing cache semantics on critical data, or modifying database indexes/migrations without backup/approval.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/07-performance-scalability/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/maelrx/skills-aletheia/07-performance-scalability)