nextjs-react-best-practices SKILL.md skillB

nextjs-react-best-practices from joaoguirunas/team-os is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add joaoguirunas/team-os/nextjs-react-best-practices@v1.0

Pins v1.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 16 of 17 checks passed
Kind
SKILL.md skill
Repository
joaoguirunas/team-os
Path
.claude/skills/nextjs-react-best-practices/SKILL.md
Versions recorded
2
Latest version
v1.0, committed Sep 26, 2026
First version recorded
Aug 27, 2026
Size
8,209 bytes
Repository stars
5
License
MIT

Melhores práticas de performance para React e Next.js (App Router) — eliminar waterfalls, reduzir bundle, otimizar Server Components, data fetching, re-renders e Core Web Vitals. Use ao escrever ou revisar componentes React, páginas Next.js, data fetching (server ou client), ou ao investigar bundle size, hydration e lentidão de render.

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

# Next.js + React Best Practices

Skill de performance para código React/Next.js, destilada das regras da engenharia da Vercel (70 regras em 8 categorias, priorizadas por impacto). Usada pelos implementers frontend e fullstack — **dev-dev-alpha, dev-dev-gamma, sites-dev-alpha, sites-dev-beta, sites-dev-gamma** — e pelos reviewers **dev-qa / sites-qa** em code review. Aplique na escrita de componentes novos, em refactors e em auditorias de bundle/render.

## 1. Eliminating Waterfalls (CRITICAL)

**1.1 — Parallelize independent async operations with `Promise.all()`.**

```tsx
// ❌ Sequential — 3 round trips
const user = await getUser(id)
const posts = await getPosts(id)
const stats = await getStats(id)

// ✅ Parallel — 1 round trip window
const [user, posts, stats] = await Promise.all([
  getUser(id), getPosts(id), getStats(id),
])
```

**1.2 — Check cheap conditions before awaiting.** Don't pay for a fetch you might discard.

```tsx
// ❌ fetch always runs
const data = await fetchExpensive()
if (!flag.enabled) return null

// ✅ bail out first
if (!flag.enabled) return null
const data = await fetchExpensive()
```
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add joaoguirunas/team-os/nextjs-react-best-practices@sha256:55c00716d8ca5e01

The line at the top of this page pins the label v1.0, 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_b3tuok5nv7eap5cv.svg)](https://markdownregistry.com/a/art_b3tuok5nv7eap5cv)

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

Versions

The registry has recorded 2 versions of this file, between Aug 27, 2026 and Sep 26, 2026, about one every 31 days.

versioncommittedcommitsizeaudit
v1.0 latest2026-09-26 8a9bf22 8,209 BB view · diff
v1.02026-08-27 3592555 8,207 BB view

Audit of the latest version

B  16 of 17 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: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (8209 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 SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

joaoguirunas/team-os · 5 stars · license MIT · pushed 2026-10-14 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_b3tuok5nv7eap5cv
GET https://markdownregistry.com/api/v1/resolve?ref=joaoguirunas/team-os/nextjs-react-best-practices
GET https://markdownregistry.com/api/v1/blob/55c00716d8ca5e014c75aad838ba6588a6d640824463f504f4004e96809b84f0

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: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from joaoguirunas/team-os

accessibility SKILL.md skill
joaoguirunas/team-os · .claude/skills/accessibility/SKILL.md · Auditar e melhorar acessibilidade web seguindo WCAG 2.2 — inclui padrões específicos para Next.js/Tailwind. Use ao…
v1.2 · audit A · 5 stars
ai-ml-data-science SKILL.md skill
joaoguirunas/team-os · .claude/skills/ai-ml-data-science/SKILL.md · Workflows de ML e ciência de dados — EDA, feature engineering, modelagem, avaliação e handoff para produção. Use ao…
v1.0 · audit A · 5 stars
ai-ml-timeseries SKILL.md skill
joaoguirunas/team-os · .claude/skills/ai-ml-timeseries/SKILL.md · Previsão de séries temporais — LightGBM, Transformers, validação temporal, feature engineering e deploy em produção…
v1.0 · audit A · 5 stars
brand-platform SKILL.md skill
joaoguirunas/team-os · .claude/skills/brand-platform/SKILL.md · Método da plataforma de marca e da arquitetura de marca — público prioritário, território…
v1.0 · audit A · 5 stars
brand-research SKILL.md skill
joaoguirunas/team-os · .claude/skills/brand-research/SKILL.md · Método de pesquisa para reposicionamento — auditoria da marca como ela é hoje (promessa por canal, ativos, coerência…
v1.0 · audit A · 5 stars
brand-rollout SKILL.md skill
joaoguirunas/team-os · .claude/skills/brand-rollout/SKILL.md · Método de implantação de um reposicionamento — pré-condições (voz e visual com PASS, baseline travada, confirmação do…
v1.0 · audit A · 5 stars
brand-tracking SKILL.md skill
joaoguirunas/team-os · .claude/skills/brand-tracking/SKILL.md · Método de medição de marca — scorecard com funil (awareness, consideração, preferência, recomendação), atributos de…
v1.0 · audit A · 5 stars
brand-verbal-identity SKILL.md skill
joaoguirunas/team-os · .claude/skills/brand-verbal-identity/SKILL.md · Método da identidade verbal — dimensões de tom em escala, tabela dizemos/não dizemos por dimensão e contexto, framework…
v1.0 · audit A · 5 stars
brand-visual-system SKILL.md skill
joaoguirunas/team-os · .claude/skills/brand-visual-system/SKILL.md · Método da identidade visual — direções com moodboard e racional, sistema de cor com papéis e contraste medido…
v1.0 · audit A · 5 stars
data-analytics-engineering SKILL.md skill
joaoguirunas/team-os · .claude/skills/data-analytics-engineering/SKILL.md · Analytics engineering para métricas confiáveis e prontidão de BI. Use ao construir modelos dbt, definir métricas ou…
v1.0 · audit A · 5 stars
data-lake-platform SKILL.md skill
joaoguirunas/team-os · .claude/skills/data-lake-platform/SKILL.md · Padrões de data lake e lakehouse — ingestão, CDC, Iceberg/Delta/Hudi, Trino/DuckDB, orquestração e governança…
v1.0 · audit A · 5 stars
data-sql-optimization SKILL.md skill
joaoguirunas/team-os · .claude/skills/data-sql-optimization/SKILL.md · Otimização de SQL para sistemas OLTP — análise de EXPLAIN, indexação, schema design, migrations, alta disponibilidade…
v1.0 · audit A · 5 stars

Every file in joaoguirunas/team-os

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