Claude-skill-registry components-generators
Guidance for writing `@kubb/react-fabric` components and generators (React-based and function-based).
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/components-generators" ~/.claude/skills/majiayu000-claude-skill-registry-components-generators && rm -rf "$T"
manifest:
skills/data/components-generators/SKILL.mdsource content
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
components and where to place themreact-fabric - Explains generator types and recommended patterns
- Provides a small conceptual example for authors
Conceptual Example
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()
in componentsuseOperationManager() - Recommend deterministic output to avoid noisy diffs
Related Skills
| Skill | Use For |
|---|---|
| ../plugin-architecture/SKILL.md | For lifecycle and plugin registration details |