Web Frameworks

react-best-practices

Verdict: Measured: a benefit was seen but not confirmed.

Review, fix and write React components and hooks for correctness first, with a pattern scanner and a fixed review order.

  • What it does: The skill makes an agent read the project context (React version, framework, compiler, data layer), run react_scan.py, confirm or dismiss each finding, then review in a…
  • Use it when: React code review; fixing or refactoring a component or custom hook; stale state, infinite re-renders, double fetches, lost input state; building a new JSX or TSX…
  • Written and reviewed by Skill Almanac
  • Licence: Apache-2.0
  • Updated 2026-11-22
  • Install check passed: Claude Code 2.1.330, 2026-11-23

Platform Score

0255075100FDCBA61RATEDScored · Method v0.2 · How we score

Measured: a benefit was seen but not confirmed. Efficacy earned 12.1 of 35 points. How we tested it · Download the run records (JSON)

Published: the task count, pass rates with and without the skill and the interval (see evidence details), and the per-task, per-run records with the blind grader’s reasons (JSON download), and a recorded demo. Not published: the executor outputs and grading folders, so a third party cannot yet re-run the comparison from this page.

Our assessment, method v0.2, scored 2026-11-22. See the breakdown

User Score

No reviews yet

A future average requires 5 installation-verified reviews; verification is not available yet. Read reviews

What it does

The skill makes an agent read the project context (React version, framework, compiler, data layer), run react_scan.py, confirm or dismiss each finding, then review in a fixed order: purity and hook order, state that should not exist, effects, updates, identity (keys, nested components), data fetching, rendering cost, accessibility, types. It gives rules for fixes and new code, requires the project's own checks to be run when present, and ends with a report that orders findings as Bug, Risk, Cost, Style with the triggering sequence for each bug. Two references hold the effect decision table, stale-closure and state-structure rules, a symptom table, memoisation rules and version notes.

When to use it

React code review; fixing or refactoring a component or custom hook; stale state, infinite re-renders, double fetches, lost input state; building a new JSX or TSX component.

When not to use it

Visual design, other UI frameworks, native mobile layout, backend code, end-to-end tests.

Summary reviewed 2026-11-22 by Kobi Eliraz (founder, Skill Almanac).

Demo video

react-best-practices: how to use this skill. Recorded on Claude Code, 2026-11-22.

Tutorial: how to use this skill, recorded from one real run of the skill on a coding agent. AI narration; every frame comes from the logged run. Scores and evaluation evidence are on this page, not in the video. Open the video in a new tab (MP4).

AI-narrated demonstration based on recorded agent outputs. The task and transcript explain what is shown; evaluation evidence and limitations are on the skill page.

Transcript

  1. 0:00 The finished result Is your React cart showing stale items? Watch one review fix it.
    • The result of the demonstration run
  2. 0:04 The prompt You ask your agent.
    • The prompt: Can you run a React code review or best practices pass on my cart component in CartPanel.jsx? The list sometimes looks stale after I change quantities.
  3. 0:08 What it is and how to run it It reads the skill, scans the file, then reviews state and effects.
    • Reading the skill instructions.
    • Reading the input component, the two references, and the scanner.
    • Running the scanner on the input component.
  4. 0:14 Before and after Before, and after.
    • From the agent's own report
  5. 0:20 install To use it, clone the public repo and copy the skill folder.
    • git clone --depth 1 https://github.com/kobilyricsweb/skillalmanac-skills.git
    • cd skillalmanac-skills
    • mkdir -p ~/.claude/skills
    • cp -r skills/react-best-practices ~/.claude/skills/
    • # Claude Code (Codex CLI, Cursor and Gemini CLI directories are listed in the repo README)
    • github.com/kobilyricsweb/skillalmanac-skills/tree/main/skills/react-best-practices
  6. 0:27 The skill page Find it at skillalmanac dot com.
    • React Best Practices
    • https://skillalmanac.com/skills/skill-almanac/react-best-practices

Install

