react-developer

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 CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/sergeyzwezdin/huba/react-developer
Any agent
npx skills add sergeyzwezdin/huba --skill react-developer
Clone the repo
git clone --depth 1 https://github.com/sergeyzwezdin/huba

Made for: Claude Code, Codex.

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. Scan, not verified.
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 $0.00203 $0.00868
Opus 5 $0.00102 $0.00434
Sonnet 5 $0.00041 $0.00174
Haiku 4.5 $0.00020 $0.00087

Measured 2d ago against content hash aacf4ccae9ec, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 2d 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.tsxreact-components.md
  4. Export from public API: index.tsfsd-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. 2d 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 5mo ago), licensed MIT. It adds 203 tokens to every session and 868 once invoked, about $0.0010 per session on Opus 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

compliance-frameworks

Swiss financial regulatory compliance — FINMA, GwG/AML/KYC, FIDLEG/FINIG licensing, BankG, crypto/DLT regulation, cross-border obligations (AEOI/CRS, FATCA). Trigger when: user asks about FINMA licensing, AML/KYC compliance, financial services cross-border, crypto regulation, or fintech data processing. Do NOT trigger…

fedec65/bettercallclaude · 109 tokens

adversarial-analysis

Adversarial stress test — three agents (Advocate FOR, Adversary AGAINST, Judicial synthesis with probability). Trigger when: user wants to stress-test a position, check weaknesses before filing, or requests adversarial review. Also option '4' in /legal menu. Do NOT trigger for: initial research (swiss-legal-research)…

fedec65/bettercallclaude · 99 tokens

data-protection-law

Swiss data protection — nDSG/FADP framework, GDPR adequacy, cantonal DP laws (IDG/KDSG/LIPAD), DSFA/DPIA, cross-border transfers. Trigger when: user asks about nDSG/GDPR compliance, DPAs, data transfers, DPIA, data subject rights, or references FDPIC/nDSG/FADP. Do NOT trigger for: fintech regulatory compliance (use…

fedec65/bettercallclaude · 112 tokens

citation-content-verify

Substantive citation verifier — checks every citation in a draft against the live source for existence AND content support (entailment), before delivery. Status per citation: MATCH / PARTIAL / MISMATCH / UNVERIFIED. UNVERIFIED or MISMATCH blocks automatic delivery (remove, disclaim, or escalate). Trigger after any…

fedec65/bettercallclaude · 115 tokens

legal-5step-framework

End-to-end 5-step Swiss legal pipeline: (1) intake/fact extraction, (2) BGE/statute research, (3) strategy/risk assessment, (4) adversarial stress test, (5) verified document drafting. Trigger when: user asks for full analysis, 'run all steps', 'full pipeline', or 'end-to-end'. Do NOT trigger for: single-step tasks…

fedec65/bettercallclaude · 119 tokens

debug-workflow

Systematically debug failing n8n workflows — expression errors, node type mismatches, pinned data issues, sub-workflow failures, authentication problems, rate limit errors, and silent data loss. Use this skill whenever the user reports an n8n workflow problem — phrases like "my n8n workflow is failing", "this…

masteranime/n8n-claude-skills · 145 tokens