
Frontend react
Guides an agent through React web rules: pure render, hooks, keys and DOM-level tests
Frontend react is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 19
- Last commit
- License
- Apache-2.0
- Listing updated
Similar skills
About Frontend react
A rule pack for React web work, organised as an index that points to one reference file per rule. Each rule has an impact level, the React version branch it applies to, an Incorrect and a Correct code example, and a way to verify it. The agent is meant to open only the rules that touch the change at hand rather than loading the whole pack.
The skill starts by having the agent read the touched package's package.json for the exact React major version and whether the React Compiler is enabled, then reads the framework config instead of assuming defaults. Rules are sorted by impact, with critical items such as pure rendering, hook placement and server-to-client props first. Behaviour changes are expected to start from a failing component test queried by role or label, and review passes walk the critical and high rules against the diff, reporting findings with file and line.
It is meant for projects that depend on react-dom or Next and is not intended for React Native or Expo. It assumes a Node-style project with a package.json and expects the agent to be running inside the mokata pipeline, which handles spec routing and approval gates.
When your agent uses it
mokata · React (web) rule pack — impact-ordered rules, loaded by the spec's routing, each with an Incorrect/Correct pair.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 11 files (21 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the mokata plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add JasGujral/mokata-oss
/plugin install mokata@mostackOr copy only this skill to ~/.claude/skills/frontend-react:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JasGujral/mokata-oss.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/frontend-react &&
cp -R "$tmp/src/mokata/skills/frontend-react" ~/.claude/skills/frontend-react &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/frontend-react inside it instead.
Copy the skill folder to ~/.agents/skills/frontend-react to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JasGujral/mokata-oss.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/frontend-react &&
cp -R "$tmp/src/mokata/skills/frontend-react" ~/.agents/skills/frontend-react &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/frontend-react inside it instead.
Copy the skill folder to ~/.cursor/skills/frontend-react to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JasGujral/mokata-oss.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/frontend-react &&
cp -R "$tmp/src/mokata/skills/frontend-react" ~/.cursor/skills/frontend-react &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/frontend-react inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/JasGujral/mokata-oss.git --path src/mokata/skills/frontend-reactOr copy the folder to ~/.gemini/skills/frontend-react yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/frontend-react:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JasGujral/mokata-oss.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/frontend-react &&
cp -R "$tmp/src/mokata/skills/frontend-react" ~/.copilot/skills/frontend-react &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/frontend-react inside it instead.
Get the folder:
git clone --depth 1 https://github.com/JasGujral/mokata-oss.gitThen copy mokata-oss/src/mokata/skills/frontend-react into your agent's skills folder as frontend-react. Agents that support SKILL.md read one folder per skill.
What it does
- Impact-ordered rule index
- Lists React rules from critical to low impact, each pointing to its own reference file.
- Version-aware branches
- Separates guidance for React 19 with the Compiler on, React 19 with it off, and earlier versions.
- Incorrect and Correct examples
- Each rule pairs a bad pattern with a corrected one and explains how to verify it.
- Test-first component workflow
- Asks for a failing component test queried by role or label before component code changes.
- Review checklist
- Gives a verification checklist and asks reviewers to cite the rule file behind each finding.
Good for
- Review a React component diff for render side effects and hook misuse
- Remove unnecessary useMemo calls in a React 19 project with the Compiler on
- Fix list rendering that uses array indexes as keys on reorderable data
- Replace an effect that copies props into state with a derived value
- Write a component test that queries by role and label before implementing a feature
Frontend react FAQ
What does the agent need before applying these rules?
It reads the touched package's package.json for the React major version and checks whether the React Compiler is enabled, using the framework config rather than assuming defaults. If it cannot confirm these, it says so.
When is Frontend react meant to trigger?
It is routed by the approved spec's domains or by mokata's per-turn routing when a change touches a .jsx or .tsx file in a package depending on react-dom or next. It should not engage for React Native or Expo projects, plain TypeScript libraries without React, or backend-only changes.
Does Frontend react run any scripts or tools?
No scripts are included, and the skill does not set allowed tools. Its gates for linting and bundle checks are not backed by this skill.
Which clients does Frontend react work with?
The content does not tie it to a specific client beyond a Claude Code plugin marketplace listing, so it is described as a plain skill folder.
How do I install Frontend react in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/frontend-react to use it in all your projects, or to .claude/skills/frontend-react in one project. Or install the mokata plugin, which includes it: /plugin marketplace add JasGujral/mokata-oss, then /plugin install mokata@mostack.
Does Frontend react run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Frontend react?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Frontend react?
The closest alternatives to Frontend react are Vercel react best practices, Vercel react native skills, Vercel composition patterns, Frontend security and React19 source patterns.
Where this comes from
- Description: from the skill's own SKILL.md.
More from JasGujral/mokata-oss

Makes the agent design API contracts first and check callers before changing them
- Open source
- 19 GitHub stars
- Developer tools

Gives an agent NestJS rules for guards, DTO validation, modules and tests
- Open source
- 19 GitHub stars
- Developer tools

Guides an agent through Socratic exploration of an approach before any spec or code
- Open source
- 19 GitHub stars
- Developer tools

Guides an agent to capture live browser console, network and page state for tests
- Open source
- 19 GitHub stars
- Developer tools

Guides the agent to reproduce a reported bug with a failing test before fixing it
- Open source
- 19 GitHub stars
- Developer tools

Guides an agent on CI/CD pipelines, release builds and pinned supply-chain posture
- Open source
- 19 GitHub stars
- Developer tools