To use these commands, you need Git and a computer running Claude Code. They copy the skill into your Claude Code skills folder (use .claude/skills inside a project for project-only installation). Check the package requirements for any extra runtime, such as Python or Node.js, before running its scripts.

Skill Almanac is free to browse. Your AI tool or model provider may charge for a subscription or usage; see Claude Code costs.

Source version: f6d6902489143ec9caacd338243d0270dca91e4b (pinned commit).

macOS and Linux (Terminal)

git clone --depth 1 --filter=blob:none --sparse --no-checkout https://github.com/kobilyricsweb/skillalmanac-skills.git &&
cd skillalmanac-skills &&
git fetch --depth 1 origin f6d6902489143ec9caacd338243d0270dca91e4b &&
git checkout --detach FETCH_HEAD &&
git sparse-checkout set -- skills/react-best-practices &&
test -f skills/react-best-practices/SKILL.md &&
mkdir -p ~/.claude/skills &&
if [ -e ~/.claude/skills/react-best-practices ]; then printf '%s\n' 'Already installed: review the existing folder before updating.' >&2; false; else cp -r ./skills/react-best-practices ~/.claude/skills/; fi

Windows (PowerShell)

git clone --depth 1 --filter=blob:none --sparse --no-checkout https://github.com/kobilyricsweb/skillalmanac-skills.git
if ($LASTEXITCODE -ne 0) { throw 'Git command failed; no skill was installed.' }
Set-Location -LiteralPath 'skillalmanac-skills' -ErrorAction Stop
git fetch --depth 1 origin f6d6902489143ec9caacd338243d0270dca91e4b
if ($LASTEXITCODE -ne 0) { throw 'Git command failed; no skill was installed.' }
git checkout --detach FETCH_HEAD
if ($LASTEXITCODE -ne 0) { throw 'Git command failed; no skill was installed.' }
git sparse-checkout set -- skills/react-best-practices
if ($LASTEXITCODE -ne 0) { throw 'Git command failed; no skill was installed.' }
if (-not (Test-Path -LiteralPath 'skills/react-best-practices/SKILL.md' -PathType Leaf)) { throw 'The selected version does not contain this skill.' }
$skillDestination = Join-Path $HOME '.claude/skills/react-best-practices'
if (Test-Path -LiteralPath $skillDestination) { throw 'Already installed: review the existing folder before updating.' }
New-Item -ItemType Directory -Force -Path (Split-Path -Parent $skillDestination) -ErrorAction Stop | Out-Null
Copy-Item -LiteralPath 'skills/react-best-practices' -Destination $skillDestination -Recurse -ErrorAction Stop

These commands avoid replacing an existing skill. Required tools and scripts may differ by operating system; check this skill’s dependencies before running it. For platform steps and the scope of our tests, see the installation guide. For another agent, use the Codex skills guide, Cursor skills guide, or Gemini CLI tool page, together with the package README. Read the source before you install.

Source: kobilyricsweb/skillalmanac-skills on GitHub

How we tested the install

Claude Code

The check we ran, on Claude Code 2.1.330 on 2026-11-23, pinned to commit f6d6902. This is our test harness, not the install command.

claude -p "The user asks for a React code review or best practices, to fix or refactor a component or custom hook, to debug stale state, infinite re-renders, do. Use the react-best-practices skill for this; say which skill you used and stop." --model claude-haiku-5-5 --output-format stream-json --verbose --max-turns 6  (cwd with .claude/skills/react-best-practices/)

Not tested on: Codex, Gemini CLI, Cursor, GitHub Copilot.

Platform Score

61 out of 100

Merit 61.4 × safety factor 1.00 = 61. Grade C.

Scored
2026-11-22
Method
Version 0.2. How this is calculated
Evaluated by
Skill Almanac static rules v0 plus a measured with/without run (claude-haiku-5-5 executing, claude-sonnet-5-5 grading blind) and a model judge for Q2, Q3, Q6 and T3 (claude-sonnet-5-5) and an external static security scan (Semgrep, Gitleaks, an instruction-indirection detector), every finding triaged. No human review. Everything else that cannot be checked earns nothing and is listed under Not tested.
Score breakdown: seven dimensions, safety factor and rubric items

