quest-keeper-frontend
Frontend development skill for Quest Keeper AI Tauri application. Use when working on React components, Zustand stores, Three.js battlemaps, TailwindCSS styling, or Tauri shell integration. Triggers on mentions of frontend, React, Zustand, Three.js, battlemap, UI, viewport, or Tauri.
When & Why to Use This Skill
The Quest Keeper Frontend Development skill is a specialized AI assistant designed to accelerate the creation of Tauri-based desktop applications. It provides expert-level support for React 19, Zustand state management, and Three.js 3D rendering, specifically tailored for the Quest Keeper AI project. This skill solves complex UI integration challenges, ensures consistent styling with TailwindCSS, and streamlines the development of interactive battlemaps and terminal interfaces.
Use Cases
- Building responsive React 19 components with TailwindCSS following a specific terminal/CRT design system.
- Developing interactive 3D battlemaps and world maps using Three.js and @react-three/fiber.
- Implementing global state management for characters and adventures using Zustand stores.
- Bridging the gap between the React frontend and Tauri Rust shell for desktop-native features.
- Streamlining MCP response parsing and data handling for AI-driven game mechanics.
| name | quest-keeper-frontend |
|---|---|
| description | Frontend development skill for Quest Keeper AI Tauri application. Use when working on React components, Zustand stores, Three.js battlemaps, TailwindCSS styling, or Tauri shell integration. Triggers on mentions of frontend, React, Zustand, Three.js, battlemap, UI, viewport, or Tauri. |
Quest Keeper Frontend Development
Location
C:\Users\mnehm\Desktop\Quest Keeper AI attempt 2
Tech Stack
- Framework: Tauri 2.x (Rust shell + WebView)
- UI: React 19 + TypeScript + Vite
- State: Zustand stores
- 3D: Three.js via @react-three/fiber
- Styling: TailwindCSS (terminal/CRT aesthetic)
Directory Structure
src/
├── components/
│ ├── viewport/ # BattlemapCanvas, CharacterSheet, WorldMap
│ ├── adventure/ # Main layout (AdventureView.tsx)
│ ├── terminal/ # Chat interface
│ └── sidebar/ # Navigation
├── stores/ # Zustand state management
├── services/ # MCP client, LLM providers
├── hooks/ # Custom React hooks
└── utils/ # Helpers
Key Commands
npm run tauri dev # Development with hot reload
npm run build # Production build
MCP Response Parsing
import { parseMcpResponse } from '@/utils/mcpUtils';
const result = await mcpClient.callTool('get_character', { id });
const character = parseMcpResponse<Character>(result, null);
Terminal/CRT Aesthetic
Key classes: terminal-green, terminal-dim, terminal-dark, crt-glow, font-mono