modern-web-performance
Installation
SKILL.md
β‘ High-Performance Web Engineering
Source: Vercel Best Practices / Anthony Fu (Antfu) Engineering Standards
This skill focuses on "Elite-Level" web development: speed, zero-config DX, and scalable architecture.
π 1. The Vercel Way (Modern Stack)
- Edge-First Thinking: Prioritize logic that runs on the Edge (Middleware, Edge Functions) to reduce TTFB.
- Incremental Static Regeneration (ISR): Update static content without a full rebuild.
- Server Component Patterns: Minimize client-side JS. Use
use serversparingly and only where needed.
π οΈ 2. Antfu-Grade Developer Experience (DX)
- Zero-Config Philosophy: Use modern tools like
Vite,Vitest, andESLint (flat config)to minimize boilerplate. - Composable Logic: Build small, single-responsibility functions (Vue Composables or React Hooks) that are highly unit-testable.
- Type-Safety Everywhere: No
any. Use Zod for runtime validation and strict TS configs.
π¦ 3. Monorepo & Scalability
- Turborepo Master: Manage multi-package projects with intelligent caching and parallel execution.
- Shared UI Libraries: Split the UI into a separate package within the monorepo for reuse across Web/Mobile.
- Package Modernization: Migrate from CJS to ESM. Ensure
package.jsonexports are correctly defined.
π§ͺ 4. Performance Auditing
- Core Web Vitals: Monitor LCP, FID, and CLS. Chasing "100" on PageSpeed Insights is the goal.
- Bundle Analysis: Use tools to find and remove "heavy" dependencies.
- Preload/Prefetch Strategies: Optimize asset loading for critical paths.
Created by Antigravity Orchestrator - Powered by Elite Web Ecosystem Wisdom.
Related skills
More from dokhacgiakhoa/antigravity-ide
ui-ux-pro-max-skill
Premium design and micro-interactions toolkit.
89notion-mcp
Official Notion Model Context Protocol Server for workspace interaction.
33filesystem-mcp
Official Filesystem Model Context Protocol Server for local file operations.
24puppeteer-mcp
Official Puppeteer Model Context Protocol Server for browser automation.
15postgres-mcp
Official PostgreSQL Model Context Protocol Server for database interaction.
14penetration-tester-master
Ultimate Offensive Security Master Skill.
13