Merit: seven dimensions

  • Efficacy
    Efficacy: LIFT_UNCONFIRMED (measured, 2026-11-22). The skill scored higher than the baseline (+3.9 points) but the 95% CI (-4.8 to +12.7) includes zero on 12 tasks, so efficacy credit is capped at 60% of the dimension until a larger task set confirms it.
    12.1 / 35
  • Instruction quality
    Actionable steps, specific knowledge, examples, verification.
    19.4 / 25
  • Trigger precision
    Scored from the description only: at most 10 of 12 without a trigger test.
    7.5 / 12
  • Portability
    Works across tools without vendor-only features.
    7 / 8
  • Maintenance
    Recent commits, history depth, an active repository.
    4.6 / 8
  • Licence and provenance
    A clear licence and an original source.
    4.8 / 6
  • Token cost
    How much context the skill uses.
    6 / 6

Safety factor: file review

Security 25 of 25 points gives a safety factor of 1.00. Security does not add points; it multiplies merit, so a risky skill loses up to half its score.

ItemPointsWhat we found
S2 Remote code execution surface6 / 6Nothing that downloads, installs or runs remote code applies; no findings. (measured, scan of 2026-11-22.)
S3 Instruction indirection5 / 5No instruction that fetches or follows content from outside the reviewed files applies; no findings. (measured, scan of 2026-11-22.)
S4 Secrets and credentials4 / 4No credential use or committed secret applies; no findings. (measured, scan of 2026-11-22.)
S5 Data egress and telemetry4 / 4No data egress applies; no findings. (measured, scan of 2026-11-22.)
S6 Agent-behaviour integrity3 / 3No steering, hidden or auto-approve wording applies; no findings. (measured, scan of 2026-11-22.)
S7 Bundled executable hygiene3 / 3Bundled scripts are readable source and nothing in them applies; no findings. (measured, scan of 2026-11-22.)

Not tested

  • Efficacy: measured on 12 tasks (12 paired runs) by one model family (claude-haiku-5-5 executing, claude-sonnet-5-5 grading); no human grader and no third-party reproduction (Ec).
  • Trigger precision: description rubric plus a model judge for T3 (claude-sonnet-5-5, 2026-11-22). No trigger test was run.
  • Instruction quality: Q2, Q3 and Q6 scored by a model judge (claude-sonnet-5-5, 2026-11-22), not by a human; Q4 and Q7 get half credit.
  • Security: measured by a static external scan. Semgrep 1.186.0; Gitleaks 8.30.1; Skill Almanac own-rules 0.1.0; S3 instruction-indirection detector 1.0.0; npm audit / pip-audit npm 10.9.0 / pip-audit 2.10.1. Scanned 2026-11-22: 0 findings (0 false positive, 0 real and fixed, 0 accepted risk, 0 open). Every finding was triaged by the scanning session, not by a human. No runtime behaviour check was run: nothing was installed or executed.
  • Portability: P4 (multi-agent support) was not tested on any other tool.
  • Maintenance: new package with no commit history or public repository.

What would raise this score

  • A third-party reproduction of the measured run (Ec) would add independent evidence. (up to +22.9 points)
  • A human review of the judged items (Q2, Q3, Q6) would firm up the instruction-quality score. (up to +5.6 points)
  • A runtime behaviour check (running the scripts in a sandbox) and a human review of the triage would be the next security evidence. (up to +0 points)

This score is our assessment under a published method. It is not a guarantee of safety or fitness. To dispute this score, use the corrections page; we reply within 10 business days.

Evidence and rubric details (for reviewers)

Evidence and provenance

House skill from the Claude pipeline (batch_01). Human review: not done yet. Source package: 01_skill_production/batch_01/design_frontend/react-best-practices (not public).

