AGENTS.md@resources/skills/react-best-practicesB

AGENTS.md@resources/skills/react-best-practices from cowork-os/cowork-os is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add cowork-os/cowork-os/resources/skills/react-best-practices/AGENTS.md@git:20261018.c052e4d

Pins git:20261018.c052e4d in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 13 of 14 checks passed
Kind
AGENTS.md file
Repository
cowork-os/cowork-os
Path
resources/skills/react-best-practices/AGENTS.md
Versions recorded
1
Latest version
git:20261018.c052e4d, committed Oct 18, 2026
Size
91,079 bytes
Repository stars
535
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 — Complete Guide

Generated from the bundled rules by `node scripts/qa/build-react-best-practices-guide.mjs`. Edit individual rules, then regenerate this guide.

# Sections

This file defines all sections, their ordering, impact levels, and descriptions.
The section ID (in parentheses) is the filename prefix used to group rules.

---

## 1. Eliminating Waterfalls (async)

**Impact:** CRITICAL
**Description:** Waterfalls are the #1 performance killer. Each sequential await adds full network latency. Eliminating them yields the largest gains.

## 2. Bundle Size Optimization (bundle)

**Impact:** CRITICAL
**Description:** Reducing initial bundle size improves Time to Interactive and Largest Contentful Paint.

## 3. Server-Side Performance (server)

**Impact:** HIGH
**Description:** Optimizing server-side rendering and data fetching eliminates server-side waterfalls and reduces response times.

## 4. Client-Side Data Fetching (client)

**Impact:** MEDIUM-HIGH
**Description:** Automatic deduplication and efficient data fetching patterns reduce redundant network requests.

## 5. Re-render Optimization (rerender)

**Impact:** MEDIUM
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add cowork-os/cowork-os/resources/skills/react-best-practices/AGENTS.md@sha256:2dcb3ecc21aa386d

The line at the top of this page pins the label git:20261018.c052e4d, 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_57io4xync3zyai24.svg)](https://markdownregistry.com/a/art_57io4xync3zyai24)

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

Versions

The registry has recorded 1 version of this file, committed on Oct 18, 2026.

versioncommittedcommitsizeaudit
git:20261018.c052e4d latest2026-10-18 c052e4d 91,079 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 (91079 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

cowork-os/cowork-os · 535 stars · license MIT · pushed 2026-11-06 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_57io4xync3zyai24
GET https://markdownregistry.com/api/v1/resolve?ref=cowork-os/cowork-os/resources/skills/react-best-practices/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/2dcb3ecc21aa386d499423286d5a0eb835867bc15c9755a19bc54772eb0cc2a2

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 cowork-os/cowork-os

attack-path-analysis SKILL.md skill
cowork-os/cowork-os · resources/plugin-packs/codex-security/skills/attack-path-analysis/SKILL.md · Use when Codex is already in the attack-path-analysis phase of a security scan or the user explicitly asks to trace a…
git:20260919.4f2a470 · audit A · 535 stars
deep-security-scan SKILL.md skill
cowork-os/cowork-os · resources/plugin-packs/codex-security/skills/deep-security-scan/SKILL.md · Use when the user asks for a deep, exhaustive, multi-pass, or variance-reducing repository-wide Codex Security scan…
git:20260606.a4decec · audit A · 535 stars
finding-discovery SKILL.md skill
cowork-os/cowork-os · resources/plugin-packs/codex-security/skills/finding-discovery/SKILL.md · Use when Codex is already in the finding-discovery phase of a security scan or the user explicitly asks to discover…
git:20260919.ad0495b · audit A · 535 stars
fix-finding SKILL.md skill
cowork-os/cowork-os · resources/plugin-packs/codex-security/skills/fix-finding/SKILL.md · Use when the user explicitly asks to fix and verify a validated or plausible security finding. Do not use as the…
git:20260606.a4decec · audit A · 535 stars
security-diff-scan SKILL.md skill
cowork-os/cowork-os · resources/plugin-packs/codex-security/skills/security-diff-scan/SKILL.md · Use when the user asks for a security review of a pull request, commit, branch diff, working-tree patch, or other…
git:20260919.c03e78b · audit A · 535 stars
security-scan SKILL.md skill
cowork-os/cowork-os · resources/plugin-packs/codex-security/skills/security-scan/SKILL.md · Use when the user asks for a repository-wide or scoped-path security scan.
git:20260919.7b075ca · audit A · 535 stars
threat-model SKILL.md skill
cowork-os/cowork-os · resources/plugin-packs/codex-security/skills/threat-model/SKILL.md · Use when Codex is already in the threat-modeling phase of a security scan, the user explicitly invokes $threat-model…
git:20260606.a4decec · audit A · 535 stars
validation SKILL.md skill
cowork-os/cowork-os · resources/plugin-packs/codex-security/skills/validation/SKILL.md · Use when Codex is already in the validation phase of a security scan or the user explicitly asks to determine whether…
git:20260606.a4decec · audit A · 535 stars
1password SKILL.md skill
cowork-os/cowork-os · resources/skills/1password/SKILL.md · Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or…
v1.0.0 · audit A · 535 stars
add-documentation SKILL.md skill
cowork-os/cowork-os · resources/skills/add-documentation/SKILL.md · Generate JSDoc/docstrings for functions
v1.0.0 · audit A · 535 stars
agentic-image-loop SKILL.md skill
cowork-os/cowork-os · resources/skills/agentic-image-loop/SKILL.md · Generate -> annotate -> refine -> repeat using generate_image + Visual Annotator (Live Canvas).
v1.0.0 · audit A · 535 stars
analyze-csv SKILL.md skill
cowork-os/cowork-os · resources/skills/analyze-csv/SKILL.md · Load a CSV and provide insights
v1.0.0 · audit A · 535 stars

Every file in cowork-os/cowork-os

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