just-works: Skill for Claude Code

.claude/skills/react-coding/SKILL.md

react-coding is a skill for Claude Code from Dynokostya/just-works. It costs 39 tokens per session (1,258 once invoked), scanned A, original, Apache-2.0.

A set of coding rules for React, a JavaScript library for building user interfaces, when editing JSX or TSX files. It covers hooks, state, components, rendering efficiency, security, and common mistakes.

In plain words
What is it for?
Use it when creating or changing React components, hooks, state handling, memoization, or related application code.
Why use it?
It helps avoid unnecessary renders, incorrect effect usage, and other React bugs while following the project's existing conventions.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is Dynokostya/just-works's own configuration. It tells Claude Code how to work on just-works itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything just-works configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Dynokostya/just-works. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Dynokostya/just-works/main/.claude/skills/react-coding/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Dynokostya/just-works

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for react-coding

README.md
[![agentmods](https://agentmods.dev/badge/skills/dynokostya/just-works/react-coding/github.svg)](https://agentmods.dev/skills/dynokostya/just-works/react-coding)
Your own site
<a href="https://agentmods.dev/skills/dynokostya/just-works/react-coding"><img src="https://agentmods.dev/badge/skills/dynokostya/just-works/react-coding/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for react-coding

Your own site · 80×15
<a href="https://agentmods.dev/skills/dynokostya/just-works/react-coding"><img src="https://agentmods.dev/badge/skills/dynokostya/just-works/react-coding.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,258 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Memory Poisoning · line 127
    Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.
    Fix: Protect agent memory and state from modification by untrusted content. Use read-only memory for critical instructions and validate all state changes.
  • high Memory Poisoning · line 130
    Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.
    Fix: Protect agent memory and state from modification by untrusted content. Use read-only memory for critical instructions and validate all state changes.
  • high Memory Poisoning · line 210
    Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.
    Fix: Protect agent memory and state from modification by untrusted content. Use read-only memory for critical instructions and validate all state changes.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00039 $0.01258
Opus 5.5 $0.00016 $0.00503
Sonnet 5.5 $0.00008 $0.00252
Haiku 4.5 $0.00004 $0.00126

Measured 17d ago against content hash 3273356361e3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

react-coding scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 17d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/react-coding/SKILL.md · 89 lines

How it starts

The opening of the file, as written. The whole thing — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.

React Coding

Project conventions override these defaults. Read 2-3 nearby components, package.json (React version, compiler), tsconfig.json, and the framework config (Next.js, Remix, Vite) before writing.

Never rules

  • Never use useEffect for derived state. Compute the value during render; effect plus setState adds a render cycle. This is the most common React mistake.
// Wrong
const [fullName, setFullName] = useState("");
useEffect(() => setFullName(`${first} ${last}`), [first, last]);

// Correct
const fullName = `${first} ${last}`;
  • Never mutate state. React compares by reference. Use spread, structuredClone, or non-mutating methods such as .toSorted() (not .sort()).
  • Never use an array index as key in dynamic lists. Reordering or removal reuses DOM nodes and corrupts component state. Use stable IDs.
  • Never add "use client" by default. In the Next.js App Router, components are Server Components unless marked. Add it only for hooks, event handlers, or browser APIs, and place the boundary as low in the tree as possible.
  • Never use forwardRef in React 19+ code. ref is a regular prop. React 18 still requires forwardRef.
  • Never define a component inside another component. It gets a new identity every render and loses all state.
  • Never suppress react-hooks/exhaustive-deps. It hides stale closures. Fix the code: extract functions, use updater functions, or move objects inside the effect.
  • Never mirror props in state. useState(prop) ignores later prop changes. Use the prop directly, or name it initialX to signal intent.
  • Never generate class components. The exception is error boundaries (or use react-error-boundary).
  • Never use dangerouslySetInnerHTML without sanitizing (DOMPurify or similar).
  • Never render React.lazy components without <Suspense> and an error boundary.

Effects

Before writing useEffect, walk this list:

  1. Can the value be computed from props or state? Compute it during render.
  2. Is it a response to a user event? Put it in the event handler, not in an effect keyed to a state flag.
  3. Does state need to reset when a prop changes? Use key on the component (<Profile key={userId} />), not an effect.
  4. Is it synchronization with an external system (DOM, network subscription, third-party widget)? That is a valid effect; return cleanup.
  5. Is it data fetching? Prefer framework data fetching or TanStack Query. In a raw effect, abort on cleanup and capture errors in state (a rethrow inside .catch becomes an unhandled rejection).

Read the full file on GitHub · 89 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 17d ago Changed · -197 lines · -7 tokens per session 3273356361e3
  2. 2mo ago First seen · 286 lines · 46 tokens per session scan A e9f3a9549fa1

Subscribe to this mod's changes

react-coding is a skill published in the GitHub repository Dynokostya/just-works (14 stars, last pushed 10d ago), licensed Apache-2.0. It adds 39 tokens to every session and 1,258 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.

Related

react-coding compared with skills from other repositories

react-coding next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
react-codingDynokostya/just-worksSkill1410d agoApache-2.0A39Claude Code
build-ghost-appTryGhost/GhostSkill56kyesterdayMITA44Claude Code, Codex
chakra-ui-builderchakra-ui/chakra-uiSkill41kyesterdayMITA214Claude Code, Codex
material-ui-tailwindmui/material-uiSkill99kyesterdayMITA67Claude Code, Codex
fuzzy-rankingTanStack/tableSkill29k4d agoMITA62Claude Code, Codex
r3f-best-practiceszebbern/claude-code-guideSkill4.7k3d agoMITA74Claude Code, Codex
git-safetytamagui/tamaguiSkill14ktodayMITA0Claude Code