In short.
React Component Generator is an assistant skill for developers building React interfaces, but its templates need accessibility and error-handling work before adoption. Seven TSX assets cover common UI patterns, including a shared Zustand counter store. The modal lacks focus management, clickable card and list regions lack keyboard controls, and form submission failures have no visible feedback. Nothing was executed; build compatibility, assistant integration and runtime behavior remain unknown.
Researched and written by an AI model and checked by a second AI model. How it works
The scope comprises all nine captured files under testdata/skills/react-component-generator: SKILL.md, seven TSX assets and references/best-practices.md. It also includes root LICENSE and testdata/skills/THIRD_PARTY_NOTICES.md, both outside the selected folder. The rest of goskills, other skills, external dependency implementations and assistant-host implementations are excluded. No code was executed. Host installation, generated output, compilation, browser behavior, assistive-technology behavior and performance remain unverified.
The overview
Identity
The resource is the react-component-generator folder under testdata/skills in smallnest/goskills. It contains SKILL.md, seven TSX templates and references/best-practices.md. Its original source location is [https://github.com/smallnest/goskills/tree/master/testdata/skills/react-component-generator].
SKILL.md supplies instructions for an assistant to adapt those templates. The captured folder contains no standalone generator executable or packaged component-library interface.
Assessment
The skill offers concrete starting points for teams already using React, TypeScript and Tailwind CSS. Its main value is a common structure for props, naming, styling and callbacks across familiar component types.
The documentation describes production-ready output, but the supplied assets contain incomplete accessibility behavior and basic error handling. They are better supported as editable scaffolding requiring developer review. No evidence establishes the quality or consistency of an assistant's generated output.
Users
Beginners can use the templates to study typed props, event callbacks, form state and component composition. They still need enough React knowledge to replace placeholders, connect application behavior and recognize missing interaction details.
Experienced developers may find the folder useful for repetitive scaffolding or adapting conventions to an existing project. Developers needing independently scoped component state or complete dialog accessibility will need to change the supplied patterns.
Capabilities
The basic template accepts children and a className. The button provides five visual variants, three sizes, a loading spinner, disabled behavior and an optional full-width layout. The card accepts a title, description, image, children, footer and click callback.
The form collects name, email and message, checks required values and a simple email pattern, awaits an onSubmit callback and clears the fields after success. The list renders items with id, title and optional description, supports click and delete callbacks, and displays an empty message.
The stateful template exports a Zustand counter store with increment, decrement, loading and reset actions. The modal offers four widths, optional title and footer, Escape and backdrop dismissal, and body-scroll suppression while open.
Using it
Requirements
The templates require a React project able to compile TypeScript and JSX. Their visual styling assumes Tailwind CSS is configured to generate the supplied utility classes. Zustand is imported by the stateful template; the other assets do not import it.
The intended assistant workflow requires access to SKILL.md and its relative assets and references. SKILL.md declares Read, Write, Edit, Glob and Grep tools, but the evidence establishes no supported assistant-host matrix or installation location.
The captured skill folder contains no dependency manifest, lockfile or build configuration. Supported React, TypeScript, Tailwind CSS and Zustand versions are unknown.
Mechanism
SKILL.md directs an assistant to identify the requested component type, read a matching template, consult the reference and customize the code. Customization includes replacing ComponentName, renaming props and store interfaces, changing fields and callbacks, and adjusting Tailwind classes.
The instructions also describe combining templates, such as merging list rendering with Zustand state for a todo interface. The assistant supplies the adaptation step; the folder itself provides source examples and guidance rather than an automated transformation engine.
Setup
Obtain the complete folder while preserving the assets and references directories. The exact captured revision is available at [https://github.com/smallnest/goskills/tree/f9a22832c281ddf96bc0e94785709ef6055e7a4f/testdata/skills/react-component-generator]. Host-specific registration instructions are not supplied.
Prepare the React/TypeScript and Tailwind configuration in the destination project, adding Zustand if using the stateful asset. Replace placeholder names and unfinished class strings, adapt the component API and retain the applicable license notices. No verified installation command sequence is available.
Example
For a contact form, adapt FormComponent.tsx into ContactForm.tsx and rename ComponentName and ComponentNameProps accordingly. The existing fields already collect name, email and message. Supply an asynchronous onSubmit callback connected to the application's submission service.
The template validates those fields, disables submission while awaiting the callback and resets values after success. Add a visible submission-failure message and programmatic links between inputs and validation errors. This is a source-based adaptation example; no form was generated or run.
Assessment & evidence
Limitations
The modal declares dialog semantics but supplies no accessible name through aria-label or aria-labelledby. It does not move focus into the dialog, keep keyboard focus inside it or restore focus on closing. Its scroll effect resets body overflow to unset instead of restoring the previous inline value.
Card clicks and list-item clicks are attached to div elements without keyboard handlers or focusability. The form has visible labels and error text, but no aria-invalid or aria-describedby connections. Its fixed input IDs also need adaptation when multiple forms share a page. Submission failures are logged to the console without visible feedback.
The Zustand store is created outside the component, so instances using that exported hook share its counter and loading state. The stateful asset supplies no asynchronous operation or error state. The list uses a fixed ListItem interface rather than the generic item type advertised in SKILL.md.
No compilation, browser interaction, assistive-technology testing or performance measurement is established. These findings describe the supplied source, not observed runtime results.
Reasoning
The reference recommends semantic controls, keyboard support and programmatic error descriptions, while several templates omit those details. Following the written guidance therefore requires changes to the assets themselves; copying a template alone does not implement all of the skill's recommendations.
The reference also needs technical judgment. Destructuring the result of useUserStore() does not itself narrow the store subscription, despite the accompanying description. Its memoized sorting example calls data.sort directly, which mutates the input array. Those examples should be adapted carefully; no measured performance benefit is supplied.
Shared Zustand state can suit several views of the same data. Independently reusable widgets need an explicit decision about state isolation because the supplied store is shared across instances.
Alternatives
Developers can manually adapt the supplied TSX files instead of loading SKILL.md into an assistant. This retains the template patterns while making naming, styling and behavior changes directly.
Within the folder, FormComponent.tsx demonstrates local React useState, BasicComponent.tsx covers simple presentation, and StatefulComponent.tsx demonstrates shared Zustand state. Choose according to the state scope required. The evidence supplies no comparative results for other generators, skill packs or component libraries.
Evidence
The supplied source includes SKILL.md, BasicComponent.tsx, ButtonComponent.tsx, CardComponent.tsx, FormComponent.tsx, ListComponent.tsx, ModalComponent.tsx, StatefulComponent.tsx and references/best-practices.md. Root LICENSE and the parent THIRD_PARTY_NOTICES.md provide the accompanying rights evidence.
The source files establish template structure and implementation details. The selected folder includes no executable tests or build configuration, and the supplied material contains no generated-output examples with execution results. Nothing was executed.
Access & freshness
Costs
The evidence supplies no skill price, assistant subscription charge, model usage rate or total-cost estimate. Overall cost is unknown.
The MIT license grants software permissions, but it does not establish the cost of a chosen assistant, application infrastructure or the development work needed to adapt these templates.
Rights
The repository's root LICENSE states the MIT License with copyright 2025 smallnest. It permits use, copying, modification, publication, distribution, sublicensing and sale, subject to retaining the copyright and permission notice in copies or substantial portions. It provides no warranty.
The parent THIRD_PARTY_NOTICES.md lists imageio and imageio-ffmpeg under BSD 2-Clause, FFmpeg under GPLv3, Pillow under MIT-CMU/HPND, and fonts under SIL OFL 1.1. It does not map those components to this specific skill. None of those listed payloads appears among the nine captured skill files; their presence in a parent notice does not establish a template dependency.
The supplied evidence does not include license texts for the external React and Zustand dependencies. Preserve the captured notices and assess any additional dependencies or assets included in an application.
Freshness
The supplied snapshot is pinned to commit f9a22832c281ddf96bc0e94785709ef6055e7a4f, with capture timestamp 2026-11-16T17:08:52.189Z. This identifies the exact source described rather than a published release version.
The original folder address follows master, whose contents may differ from this snapshot. Later changes and compatibility with particular React, Tailwind CSS or Zustand versions are unknown from the supplied evidence.
Actions
For adoption, preserve the complete folder and notices, replace placeholder names and styling, and decide whether state should be shared or isolated. Give clickable card and list actions semantic keyboard-accessible controls. Add modal naming and focus management, restore prior scroll styling, and connect form errors to inputs with visible submission-failure feedback.
Type-check and build the adapted components in the destination project. Evaluate keyboard and screen-reader behavior, repeated form instances, submission success and failure, multiple stateful instances and modal scroll restoration. Results for those activities are not available in the supplied evidence.
