frontend-mobile-development-component-scaffold

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

1|Updated Aug 17, 2025
One-click install
npx skills add https://github.com/ratnesh-maurya/mdconverter --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/mdconverter/tree/main/.claude/skills/frontend-mobile-development-component-scaffold
Command: npx skills add https://github.com/ratnesh-maurya/mdconverter --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, tests, and Storybook stories. This Skill automates that scaffolding so every component starts with a consistent, accessible, type-safe structure. ## Core Features & Use Cases - Component Generation: Produces complete React (web) and React Native components from a specification including props, state, hooks, and styling approach. - Full Supporting Files: Generates TypeScript interfaces, CSS Modules/styled-components/Tailwind styles, Jest/Testing Library test suites, Storybook stories, and barrel index exports. - Accessibility Built In: Infers ARIA roles, wires accessibility props, and includes axe-based accessibility tests. - Use Case: Ask for a form component with specific props and Tailwind styling, and receive the component file, typed props interface, test suite with interaction and accessibility checks, and a Storybook story ready to drop into your project. ## Quick Start Scaffold a React component named UserCard with name and avatar props, Tailwind styling, tests, and a Storybook story.

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 a component specification with name, props, state, and styling approach, and the generator produces the component file, TypeScript prop interface, Jest/Testing Library test suite, and index export. Options control whether types, tests, stories, and accessibility wiring are included.

What styling approaches does React component scaffolding support?

Three styling approaches are supported: CSS Modules with generated class files, styled-components with theme-based tokens, and Tailwind with recommended utility class strings. The choice is set in the component specification's styling field.

Can I generate React Native components with the same specification?

Yes, the platform field in the specification accepts web, native, or universal. The React Native generator emits View, Text, and StyleSheet-based components with accessibility props, mapping web prop types to native equivalents.

Does the generated test suite include accessibility checks?

Yes, generated tests include an axe-based accessibility assertion alongside render, content, and event-handler tests. The component itself receives inferred ARIA roles and accessibility props when the accessibility option is enabled.

When should I not use automated component scaffolding?

Avoid scaffolding for highly custom components with complex business logic, animations, or third-party integrations, since generated output contains placeholder JSX and TODO markers. It suits standard presentational, form, and layout components best.