frontend-mobile-development-component-scaffold

Generates React and React Native components with TypeScript types, tests, styles, and Storybook stories.

1|Updated Dec 29, 2025
One-click install
npx skills add https://github.com/ratnesh-maurya/tracker.ratnesh-maurya.com --skill frontend-mobile-development-component-scaffold-ratnesh-maurya
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: frontend-mobile-development-component-scaffold
Source: https://github.com/ratnesh-maurya/tracker.ratnesh-maurya.com/tree/main/.claude/skills/frontend-mobile-development-component-scaffold
Command: npx skills add https://github.com/ratnesh-maurya/tracker.ratnesh-maurya.com --skill frontend-mobile-development-component-scaffold-ratnesh-maurya

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Manually creating new React or React Native components involves repetitive boilerplate: prop interfaces, state hooks, styles, test files, and Storybook stories. This Skill automates that scaffolding so every component starts with a consistent, type-safe, accessible structure. ## Core Features & Use Cases - Component Generation: Produces complete functional components for web (React) or mobile (React Native) from a parsed specification of props, state, and hooks. - Full Supporting Files: Generates TypeScript prop interfaces, CSS Modules/styled-components/Tailwind styles, Jest and React Testing Library test suites, and Storybook stories alongside the component. - Accessibility Built In: Infers ARIA roles and wires accessibility props into generated components, with axe-based accessibility tests included. - Use Case: Ask for a data-display component named UserCard with name, avatar, and onSelect props, and receive the component file, typed props, styles, tests, stories, and a barrel index export in one pass. ## Quick Start Scaffold a React form component called LoginForm with email and password props, Tailwind styling, TypeScript types, and full test coverage.

Frequently Asked Questions about frontend-mobile-development-component-scaffold

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a React component with TypeScript and tests?▼

Provide the component name, type, props, and styling approach, and the generator produces the component file, a typed props interface, a Jest and React Testing Library test suite, and an index export. Options control whether TypeScript, tests, Storybook, and accessibility features are included.

What styling approaches does React component scaffolding support?▼

The generator supports three styling approaches: CSS Modules with a generated .module.css file, styled-components with theme-based styled elements, and Tailwind with recommended utility class strings. The choice is set in the component specification.

Can I generate React Native components for mobile apps?▼

Yes, setting the platform to native generates a React Native component using View, Text, StyleSheet, and TouchableOpacity with accessibility labels. Web prop types are mapped to native equivalents, and styles are emitted as a StyleSheet.create block.

Does generated component code include accessibility support?▼

When the accessibility option is enabled, the generator infers an ARIA role from the component type, wires a useA11y hook into the component body, and adds an axe-based test asserting no accessibility violations.

What files are produced when scaffolding a component?▼

The output includes the component file, TypeScript type definitions, a styles file, a test suite, Storybook stories, and an index barrel export. Tests, stories, and types are optional based on the generator options.