From bbeierle12-skill-mcp-claude
Decision framework for React Three Fiber projects. Routes to specialized R3F skills (fundamentals, geometry, materials, performance, drei) based on task requirements. Use when starting an R3F project or needing guidance on which R3F skills to combine.
npx claudepluginhub joshuarweaver/cascade-code-languages-misc-1 --plugin bbeierle12-skill-mcp-claudeThis skill uses the workspace's default tool permissions.
Routes to 5 specialized React Three Fiber skills based on task requirements.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Checks Next.js compilation errors using a running Turbopack dev server after code edits. Fixes actionable issues before reporting complete. Replaces `next build`.
Routes to 5 specialized React Three Fiber skills based on task requirements.
| Task Type | Skill | Primary Signal Words |
|---|---|---|
| Scene setup | r3f-fundamentals | canvas, scene, camera, lights, render, useFrame |
| Custom shapes | r3f-geometry | geometry, vertices, bufferAttribute, instancing, mesh |
| Surface appearance | r3f-materials | material, shader, texture, uniform, color, PBR |
| Task Type | Skill | Primary Signal Words |
|---|---|---|
| Optimization | r3f-performance | performance, FPS, draw calls, LOD, culling, memory |
| Helpers/Controls | r3f-drei | OrbitControls, useGLTF, Text, Environment, Html |
When multiple signals present, resolve by priority:
r3f-dreir3f-geometryr3f-materialsr3f-fundamentalsr3f-fundamentals as baser3f-fundamentals → Canvas, camera, lights, render loop
r3f-drei → OrbitControls, Environment, helpers
r3f-materials → MeshStandardMaterial, textures
Wiring: Fundamentals provides scene structure, drei adds controls and environment, materials define appearance.
r3f-fundamentals → Scene setup, useFrame for animation
r3f-geometry → Custom BufferGeometry if needed
r3f-materials → ShaderMaterial, uniforms, GLSL
Wiring: Fundamentals handles render loop, materials provides shader infrastructure.
r3f-fundamentals → Scene, camera, render loop
r3f-geometry → InstancedMesh, buffer attributes
r3f-materials → Custom particle shader
r3f-performance → Optimization, draw call reduction
Wiring: Geometry provides instancing, materials handles particle rendering, performance ensures smooth animation.
r3f-fundamentals → Scene structure
r3f-drei → useGLTF, Environment, ContactShadows, OrbitControls
r3f-materials → PBR materials, environment mapping
r3f-performance → LOD, texture optimization
Wiring: Drei loads model and provides studio setup, materials ensures realistic rendering.
r3f-fundamentals → Base scene management
r3f-geometry → Merged geometry, instancing
r3f-performance → LOD, culling, lazy loading
r3f-drei → Bounds, Preload, Detailed
Wiring: Performance strategies combined with geometry optimization for smooth rendering.
| Scenario | Model Loading | Custom Shapes | Custom Shaders | Optimization | Route To |
|---|---|---|---|---|---|
| Simple viewer | Yes | No | No | No | fundamentals + drei |
| Custom geometry | No | Yes | No | No | fundamentals + geometry |
| Shader art | No | Maybe | Yes | No | fundamentals + materials + geometry |
| Game/simulation | Maybe | Yes | Maybe | Yes | all skills |
| Product viz | Yes | No | No | Maybe | fundamentals + drei + materials |
| Particles | No | Yes | Yes | Yes | fundamentals + geometry + materials + performance |
r3f-fundamentals (foundation)
├── r3f-geometry (extends fundamentals)
├── r3f-materials (extends fundamentals)
├── r3f-drei (extends fundamentals)
└── r3f-performance (applies to all)
r3f-fundamentalsr3f-geometry and r3f-materials often used togetherr3f-drei can replace manual implementationsr3f-performance applies optimization to any combinationr3f-fundamentals + r3f-dreir3f-drei abstractions over manual implementationsUser Request
│
▼
┌─────────────────────┐
│ Need 3D model? │──Yes──▶ r3f-drei (useGLTF)
└─────────────────────┘
│ No
▼
┌─────────────────────┐
│ Custom geometry? │──Yes──▶ r3f-geometry
└─────────────────────┘
│ No
▼
┌─────────────────────┐
│ Custom shader? │──Yes──▶ r3f-materials
└─────────────────────┘
│ No
▼
┌─────────────────────┐
│ Performance issues? │──Yes──▶ r3f-performance
└─────────────────────┘
│ No
▼
┌─────────────────────┐
│ Controls/helpers? │──Yes──▶ r3f-drei
└─────────────────────┘
│ No
▼
r3f-fundamentals (default)
See individual skill files for detailed patterns:
/mnt/skills/user/r3f-fundamentals/SKILL.md/mnt/skills/user/r3f-geometry/SKILL.md/mnt/skills/user/r3f-materials/SKILL.md/mnt/skills/user/r3f-performance/SKILL.md/mnt/skills/user/r3f-drei/SKILL.md