huba: Skill for Claude Code

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

react-developer is a skill for Claude Code from sergeyzwezdin/huba. It costs 203 tokens per session (868 once invoked), scanned A, original, MIT.

A set of React and OpenTUI coding guidelines for terminal applications. React is a library for building interfaces from reusable components, while OpenTUI helps render those interfaces in a terminal.

In plain words
What is it for?
Use it when building or changing React, OpenTUI or other terminal-interface components, hooks, state management and project structure.
Why use it?
It provides consistent rules for components, state, hooks, performance and Feature-Sliced Design, an approach for organising code by responsibility.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is sergeyzwezdin/huba's own configuration. It tells Claude Code how to work on huba 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 huba configures →

Reuse

Borrowing it

Nothing to install: this file belongs to sergeyzwezdin/huba. 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/sergeyzwezdin/huba/main/.claude/skills/react-developer/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/sergeyzwezdin/huba

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-developer

README.md
[![agentmods](https://agentmods.dev/badge/skills/sergeyzwezdin/huba/react-developer/github.svg)](https://agentmods.dev/skills/sergeyzwezdin/huba/react-developer)
Your own site
<a href="https://agentmods.dev/skills/sergeyzwezdin/huba/react-developer"><img src="https://agentmods.dev/badge/skills/sergeyzwezdin/huba/react-developer/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-developer

Your own site · 80×15
<a href="https://agentmods.dev/skills/sergeyzwezdin/huba/react-developer"><img src="https://agentmods.dev/badge/skills/sergeyzwezdin/huba/react-developer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 203 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 868 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.
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.00203 $0.00868
Opus 5.5 $0.00081 $0.00347
Sonnet 5.5 $0.00041 $0.00174
Haiku 4.5 $0.00020 $0.00087

Measured 2mo ago against content hash aacf4ccae9ec, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

react-developer 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 2mo 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-developer/SKILL.md · 68 lines

How it starts

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

React Developer

Follow React best practices and Feature-Sliced Design architecture for clean, maintainable code.

Core Principles

  • Components: Arrow functions, named exports, {ComponentName}Props type
  • Hooks: Extract at 3+ uses or complex stateful logic; return objects not arrays
  • State: Local (useState), Shared (Jotai atom), Server (TanStack Query)
  • FSD Layers: app → pages → widgets → features → entities → shared (strict downward imports)
  • Performance: Profile before optimizing; composition over memo

Reference Files

Read only what's needed for the current task:

FSD Architecture

File Read when…
fsd-layers.md Deciding which layer a component/hook belongs to; understanding import rules; layer purposes with examples
fsd-slices.md Creating a new slice; organizing ui//model//lib/ segments; writing index.ts; path aliases; naming conventions
fsd-patterns.md Composing features with entities; widget orchestration; cross-slice dependencies; anti-patterns; migration

React & OpenTUI

File Read when…
react-components.md Writing components, custom hooks, or managing state; component structure and organization rules
react-performance.md Optimizing renders; deciding when to use React.memo; error handling patterns
opentui-patterns.md Working with TUI elements (<box>, <text>); keyboard/renderer hooks; style prop patterns

Common Workflows

Creating a New Component

  1. Identify correct FSD layer (page/widget/feature/entity) → fsd-layers.md
  2. Create slice directory if needed: feature-name/
  3. Add to segment: ui/component-name.tsx → react-components.md
  4. Export from public API: index.ts → fsd-slices.md

Read the full file on GitHub · 68 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago First seen · 68 lines · 203 tokens per session scan A aacf4ccae9ec

Subscribe to this mod's changes

react-developer is a skill published in the GitHub repository sergeyzwezdin/huba (10 stars, last pushed 7mo ago), licensed MIT. It adds 203 tokens to every session and 868 once invoked, about $0.0008 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-08-31.

Related

Other skills, from other repositories

agent-spec-mobile-react-native

Agent skill for spec-mobile-react-native - invoke with $agent-spec-mobile-react-native.

ruvnet/ruflo · 22 tokens

moai-design-tools

Design tool integration specialist covering Figma MCP, Pencil renderer, and Pencil-to-code export. Use when fetching design context from Figma, rendering Pencil designs, or exporting to React/Tailwind code.

modu-ai/moai-adk · 45 tokens

moai-ref-react-patterns

React/Next.js component design patterns, state management strategies, and project structure reference for frontend development. Agent-extending skill that amplifies frontend domain work (spawned via Agent(general-purpose) with frontend instructions) with production-grade React patterns. NOT for: backend API design…

modu-ai/moai-adk · 72 tokens

moai-domain-uiux

UI/UX design systems specialist covering accessibility, icons, theming, design tokens, and user experience patterns. Use when working on design systems, WCAG compliance, ARIA patterns, or dark mode theming.

modu-ai/moai-adk · 49 tokens

moai-domain-frontend

Frontend development specialist covering React 19, Next.js 16, Vue 3.5, and modern UI/UX patterns with component architecture. Use when building web UIs, implementing components, optimizing frontend performance, or integrating state management.

modu-ai/moai-adk · 54 tokens

rn-best-practices

This skill should be used when writing or reviewing React Native / Expo code — before writing list rendering, animations, data fetching, component APIs, navigation, or image/media UI — and when asked to "review best practices", "check performance", "optimize renders", "review list rendering", "check animation…

Lykhoyda/rn-dev-agent · 98 tokens