Skip to content
Back to skills

Components Generators

ASecurity

Guidance for writing `@kubb/react-fabric` components and generators (React-based and function-based).

  • 666 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added February 8, 2026
developmentreactnode

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill components-generators --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Components Generators?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Components Generators
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-components-generators/badge)](https://www.skillsdirectory.com/skills/majiayu000-components-generators)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: components-generators
description: Guidance for writing `@kubb/react-fabric` components and generators (React-based and function-based).
---

# Components & Generators Skill

This skill helps agents answer questions about authoring components and generators using `@kubb/react-fabric`.

## When to Use

- When asked where to place components/generators
- When guiding authors to write React-based generators

## What It Does

- Lists common `react-fabric` components and where to place them
- Explains generator types and recommended patterns
- Provides a small conceptual example for authors

## Conceptual Example

```tsx
import { File, Function } from '@kubb/react-fabric'
export function Query({ name }: Props): FabricReactNode {
  return (
    <File.Source name={name} isExportable isIndexable>
      <Function name={name} export>
        // Generated code
      </Function>
    </File.Source>
  )
}
```

## Tips for Agents

- Recommend small, composable components
- Encourage use of `usePluginManager()`, `useOas()`, `useOperationManager()` in components
- Recommend deterministic output to avoid noisy diffs

## Related Skills

| Skill                                                      | Use For                                       |
|------------------------------------------------------------|-----------------------------------------------|
| **[../plugin-architecture/SKILL.md](../plugin-architecture/SKILL.md)** | For lifecycle and plugin registration details |

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.