这是一套给AI编程代理用的技能集合,专门优化Vercel项目。核心技能是vercel optimize,它会先收集项目的性能指标,然后只针对有问题的路由和文件进行深入检查,帮你找出成本、性能、可靠性、缓存、函数使用和计费方面的问题。适合优化已部署的Vercel项目、降低成本和函数调用量、排查慢路由或缓存问题,最后会生成一个按优先级排序的成本和性能报告。另外还有个react best practices技能,里面有Vercel工程团队总结的40多条React和Next.js性能优化规则,分8个类别,写新组件或页面时特别有用。安装后AI代理就能自动应用这些最佳实践。
查看英文原文
Agent Skills A collection of skills for AI coding agents. Skills are packaged instructions and scripts that extend agent capabilities. Skills follow the Agent Skills format. Available Skills vercel optimize Audits a Vercel project for cost, performance, reliability, caching, function usage, and billing opportunities. It collects Vercel metrics first, then investigates only the routes and files those metrics point to. Use when: Optimizing a deployed Vercel project Reducing Vercel costs or function usage Investigating slow or expensive routes Finding caching, ISR, middleware, image, or build minute issues Producing a ranked cost and performance report react best practices React and Next.js performance optimization guidelines from Vercel Engineering. Contains 40+ rules across 8 categories, prioritized by impact. Use when: Writing new React components or Next.js pages Implementing data fetching (client or server side) Reviewing code for performance issues Optimizing bundle size or load times Categories covered: Eliminating waterfalls (Critical) Bundle size optimization (Critical) Server side performance (High) Client side data fetching (Medium High) Re render optimization (Medium) Rendering performance (Medium) JavaScript micro optimizations (Low Medium) web design guidelines Review UI code for compliance with web interface best practices. Audits your code for 100+ rules covering accessibility, performance, and UX. Use when: "Review my UI" "Check accessibility" "Audit design" "Review UX" "Check my site against best practices" Categories covered: Accessibility (aria labels, semantic HTML, keyboard handlers) Focus States (visible focus, focus visible patterns) Forms (autocomplete, validation, error handling) Animation (prefers reduced motion, compositor friendly transforms) Typography (curly quotes, ellipsis, tabular nums) Images (dimensions, lazy loading, alt text) Performance (virtualization, layout thrashing, preconnect) Navigation & State (URL reflects state, deep lin