AGENTS.md@.github/skills/vercel-react-best-practicesB

This file is byte-identical to the first copy the registry indexed, one of 6 indexed copies. Same content hash, so the same checks give both the same grade.

AGENTS.md@.github/skills/vercel-react-best-practices from akiojin/llmlb is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add akiojin/llmlb/.github/skills/vercel-react-best-practices/AGENTS.md@git:20260117.db0ed9b

Pins git:20260117.db0ed9b in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 13 of 14 checks passed
Kind
AGENTS.md file
Repository
akiojin/llmlb
Path
.github/skills/vercel-react-best-practices/AGENTS.md
Versions recorded
1
Latest version
git:20260117.db0ed9b, committed Jan 17, 2026
Size
65,538 bytes
Repository stars
10
License
MIT

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# React Best Practices

**Version 1.0.0**  
Vercel Engineering  
January 2026

> **Note:**  
> This document is mainly for agents and LLMs to follow when maintaining,  
> generating, or refactoring React and Next.js codebases at Vercel. Humans  
> may also find it useful, but guidance here is optimized for automation  
> and consistency by AI-assisted workflows.

---

## Abstract

Comprehensive performance optimization guide for React and Next.js applications, designed for AI agents and LLMs. Contains 40+ rules across 8 categories, prioritized by impact from critical (eliminating waterfalls, reducing bundle size) to incremental (advanced patterns). Each rule includes detailed explanations, real-world examples comparing incorrect vs. correct implementations, and specific impact metrics to guide automated refactoring and code generation.

---

## Table of Contents

1. [Eliminating Waterfalls](#1-eliminating-waterfalls) — **CRITICAL**
   - 1.1 [Defer Await Until Needed](#11-defer-await-until-needed)
   - 1.2 [Dependency-Based Parallelization](#12-dependency-based-parallelization)
   - 1.3 [Prevent Waterfall Chains in API Routes](#13-prevent-waterfall-chains-in-api-routes)
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add akiojin/llmlb/.github/skills/vercel-react-best-practices/AGENTS.md@sha256:abcae0302cfe0b94

The line at the top of this page pins the label git:20260117.db0ed9b, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_hmg2qtgr74z7rnvx.svg)](https://markdownregistry.com/a/art_hmg2qtgr74z7rnvx)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Jan 17, 2026.

versioncommittedcommitsizeaudit
git:20260117.db0ed9b latest2026-01-17 db0ed9b 65,538 BB view

Audit of the latest version

B  13 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: No script tag (matched: <script)
  • pass: Size between 200 bytes and 200 KB (65538 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address

Starting a new one? Use a template for AGENTS.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

akiojin/llmlb · 10 stars · license MIT · pushed 2026-10-19 · branch develop

API

GET https://markdownregistry.com/api/v1/artifacts/art_hmg2qtgr74z7rnvx
GET https://markdownregistry.com/api/v1/resolve?ref=akiojin/llmlb/.github/skills/vercel-react-best-practices/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/abcae0302cfe0b942865a3638f228d62176fc85a07665a78ba70082306488d56

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.

More from akiojin/llmlb

llmlb-cli-usage SKILL.md skill
akiojin/llmlb · .claude-plugin/plugins/llmlb-cli/skills/llmlb-cli-usage/SKILL.md · Practical guide for llmlb assistant CLI commands replacing the legacy MCP server flow.
git:20260217.ce936da · audit A · 10 stars
frontend-design SKILL.md skill
akiojin/llmlb · .claude/skills/frontend-design/SKILL.md · Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to…
git:20251210.21a3743 · audit A · 10 stars
gwt-project-index SKILL.md skill
akiojin/llmlb · .claude/skills/gwt-project-index/SKILL.md · Semantic search over project source files using vector embeddings. Use to find files related to a feature, bug, or…
git:20260323.f9c62b8 · audit A · 10 stars
Writing Hookify Rules SKILL.md skill
akiojin/llmlb · .claude/skills/hookify-writing-rules/SKILL.md · This skill should be used when the user asks to "create a hookify rule", "write a hook rule", "configure hookify", "add…
v0.1.0 · audit A · 10 stars
llmlb-cli-usage SKILL.md skill
akiojin/llmlb · .claude/skills/llmlb-cli-usage/SKILL.md · Practical guide for llmlb assistant CLI commands replacing the legacy MCP server flow.
git:20260217.ce936da · audit A · 10 stars
mcp-server-development SKILL.md skill
akiojin/llmlb · .claude/skills/mcp-server-development/SKILL.md · Expert guidance for building MCP (Model Context Protocol) servers using the TypeScript SDK. Use when developing MCP…
git:20251209.e4c7d3c · audit A · 10 stars
AGENTS.md@.claude/skills/vercel-react-best-practices AGENTS.md file
akiojin/llmlb · .claude/skills/vercel-react-best-practices/AGENTS.md
git:20260117.db0ed9b · audit B · 10 stars
vercel-react-best-practices SKILL.md skill
akiojin/llmlb · .claude/skills/vercel-react-best-practices/SKILL.md · React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing…
v1.0.0 · audit A · 10 stars
web-design-guidelines SKILL.md skill
akiojin/llmlb · .claude/skills/web-design-guidelines/SKILL.md · Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit…
v1.0.0 · audit A · 10 stars
plan SKILL.md skill
akiojin/llmlb · .codex/skills/.system/plan/SKILL.md · Generate a plan for how an agent should accomplish a complex coding task. Use when a user asks for a plan, and…
git:20251220.c8aeac1 · audit A · 10 stars
skill-creator SKILL.md skill
akiojin/llmlb · .codex/skills/.system/skill-creator/SKILL.md · Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an…
git:20251220.bd07ff6 · audit A · 10 stars
skill-installer SKILL.md skill
akiojin/llmlb · .codex/skills/.system/skill-installer/SKILL.md · Install Codex skills into $CODEX_HOME/skills from a curated list or a GitHub repo path. Use when a user asks to list…
git:20251220.8162c99 · audit A · 10 stars

Every file in akiojin/llmlb

Browse by kind, by grade B, or by owner.