Skip to main content
command CX Codex

component_generator — Claude Code command for React Three Fiber

Claude Code command that generates React Three Fiber components. Runs the component_generator.py script to scaffold 3D component boilerplate automatically.

Apache-2.0 ★ 1,428 updated 2025-11-20

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add freshtechbro/claudedesignskills
/plugin install react-three-fiber@claude-design-skillstack
Open on GitHub

What component_generator does

The command invokes a Python script from the React Three Fiber skill that generates component code for 3D scenes. Call it with /react-three-fiber-component_generator. The script can run in interactive mode, prompting for parameters as needed.

Installation goes through the Claude Code marketplace: add the freshtechbro/claudedesignskills repository first, then install react-three-fiber@claude-design-skillstack. The command file lands in .claude/commands/component_generator.md.

Requires Python and the React Three Fiber skill installed — without them, the script will not run.

What it helps with

  • Scaffold a 3D component for React Three Fiber
  • Automate repetitive parts of Three.js component setup
  • Run a component template generator from Claude Code

Example prompts for the agent

  • Generate a rotating cube component with /react-three-fiber-component_generator
  • Run the React Three Fiber component generator
  • Scaffold a 3D scene using /react-three-fiber-component_generator

How to install component_generator

1Plugin marketplace

/plugin marketplace add freshtechbro/claudedesignskills
/plugin install react-three-fiber@claude-design-skillstack

2Manually: put the files in place

.claude/commands/component_generator.md

Call it with /component_generator. For all projects use ~/.claude/commands/

Questions about component_generator

How to install component_generator in Claude Code?

Run /plugin marketplace add freshtechbro/claudedesignskills, then /plugin install react-three-fiber@claude-design-skillstack. The command appears in .claude/commands/component_generator.md.

What does component_generator do?

It runs a Python script that generates React Three Fiber component code. The script can prompt for parameters interactively and scaffold 3D component boilerplate.

What does the command need to run?

The React Three Fiber skill installed and Python in your system. Without them, component_generator.py will not execute.

Source text

component_generator.md · Apache-2.0
# /react-three-fiber-component_generator

React Three Fiber - Component Generator

## Description

Executes the component_generator script for React Three Fiber.

## Usage

```bash
/react-three-fiber-component_generator
```

## Implementation

This command runs the `component_generator.py` script from the React Three Fiber skill, which provides automated assistance for component generator.

## Notes

- This command leverages the skill's built-in automation scripts
- For interactive mode, the script will prompt for required information
- Check the skill documentation for detailed script usage

© Claude Design Skillstack · Apache-2.0 · freshtechbro/claudedesignskills

Similar slash commands

All slash commands for Frontend and UI →

From the same set84

The whole set →
barba-js Teaches the agent Barba.js — a 7 kb page transition library. Turns multi-page sites into SPA-like experiences by swapping containers without full reloads. CX Codex +1 2,600installs locomotive-scroll-integration_helper The locomotive-scroll-integration_helper command runs a Locomotive Scroll integration script. Use it when the setup needs an automated helper with interactive prompts. CX Codex +1 ★ 1,428repo stars gsap-scrolltrigger-generate_animation gsap-scrolltrigger-generate_animation — a slash command that runs the GSAP ScrollTrigger skill's generate_animation.py script, dropping into interactive mode when you pass no input. CX Codex +1 ★ 1,428repo stars config_builder config_builder executes the scroll reveal library configuration generator. Triggers when preparing animation settings for reveal effects on page scroll. CX Codex +1 ★ 1,428repo stars lottie-animations-generate_lottie_component lottie-animations-generate_lottie_component — a slash command that hands the job to the Lottie skill's generate_lottie_component.py, which builds an animated component from your input. CX Codex +1 ★ 1,428repo stars substance-3d-texturing-generate_export_preset substance-3d-texturing-generate_export_preset generates export presets for Substance 3D directly from Claude Code. Runs during texture pipeline setup. CX Codex +1 ★ 1,428repo stars props_generator Executes the props_generator.py script to generate props for animated UI components. Collects missing configuration through an interactive prompt mode. CX Codex +1 ★ 1,428repo stars component_importer Runs component_importer.py from the Animated Component Libraries skill. The slash command handles component import and asks for missing details in interactive mode. CX Codex +1 ★ 1,428repo stars

Project sponsors

Companies that keep this analytics open