Declared compatibility (the author's statement, not an install test): The scanner needs Python 3.9 or newer (standard library only). No network access is used. Without Python, apply the review order by hand and say the scanner was not run.

Efficacy: LIFT_UNCONFIRMED (measured)

. 12 tasks, 12 paired runs with and without the skill. Pass-rate difference +3.9 points (standard error 4.0, 95% CI -4.8 to +12.7, clustered by task). Blind preference: with skill 4, other outcome (baseline or tie) 8. Assertions passed: 72 of 81 with the skill, 69 of 81 without.

Read with care: Measured on 2026-11-22: claude-haiku-5-5 executed every run, claude-sonnet-5-5 graded blind. Both are AI models from one family; there is no human grader and no third-party reproduction. Procedure v2: held-out tasks, each pair graded in both A/B orders. With 12 tasks the smallest difference reliably detected is about 18 points. The interval is the honest range; it does not support a claim of improvement on every model or task.

Record: efficacy_runs/results_measured/react-best-practices.json (claude pipeline)

Static lint and own-rules scan · PASS

. Agent Skills spec lint passed (0 failures, 0 warnings). Own-rules security scan: 0 findings.

Read with care: Spec lint and own-rules text rules only; the security result is the separate external scan record below. Nothing was installed or run.

Details
  • Ea Ships evals for the skill itself: 5/5. An evals/ folder is bundled.
  • Eb Deterministic helper or verify step: 5/5. Bundled scripts validate or do the work.
  • Es Measured with/without comparison: 12.1/35. LIFT_UNCONFIRMED on 2026-11-22: 12 tasks, 12 paired runs, claude-haiku-5-5 executing, claude-sonnet-5-5 grading blind. Pass rate 89% with the skill, 85% without; difference +3.9 points (95% CI -4.8 to +12.7, clustered by task); the grader preferred the skill in 4 of 12 paired runs. The interval reaches zero, so credit is capped at 60% of the dimension.
  • T1 Says what the skill does: 1/1. Description of at least 30 characters.
  • T2 Says when to use it: 2/2. A "use when" statement is present.
  • T3 Specific trigger terms: 1.5/2. Judge (claude-sonnet-5-5, 2026-11-22): Names code review, best practices, fix or refactor a component or hook, stale state, infinite re-renders, double fetches, lost input state and building a component in JSX or TSX; omits phrases users type such as useEffect, re-render, slow component, Next.js or form bug.
  • T4 Within spec length: 1/1. 562 characters.
  • T5 Distinct, not over-broad: 1/1. Checked for over-broad wording by pattern.
  • T6 No coercive wording: 1/1. Checked for coercive wording by pattern.
  • Q1 Valid per the Agent Skills spec: 2/2. No hard lint rule failed.
  • Q2 Actionable workflow: 3.5/4. Judge (claude-sonnet-5-5, 2026-11-22): Six-step checklist to copy into the reply, a scanner command with confirm-or-dismiss rule, a nine-point manual review order with 'do not skip ahead' and a fixed report table with severity labels; it does not say what to do when the request is vague or no code is supplied, and the full checklist and report invite long replies.
  • Q3 Specific non-obvious knowledge: 3/4. Judge (claude-sonnet-5-5, 2026-11-22): Concrete rules (derive instead of sync, key not effect, cleanup for every effect, copy before sort, count > 0 &&, updater form, no default memo) and a Bug/Risk/Cost/Style scale; but 'measured' and 'clear cause' for rendering cost have no thresholds, and the lazy-initialiser rule sits awkwardly beside the read-browser-values-in-effects rule.
  • Q4 Concrete examples: 1/2. Code blocks or an example heading exist (half credit: quality not judged).
  • Q5 Progressive disclosure: 2/2. Body is 85 lines.
  • Q6 Verification and failure handling: 2/3. Judge (claude-sonnet-5-5, 2026-11-22): Covers a missing Python (apply by hand and say so), scanner false positives and misses, index keys that are fine for static lists, React version and compiler differences, and tests that cannot be run; silent on an ambiguous request with no code, on user-set reply length limits that clash with the report template, and on non-React near-misses beyond the description's exclusions.
  • Q7 Prerequisites declared: 1/2. A compatibility field exists (half credit: contents not judged).
  • Q8 Version or changelog: 1/1. metadata.version 0.1.0.
  • P1 Frontmatter: 2/2. Open-spec fields only.
  • P2 Agent-specific tools in the body: 3/3. None named.
  • P3 Runtime dependencies: 2/2. None, or standard library only.
  • P4 Multi-agent support: 0/1. Not measured: no cross-tool run exists.
  • M1 Recent change: 3/3. Last commit touching the skill directory 2026-11-22.
  • M3 Repository and publisher: 1/2. kobilyricsweb/skillalmanac-skills is not archived and was pushed 2026-11-23. The established-publisher half earns nothing: the publisher is not verified.
  • L1 Licence: 3/3. Apache-2.0 with LICENSE file.
  • L2 Provenance: 1/2. Original house package; publisher not verified by the claim flow.
  • K1 Always-loaded metadata: 1/1. 562 description characters.
  • K2 Activation cost: 3/3. About 1685 body tokens (characters / 4).
  • K3 On-demand structure: 1/1. References are split out, or the skill is small.

Record: 01_skill_production/batch_01/design_frontend/react-best-practices/SKILL.md

External security scan · PASS

. Semgrep 1.186.0; Gitleaks 8.30.1; Skill Almanac own-rules 0.1.0; S3 instruction-indirection detector 1.0.0; npm audit / pip-audit npm 10.9.0 / pip-audit 2.10.1. Scanned 2026-11-22: 0 findings (0 false positive, 0 real and fixed, 0 accepted risk, 0 open). 7 files scanned; No dependency manifest is bundled, so there was nothing to audit.

Read with care: Static scan only: nothing was installed or executed. Each finding was triaged by the scanning session (an AI), not by a human reviewer. evals/ test fixtures (deliberate fake keys and injection strings) are excluded by design. Not a security certification.

Details
  • Tool: Semgrep 1.186.0 (registry p/default (fetched 2026-11-22) + custom agent-skill rules (rules/agent-skill-risks.yml, 13 rules, tested))
  • Tool: Gitleaks 8.30.1 (built-in default ruleset, --redact)
  • Tool: Skill Almanac own-rules 0.1.0 (StaticRuleScanner text rules)
  • Tool: S3 instruction-indirection detector 1.0.0 (tools/s3_indirection_scan.py (15 positive and negative self-tests))
  • Tool: npm audit / pip-audit npm 10.9.0 / pip-audit 2.10.1 (manifests found inside packages only)

Record: 01_skill_production/security_scan/results/react-best-practices.json

Authoring record

. Drafted by an AI model; the editorial summary (what it does, when to use, when not to use, limits) was reviewed and signed off by Kobi Eliraz on 2026-11-22. The package itself and its tests were not re-run by a human.

Read with care: Self-reported by the authoring pipeline. Not independently audited.

Record: 01_skill_production/batch_01/design_frontend/react-best-practices/VERIFICATION.md

Public repository

. Published in kobilyricsweb/skillalmanac-skills: 1 commit on this skill, first 2026-11-22, last 2026-11-22; 0 open issues in the repository.

Read with care: Read from the GitHub API on the date shown, at catalogue build time. The repository is new and unverified: its history earns only the points the published method assigns to it.

Record: https://github.com/kobilyricsweb/skillalmanac-skills/tree/main/skills/react-best-practices

Full evaluation

Written from the measured runs (claude-haiku-5-5 executing, claude-sonnet-5-5 grading) and checked against the result file. An AI evaluation, not a human review. Record: efficacy_runs/results_measured/react-best-practices.review.md

What was tested

Twelve tasks, each run once with the skill and once without it (baseline), under procedure measured-v2 in two stages. Eight tasks were ordinary React work (two code reviews, fixing a search box, a form that loses focus, an infinite-request loop and a stopwatch; writing a tag input and a localStorage hook), two were deliberately vague requests (a "weird" form and a "slow" product grid), and two were near-misses outside the skill's scope (a Vue prop fix and an Express SQL fix). The task is the unit. The executor was claude-haiku-5-5; the grader was claude-sonnet-5-5, saw anonymous X/Y labels and judged each pair in both orders. An Opus (claude-opus-5-5) second grader re-graded four tasks (cart review, infinite requests, chat panel review, stopwatch).

Caveats from the run notes:

  • The stage-1 gate returned stop_futile (delta -0.021, interval crossing zero), which is not a clear lift. Stage 2 (six more tasks) was run anyway under the 12-task rule and the 12-task result is reported.
  • TASK.md was withheld from graders because the with-skill copy names the skill.
  • No React runtime or browser was available: components were checked by reading, with plain regex checks and, where it applied, the skill's react_scan.py. Nothing was run.
  • The with-skill executors had the skill's own react_scan.py; the baseline arm did not.
  • Graders called several script assertions over-literal (a literal lazy useState initialiser, an index-key keyword check, a size-cap pattern) and noted word caps the request never stated. Most script assertions were passed by both arms, so the preference and a few judge assertions drive the result.

How it performed

With the skill 72 of 81 assertions passed; without it 69 of 81. Mean per-task pass rate was 0.880 with the skill and 0.840 without, a delta of +0.039 with a 95% CI of -0.048 to +0.127, which includes zero. The win score from both-order preference was 0.667 (CI 0.510 to 0.823). The minimum detectable effect at 80% power is 0.176, about four and a half times the observed delta. Six of 12 pairs had inconsistent order preferences. The two arms correlate strongly across tasks (0.79). Pass-all-assertions was 0.42 with the skill and 0.50 without.

Per task (with-skill score against baseline score, final preference):

  • Preferred with the skill in both orders: v2-t3-write-taginput (8 against 7), v2-t7-review-chatpanel (7 against 6), v2-t11-express-near-miss (9 against 6, assertions 6/7 against 3/7), v2-t12-ambiguous-slow-grid (8 against 6, assertions 5/6 against 4/6).
  • Ties: v2-t1-review-cart (7 and 7), v2-t2-fix-searchbox (8 and 8), v2-t4-infinite-requests (8.5 and 8), v2-t5-vue-prop-near-miss (8 and 8), v2-t6-ambiguous-form (4 and 4), v2-t8-input-loses-focus (8 and 9), v2-t9-write-uselocalstorage (8 and 8), v2-t10-stopwatch-stuck (9 and 8).
  • No task was preferred to the baseline in both orders. The stats list no harmed tasks.
  • Saturated, both arms passing every assertion: v2-t3, t4, t5, t8, t10.

Strengths

  • v2-t3-write-taginput: the with-skill tag input moved focus when the box disabled at the limit and ignored IME composition. The baseline admitted focus is lost at that point.
  • v2-t7-review-chatpanel: both put the hooks-after-early-return bug and the listener leak first with correct fixes. The with-skill list used its other slots on an inaccessible div Send button and the derived unread state, both fixable in the file. The baseline spent part of item 5 on server-side sender trust, which is outside the reviewed file. The Opus grader also preferred the with-skill review.
  • v2-t11-express-near-miss: both fixes parameterised the SQL, awaited the query and validated page and size. The with-skill reply was the requested two lines; the baseline reply ran longer (81 words) with extra assumptions, which is why it scored lower despite the skill being out of scope.
  • v2-t12-ambiguous-slow-grid: the with-skill version made behaviour-preserving changes (two useMemo and one Intl.Collator), checked identical output on 5,000 random lists and said it had not measured the speedup. The baseline added memo that may do nothing and an unrequested useDeferredValue.
  • v2-t4-infinite-requests: both applied the same core fix (serialised options key, AbortController). The with-skill version also turned non-2xx responses into errors. Sonnet's two orders disagreed (one preferred it, one called a tie), so the final preference is a tie; Opus preferred it (9 against 8).
  • v2-t10-stopwatch-stuck: the two fixed files were functionally identical. The with-skill reply explained the overlapping-interval risk and listed what was not verified.

Weaknesses and failure cases

  • Many ties because both arms often fixed the same bug the same way: eight of twelve preferences were ties and five tasks were saturated. The skill adds little to a well-specified bug that a capable model already fixes.
  • v2-t1-review-cart: both found all five planted bugs. The with-skill review also flagged the correct document.title effect, and lost the judge assertion on that (7/8 against 8/8); the baseline review padded with low-value extras (price hardcoding, currency formatting). Sonnet scored both reviews 7 and the final preference was a tie (its two orders disagreed). The Opus grader preferred the baseline here, because the with-skill review demoted the nested Row and index-key problems to lower severities and flagged the title effect.
  • v2-t8-input-loses-focus: both hoisted Field to module scope; the baseline scored 9 against 8 because it kept the original onChange prop shape, a smaller change. Preference was a tie.
  • v2-t2-fix-searchbox: the with-skill notes.md ran 100 words against a request for two or three sentences, and one order's grader preferred the baseline for that. The final preference was a tie, 8 and 8.
  • v2-t6-ambiguous-form: both arms wrote tutorials of roughly 600 words with no question marks, failing the brevity and question assertions (2 of 5 each). The skill's report-shaped workflow did not make the vague-request reply shorter or more question-led.
  • v2-t7: both arms missed the index-key problem, in both the Sonnet and Opus grading.
  • v2-t9-write-uselocalstorage: both arms failed the literal lazy-initialiser assertion, deliberately, to stay hydration-safe. The skill's own rule says to use a lazy initialiser for browser-read state, so the two rules in the skill pull against each other here.
  • Both arms overshot stated length limits on several tasks (notes and replies); the skill's long report template can push in the same direction.

When to use it and when not to

Use it for reviewing a React component, fixing effect, state and key bugs, and writing a new component or hook where accessibility and cleanup matter. In these runs the gains were in review focus (what to put in the top five), accessibility details, verifying that a change preserved behaviour and stating what was not verified. For a clearly described single bug that a plain request already solves, expect the same result with or without it. For vague requests ("my form is weird") the skill did not produce a shorter question-first reply, so state the length you want. For a review, watch for low-value padding and for flagged items that are correct (as with the document.title effect). It is not for visual design, other frameworks or backend code; the two near-miss tasks (Vue, Express) were fixed correctly by both arms (Vue tied; Express went to the with-skill arm on reply length), so the skill did not leak React advice into them in these runs.

Judge findings

A judge scored the SKILL.md. Procedure (Q2) 3.5 of 4: a six-step checklist, scanner step with confirm-or-dismiss, a fixed nine-point review order and a report table; no guidance for a vague request. Domain specificity (Q3) 3.0 of 4: concrete fix rules and a severity scale, but rendering cost has no thresholds and the lazy-initialiser rule sits awkwardly beside the read-in-effects rule. Edge cases (Q6) 2.0 of 3: covers no Python, scanner false positives and misses, fine index keys and version differences, but not vague requests or reply-length limits that clash with the report template. Trigger wording (T3) 1.5 of 2: names review, fix, hooks and several symptoms, but omits phrases such as useEffect, re-render, slow component or form bug.

Verdict

The record verdict is LIFT_UNCONFIRMED. The data show a small positive difference: pass rate +0.039 (CI -0.048 to +0.127), a win score of 0.667, four tasks preferred with the skill in both orders and none preferred to the baseline in both orders. They do not show that the lift is real: the interval includes zero, the delta is well below the 0.176 minimum detectable effect, eight of twelve preferences were ties because both arms often fixed the same bug, and half the pairs had order-inconsistent preferences. The skill did not win everywhere. It lost points relative to the baseline on v2-t1-review-cart (assertions 7/8 against 8/8, and the Opus grader preferred the baseline), on v2-t8-input-loses-focus (score 8 against 9) and in one grading order on v2-t2-fix-searchbox. The biggest measured gaps (v2-t11 and v2-t12) came from reply length and verification habits rather than from React knowledge, and v2-t11 is a task the skill is not meant for. Limits: one run per arm per task, one model family executes and grades, a four-task Opus sample, nothing was executed and no human graded. The published verdict is whatever the catalogue importer states for this skill; this review reports the measured evidence.

User Score

No reviews yet. A User Score is planned to use only reviews from people with a verified install. Installation verification is not available yet. An average requires 5 verified reviews.

Examples

No before-and-after examples yet. They are added from our evaluation runs.

Limits and known failures

  • The scanner is heuristic: it misses defects that span files or depend on types and can flag correct code. It does not replace the official hooks lint plugin.
  • Nothing is executed: races, re-render counts and hydration errors are reasoned from source.
  • Framework conventions are covered only where they change how components and hooks are written.
  • On a pure review task a capable model without the skill found the same defects (eval r1 was a tie).

Security

ScannerVersionDateResult
External scan (Semgrep, Gitleaks, instruction-indirection detector, own rules)Semgrep 1.186.0; Gitleaks 8.30.1; Skill Almanac own-rules 0.1.0; S3 instruction-indirection detector 1.0.0; npm audit / pip-audit npm 10.9.0 / pip-audit 2.10.12026-11-22No issues found

A scan is not a guarantee. Read what a skill does before you install it.

Reviews

No reviews yet.

Write a review

Rating
How did it go?
More details (optional)

Listed as “Not verified” until installs can be verified. No star average is shown. Posts are moderated. Review guidelines

Questions and answers

No questions yet.

Ask a question

Posts are moderated. Review guidelines

Discussion

Recommended by 0 people. A recommendation is not a rating and is not part of either score.

Comments (0)

No comments yet.

Add a comment

Posts are moderated. Review guidelines

Versions

CommitDateChangePlatform Score
f6d69022026-11-22First and only published version: the package as committed to kobilyricsweb/skillalmanac-skills. No later change has been made, so there is no change log yet. Scored and scanned as source package 1360cd6e3207; the published folder omits internal metadata and VERIFICATION.md.61 (current)

Licence

Apache-2.0

Apache-2.0, declared in the skill frontmatter and shipped as a LICENSE file in the package.

Publisher

Name
Skill Almanac
Verification
Not verified. Nobody has claimed this listing yet.
Profile
No public profile yet

Other skills from this publisher

See all 261 skills by Skill Almanac

Similar skills

Category: Web Frameworks (assignment not yet confirmed by an editor)

Learn: How to install a Claude Code skill: personal, project and plugin routes

Common questions

What is the Platform Score of react-best-practices?

61 out of 100 under method v0.2, scored on 2026-11-22.

Has react-best-practices been tested for effectiveness?

Yes. Efficacy was measured by running tasks with and without the skill.

Which tools has the install been checked on?

Install check passed on: Claude Code 2.1.330, 2026-11-23. It says the files install, not that the skill works.

What licence does it use?

Apache-2.0, declared in the skill frontmatter and shipped as a LICENSE file in the package.

When was this page last updated?

2026-11-22.

Cite this entry

Skill Almanac. react-best-practices. Updated 2026-11-22. Platform Score 61/100 (rated, method v0.2), scored 2026-11-22. https://skillalmanac.com/skills/skill-almanac/react-best-practices

This citation identifies our entry and assessment. The original skill belongs to its publisher.

SKILL.md

The skill text is not mirrored here. Read it in the source repository.

Report or claim this listing

Report a problem with this listing (malicious content, wrong licence, impersonation, copyright). Publishers can add their own skills through Submit a skill; claiming an existing listing is not available yet.

Index status: eligible for search engines. Markdown version of this page

What to do next