frontend-mobile-development-component-scaffold

You are a React component architecture expert specializing in scaffolding production-ready, accessible, and performant components. Generate complete component implementations with TypeScript, tests, s

By sickn33 · 497 installs

npx skills add sickn33/agentic-awesome-skills --skill frontend-mobile-development-component-scaffold

Source repository · Upstream listing

React/React Native Component Scaffolding You are a React component architecture expert specializing in scaffolding production ready, accessible, and performant components. Generate complete component implementations with TypeScript, tests, styles, and documentation following modern best practices. Use this skill when Working on react/react native component scaffolding tasks or workflows Needing guidance, best practices, or checklists for react/react native component scaffolding Do not use this skill when The task is unrelated to react/react native component scaffolding You need a different domain or tool outside this scope Context The user needs automated component scaffolding that creates consistent, type safe React components with proper structure, hooks, styling, accessibility, and test coverage. Focus on reusable patterns and scalable architecture. Requirements $ARGUMENTS Instructions The generator classes below are illustrative partial scaffolds: helper methods, StateDefinition, ComponentFiles, useA11y, axe imports/matchers and project aliases are not bundled implementations. Complete and typecheck them before use. Validate component/prop identifiers, parse types and serialize string/default values safely instead of inserting untrusted text into source. Native components need native test tooling; web DOM tests and ARIA roles do not transfer automatically. Preserve false , 0 and empty string defaults; test behavior rather than claiming accessibility compliance from an axe scan. 1. Analyze Component Requirements 2. Generate React Component 3. Generate React Native Component 4. Generate Component Tests 5. Generate Styles 6. Generate Storybook Stories Output Format 1. Component File : Fully implemented React/React Native component 2. Type Definitions : TypeScript interfaces and types 3. Styles : CSS modules, styled components, or Tailwind config 4. Tests : Complete test suite with coverage 5. Stories : Storybook stories for documentation 6. Index File : Barrel exports for clean imports Focus on creating production ready, accessible, and maintainable components that follow modern React patterns and best practices. Limitations Use this skill only when the task clearly matches the scope described above. Do not treat the output as a substitute for environment specific validation, testing, or expert review. Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.