everything-react-native-expo: Skill for Claude Code

.claude/skills/erne-component/SKILL.md

erne-component is a skill for Claude Code from JubaKitiashvili/everything-react-native-expo. It costs 21 tokens per session (690 once invoked), scanned A, a copy of component, MIT.

A React Native component workflow that designs a user-interface component and writes tests for it. TDD, or test-driven development, means checking expected behavior with tests as code is built.

In plain words
What is it for?
It is for planning component states, styling components with NativeWind, and creating tests for reusable mobile interface parts.
Why use it?
It reduces the need to handle design decisions and behavior checks separately, helping catch component problems early.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is JubaKitiashvili/everything-react-native-expo's own configuration. It tells Claude Code how to work on everything-react-native-expo 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 everything-react-native-expo configures →

Part of the erne-universal plugin — 45 skills, 12 agents shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to JubaKitiashvili/everything-react-native-expo. 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/JubaKitiashvili/everything-react-native-expo/main/.claude/skills/erne-component/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/JubaKitiashvili/everything-react-native-expo

Made for: Claude Code.

Or install erne-universal, the plugin that ships this one along with the rest of its 45 skills, 12 agents.

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 erne-component

README.md
[![agentmods](https://agentmods.dev/badge/skills/jubakitiashvili/everything-react-native-expo/erne-component/github.svg)](https://agentmods.dev/skills/jubakitiashvili/everything-react-native-expo/erne-component)
Your own site
<a href="https://agentmods.dev/skills/jubakitiashvili/everything-react-native-expo/erne-component"><img src="https://agentmods.dev/badge/skills/jubakitiashvili/everything-react-native-expo/erne-component/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 erne-component

Your own site · 80×15
<a href="https://agentmods.dev/skills/jubakitiashvili/everything-react-native-expo/erne-component"><img src="https://agentmods.dev/badge/skills/jubakitiashvili/everything-react-native-expo/erne-component.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 690 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 86% copy Near-identical to another mod 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.00021 $0.00690
Opus 5 $0.00010 $0.00345
Sonnet 5 $0.00004 $0.00138
Haiku 4.5 $0.00002 $0.00069

Measured 10d ago against content hash 8638b2a1fa66, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

erne-component 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 10d 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.

Origin

This is a copy

86% identical to component — 8 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/skills/erne-component/SKILL.md · 94 lines

How it starts

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

/erne-component — Design + Test Component

You are executing the /erne-component command. Run ui-designer and tdd-guide in parallel. One designs the component, the other writes tests.

Parallel Execution

Agent 1: ui-designer — Component Design

  1. Clarify requirements — What does the component do? What states does it have?
  2. Design with NativeWind — Use Tailwind classes for styling:
import { View, Text, Pressable } from 'react-native';

interface CardProps {
  title: string;
  subtitle?: string;
  onPress?: () => void;
  variant?: 'default' | 'outlined' | 'elevated';
}

export function Card({ title, subtitle, onPress, variant = 'default' }: CardProps) {
  return (
    <Pressable
      onPress={onPress}
      className={cn(
        'rounded-2xl p-4',
        variant === 'default' && 'bg-card',
        variant === 'outlined' && 'border border-border bg-transparent',
        variant === 'elevated' && 'bg-card shadow-md',
      )}
    >
      <Text className="text-lg font-semibold text-foreground">{title}</Text>
      {subtitle && (
        <Text className="mt-1 text-sm text-muted-foreground">{subtitle}</Text>
      )}
    </Pressable>
  );
}
  1. Handle all states — Loading, error, empty, populated, disabled
  2. Add accessibilityaccessibilityRole, accessibilityLabel, accessibilityState
  3. Platform adaptation — Use Platform.select or NativeWind responsive for platform differences
  4. Consider agent-device — If available, render on simulator and screenshot for visual verification

Agent 2: tdd-guide — Component Tests

Write comprehensive tests alongside the component:

import { render, screen, fireEvent } from '@testing-library/react-native';
import { Card } from './Card';

describe('Card', () => {
  it('renders title', () => {
    render(<Card title="Test Title" />);
    expect(screen.getByText('Test Title')).toBeTruthy();
  });

  it('renders subtitle when provided', () => {
    render(<Card title="Title" subtitle="Subtitle" />);
    expect(screen.getByText('Subtitle')).toBeTruthy();
  });

  it('hides subtitle when not provided', () => {
    render(<Card title="Title" />);
    expect(screen.queryByText('Subtitle')).toBeNull();
  });

  it('calls onPress when tapped', () => {
    const onPress = jest.fn();
    render(<Card title="Title" onPress={onPress} />);
    fireEvent.press(screen.getByText('Title'));
    expect(onPress).toHaveBeenCalledTimes(1);
  });

  it('applies variant styles', () => {
    // Test each variant renders correctly
  });
});

Read the full file on GitHub · 94 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. 10d ago First seen · 94 lines · 21 tokens per session scan A 8638b2a1fa66

Subscribe to this mod's changes

erne-component is a skill published in the GitHub repository JubaKitiashvili/everything-react-native-expo (45 stars, last pushed 5mo ago), licensed MIT. It adds 21 tokens to every session and 690 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 86% identical to component, differing in 8 lines, and is treated as a copy.

Related

Other skills, from other repositories

react-web

React web development with hooks, React Query, Zustand.

alinaqi/maggy · 13 tokens

review-screenshot

A standard workflow for taking screenshots to check a user interface, using a dedicated review process for different verification modes.

YuDefine/nuxt-supabase-starter · 75 tokens

figma-to-react-workflow

Orchestrates end-to-end Figma-to-React conversion pipeline with enforced TDD, automated pixel-diff visual QA, E2E testing, and app-type awareness (web apps, Chrome extensions, PWAs). Keywords: Figma to React, design tokens, autonomous component generation, Figma conversion, Tailwind config, component library, TDD…

PMDevSolutions/Aurelius · 0 tokens

tdd-from-figma

Writes failing tests FIRST from Figma structure and the design token lockfile, then implementation makes them pass. Per-component TDD cycle using exact values from design-tokens.lock.json. App-type-aware: generates Chrome extension, PWA, and web app test templates. Keywords: TDD, test-driven development, Figma tests…

PMDevSolutions/Aurelius · 0 tokens

web-dev-standards

Use when designing software architectures ('codebase-design' Deep Modules/Design-It-Twice), writing tests ('test-driven-development' mock boundaries), creating setup scripts ('interactive-wizard'), TypeScript standards, Next.js, Expo, or Monorepos.

J-StaR-Films-Studios/VibeCode-Protocol-Suite · 57 tokens

fec-tdd-workflow

A frontend test-driven development workflow, or TDD, describes the expected behavior with a failing test, implements the smallest change to pass it, and then refactors. It covers UI components, hooks, API clients, route guards, and user workflows.

bovinphang/frontend-craft · 80 tokens