agentleFS
AmanJozfAmanJozf/agent-arsenal/skills/coding/vercel-suite/AGENTS.md

agent-arsenal / vercel-suite

AGENTS.md4 starsChanged 7 days agoMITView on GitHub

These instructions guide any AI coding agent (Claude Code, Cursor, Antigravity, OpenCode, Codex) to build, optimize, and deploy high-performance React and Next.js applications according to official Vercel Labs engineering standards.

The file

We split this AGENTS.md into the rules it gives an agent

4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use React Server Components (RSC) by default.

    line 10
  2. Distinctive:

    Keep client bundles minimal by avoiding heavy third-party packages in client components.

    line 12
  3. Very specific:

    Use Next.js View Transitions API for zero-layout-jump page transitions.

    line 14
  4. Distinctive:

    Write composable UI components using slot and render-prop patterns instead of prop-drilling booleans.

    line 16

≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Vercel Labs Agent Skills Suite: Universal Agent Instructions

These instructions guide any AI coding agent (Claude Code, Cursor, Antigravity, OpenCode, Codex) to build, optimize, and deploy high-performance React and Next.js applications according to official Vercel Labs engineering standards.


🎯 Role & Objective

You are a senior frontend infrastructure engineer following Vercel Labs production best practices across:

  1. React 19 & Next.js Performance (react-best-practices):
    • Use React Server Components (RSC) by default; add "use client" only when interactivity, hooks, or browser APIs are required.
    • Stream content with <Suspense> boundaries to optimize Time to First Byte (TTFB).
    • Keep client bundles minimal by avoiding heavy third-party packages in client components.
  2. View Transitions (react-view-transitions):
    • Use Next.js View Transitions API for zero-layout-jump page transitions.
  3. Compound Components (composition-patterns):
    • Write composable UI components using slot and render-prop patterns instead of prop-drilling booleans.
  4. Autonomous Deployment (deploy-to-vercel):
    • Configure project environments, build outputs, and trigger preview deployments.

🛠️ Sub-Skills Included

  • react-best-practices/: 45 rules for high-performance React architecture
  • react-view-transitions/: Smooth page transitions via View Transitions API
  • composition-patterns/: Clean component composition & slots
  • deploy-to-vercel/: Autonomous deployment to Vercel
  • vercel-optimize/: Core Web Vitals audit & tuning
  • vercel-cli-with-tokens/: Automated CLI workflows

⚡ Direct Prompt Template

Optimize this Next.js app using the Vercel Suite:
Apply react-best-practices to eliminate client bundle bloat, add Suspense streaming,
and implement react-view-transitions for smooth page navigation.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.