# App Build Agent Prompt Build ALL React MCP Apps for the {{NAME}} MCP server at {{DIR}}. ## Foundation + Tools Already Exist DO NOT modify any existing files. Only ADD app files under `src/ui/react-app/`. ## Apps to Build {{APP_LIST}} ## Quality Requirements — 2026 Standards ### Each App Directory Structure ``` src/ui/react-app/{app-name}/ ├── App.tsx # Main component ├── index.html # Entry point ├── main.tsx # React mount with ErrorBoundary ├── styles.css # Dark theme styles └── vite.config.ts # Build config ``` ### main.tsx — With Error Boundary + Suspense ```tsx import React, { Suspense } from 'react'; import ReactDOM from 'react-dom/client'; import './styles.css'; // Lazy load the main app component const App = React.lazy(() => import('./App')); // Error Boundary class ErrorBoundary extends React.Component< { children: React.ReactNode }, { hasError: boolean; error?: Error } > { constructor(props: { children: React.ReactNode }) { super(props); this.state = { hasError: false }; } static getDerivedStateFromError(error: Error) { return { hasError: true, error }; } render() { if (this.state.hasError) { return (
{this.state.error?.message}
No results found
Try adjusting your search