/no-mistakes-rules:react-rulesfrom no-mistakes-rules
Provides React and Next.js best practices covering rendering, server/client boundaries, caching, metadata, routing, and accessibility. Loads automatically when writing or reviewing components, hooks, or Next.js pages.
Ships in no-mistakes-rules. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
MUST NOT is a defect. SHOULD NOT needs a stated reason.
?? or || on a ReactNode where null, false, or "" is a deliberate render; check explicitly.use(Promise.resolve(x)); use the value or pass the existing promise.metadata or generateMetadata outside route segment files.<script> tags for executable code in Next.js without a loading or execution-order requirement that next/script cannot meet.force-cache, cache directives) to request-time or authenticated routes.toLocaleString or Intl formatting when server rendering and hydration must produce identical text. Use an explicit locale to avoid hydration mismatches. Browser-only formatting after hydration can use the browser locale.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub jonathanong/no-mistakes --plugin no-mistakes-rules15 skills in this plugin
/dependency-rulesLoad before adding, upgrading, or removing a dependency, or editing package.json, a lockfile (pnpm-lock.yaml, package-lock.json), a Dependabot config, or an npm publish step. Lists the defects to avoid and the patterns that need a stated reason./github-actions-rulesLoad before writing, reviewing, or debugging anything under .github/workflows (ci.yml, release.yml, publish.yml), a composite action, a required check, or a CI failure. Lists the defects to avoid and the patterns that need a stated reason: pinning, permissions, untrusted input, timeouts, gating on other workflows, required checks, concurrency, runners, masked failures in CI output./infra-rulesLoad before writing or reviewing infrastructure and ops code: OpenTofu or Terraform, IAM policies, secrets stores, provisioning or cleanup scripts, shell scripts, health probes, or code whose correctness depends on how many instances run. Lists the defects to avoid and the patterns that need a stated reason./integrations-rulesLoad before writing or reviewing code that calls, parses, or receives a third-party API or webhook (Stripe, Twilio, Slack, a partner REST API). Lists the defects to avoid and the patterns that need a stated reason: response classification, retries and idempotency, delivery records, payload mapping, timestamps and units, batch failures, signature verification./native-app-rulesLoad before writing or reviewing Swift or SwiftUI (iOS, macOS) or C# and .NET MAUI app code. Lists the defects to avoid and the patterns that need a stated reason: concurrency, localization, secure storage, release config./observability-rulesLoad before adding or reviewing a log line, a metric, an alert, or a monitor (pino, winston, OpenTelemetry, Datadog, Sentry), or making claims about production behavior or reporting measured results. Lists the defects to avoid and the patterns that need a stated reason: personal data, metric cardinality, fields monitors depend on, absence alerts, bound context, metrics clients across forks, evidence for claims.Other plugins' skills for the same job