Skip to content
Agent Orchestration
Skill

/modern-web-performance

**Source**: Vercel Best Practices / Anthony Fu (Antfu) Engineering Standards

BOOST
From plugin
agent-skills-4-vibe-coding-cli
5085 skills
Install
$ npx -y skills add dokhacgiakhoa/agent-skills-4-vibe-coding-cli --skill modern-web-performance --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/modern-web-performance

Context preview

The summary Claude sees to decide when to auto-load this skill.

**Source**: Vercel Best Practices / Anthony Fu (Antfu) Engineering Standards

SKILL.md

modern-web-performance.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 server` sparingly and only where needed.

🛠️ 2. Antfu-Grade Developer Experience (DX)

  • **Zero-Config Philosophy**: Use modern tools like `Vite`, `Vitest`, and `ESLint (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.json` exports 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.*

Read more