一键导入
frontend-development
Guidelines for Wails 3 GUI frontend development with React and TypeScript. Use when working on frontend/, UI components, or Wails bindings.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Guidelines for Wails 3 GUI frontend development with React and TypeScript. Use when working on frontend/, UI components, or Wails bindings.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Frontend development guardrails for this repo. Use when editing or adding frontend code to ensure consistency and maintainability.
Guidelines for Go backend development including architecture patterns, code style, testing, and common development tasks. Use when working on internal/, cmd/, or Go code.
Provides comprehensive overview of mcpd project architecture, capabilities, and key technical details. Use when understanding the project structure, architecture layers, or core concepts.
| name | frontend-development |
| description | Guidelines for Wails 3 GUI frontend development with React and TypeScript. Use when working on frontend/, UI components, or Wails bindings. |
| user-invocable | false |
Guidelines for developing the Wails 3 GUI frontend of mcpd, built with React and TypeScript.
# Generate TypeScript bindings for Go services
make wails-bindings
# Run Wails in development mode (hot reload)
make wails-dev
# Build Wails application
make wails-build
# Package Wails application for distribution
make wails-package
The frontend is located in the frontend/ directory and follows standard React/TypeScript conventions.
Key Directories:
frontend/src/: Source code
components/: Reusable UI componentsroutes/: Page components and routingmodules/: Feature modules with hooks and utilitiesbindings/: Auto-generated TypeScript bindings from Go servicesfrontend/public/: Static assetsWhenever you modify Go service methods in internal/ui/, regenerate TypeScript bindings:
make wails-bindings
This creates TypeScript interfaces and functions in frontend/src/bindings/ that match your Go service methods.
Import and use the generated bindings in your React components:
import { ServiceMethod } from '@/bindings/...'
// Use in component
const result = await ServiceMethod(params)
internal/ui/make wails-bindingsmake wails-dev for hot reloadmake wails-build when readyFor detailed React/TypeScript frontend-specific guidance, see frontend/CLAUDE.md.
The Wails bridge layer (internal/ui/) exposes core functionality to the GUI:
internal/ui/ become callable from frontendinternal/ui/make wails-bindingsfrontend/src/import { Method } from '@/bindings/...'make wails-devinternal/ui/ if neededmake wails-bindingsfrontend/src/make wails-devinternal/ui/ for Go-side errorsfrontend/CLAUDE.md for detailed frontend conventionsfrontend/CLAUDE.md for React/TypeScript frontend-specific guidanceproject-overview skill for architecture detailsinternal-development skill for Go backend work