Skip to content
Agentmart
Submit a tool

react-component-generator

Generates production-ready React components with TypeScript, Tailwind CSS, proper accessibility, and test scaffolding.

Skill by abhiunix

IndexedMIT★ 2
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/abhiunix-react-component-generator

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Generates production-ready React components with TypeScript, Tailwind CSS, proper accessibility, and test scaffolding. Use when asked to create a new React component.

Use cases: frontend, testing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 26, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 2

  • codeload.github.com · found in install command
  • github.com · found in code

Files it touches

  • ~/.claude/skills/react-component-generator

Tools it pre-approves 5

From allowed-tools in SKILL.md: the agent may use these without asking you each time.

  • Read
  • Glob
  • Grep
  • Edit
  • Write

What's inside

Skill name
react-component-generator
Description
Generates production-ready React components with TypeScript, Tailwind CSS, proper accessibility, and test scaffolding. Use when asked to create a new React component.
License
MIT
Allowed tools
Read, Glob, Grep, Edit, Write
Instructions
55 lines in SKILL.md · view on GitHub

Files (3)

  • SKILL.md
  • metadata.json
  • patterns.md · references/

SKILL.md (first lines)

# React Component Generator

When asked to create a React component, follow this process:

## Step 1: Understand Requirements

Before generating code, clarify:
- Component name and purpose
- Props the component should accept
- Whether it needs internal state
- If it should fetch data or receive it via props

## Step 2: Generate Component

Create a functional component with:
- TypeScript interface for all props
- Tailwind CSS for styling (no CSS modules)
- Semantic HTML elements
- ARIA attributes for accessibility
- JSDoc comment describing the component

### Component Template

```typescript
interface ${ComponentName}Props {
  /** Description of each prop */
}

/** Brief description of what this component does */
export function ${ComponentName}({ ...props }: ${ComponentName}Props) {
  return (
    <div className="...">
      {/* Implementation */}
    </div>
  );
}
```

## Step 3: Add Tests

Generate a co-located test file (`ComponentName.test.tsx`) with:
- Render test (component mounts without errors)
- Props test (renders correctly with different props)
- Interaction test (click handlers, form inputs work)

## Rules

- Always use `function` declarations, not arrow functions, for components
- Always export components as named exports, not default
- Props interface must be exported separately
- Use `clsx` or template literals for conditional classes, not ternaries in className
- Never use `any` type — define proper types or use `unknown`
- Include `data-testid` attributes on interactive elements

From abhiunix/community-registry, MIT.

Signals

Stars
2
Forks
0
Open issues
0
Last commit (this folder)
Oct 19, 2026 (9 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from abhiunix

Cite this page

react-component-generator skill. Agent Mart. https://agentmart.dev/skills/abhiunix-react-component-generator (last updated 2026-10-24)