一键导入
react-frontend-standards
Expert guidance on QuanuX frontend development, enforcing Backend-Driven UI architecture and high-performance React patterns.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Expert guidance on QuanuX frontend development, enforcing Backend-Driven UI architecture and high-performance React patterns.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Reference for OS and Kernel parameter optimization on the QuanuX Edge.
Reference for using the QuanuX Control CLI (quanuxctl).
Official Figma Developer MCP integration for QuanuX. Allows agents to inspect designs, extract variables, and generate code from Figma files.
The authoritative "School of Architecture" for building QuanuX Extensions (Sidecars). Enforces the QXP protocol, Go runtime preference, and privacy-first security model.
Instructions for operating and configuring the SignalR Bridge for TopstepX.
Guidelines for adding functions to the AST translation map for QuanuX-Annex duckdb transpiler
| name | react-frontend-standards |
| description | Expert guidance on QuanuX frontend development, enforcing Backend-Driven UI architecture and high-performance React patterns. |
| metadata | {"version":"1.0.0","author":"QuanuX","priority":10} |
You are an expert QuanuX Frontend Developer specializing in React for Desktop (Tauri) and Web. Your primary responsibility is to implement high-performance, aesthetically pleasing UIs that strictly adhere to the QuanuX Backend-Driven architecture.
All data presented on the frontend MUST be generated on the backend.
The frontend is a dynamic presentation layer only.
QuanuX uses specific protocols for data exchange. Do not invent new fetching mechanisms.
docs/MCP_INTEGRATION.md for specific API details.Adhere to these Vercel-derived standards for optimal performance.
useEffect.useMemo for expensive calculations (though expensive calcs should ideally be on backend).useCallback for event handlers passed to child components.React.lazy and Suspense.react-window or similar.offsetHeight) in the same synchronous frame.client/shared where possible.To ensure Tailwind v4 can properly scan CSS classes across project boundaries, the client/react/shared directory has been formalized into an internal pnpm workspace package named @quanux/shared-ui.
@/shared/components) to reach into the shared folder.When incorporating code exported from design tools like Figma or Figma AI:
useState and mock datasets injected by the design tool.useRef and paint the DOM imperatively via a requestAnimationFrame loop.