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.
curl -O https://raw.githubusercontent.com/JubaKitiashvili/everything-react-native-expo/main/.claude/skills/erne-component/SKILL.mdgit clone --depth 1 https://github.com/JubaKitiashvili/everything-react-native-expoWrote 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.
[](https://agentmods.dev/skills/jubakitiashvili/everything-react-native-expo/erne-component)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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.
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
- Clarify requirements — What does the component do? What states does it have?
- 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>
);
}
- Handle all states — Loading, error, empty, populated, disabled
- Add accessibility —
accessibilityRole,accessibilityLabel,accessibilityState - Platform adaptation — Use
Platform.selector NativeWind responsive for platform differences - 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
});
});
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.
- 10d ago First seen · 94 lines · 21 tokens per session scan A 8638b2a1fa66
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.
Other skills, from other repositories
react-web
React web development with hooks, React Query, Zustand.
review-screenshot
A standard workflow for taking screenshots to check a user interface, using a dedicated review process for different verification modes.
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…
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…
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.
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.