openui
Detect OpenUI project state and suggest next action
Analyze the current project for OpenUI configuration.
Steps:
- Check if package.json exists and contains @openuidev dependencies
- Search for createLibrary calls to find the component library
- Search for system-prompt.txt files
- Search for API routes handling /api/chat
- Check for FullScreen, Copilot, or ChatProvider usage in pages
- Check root layout for CSS imports (@openuidev/react-ui/components.css)
Output a status table:
| Check | Status | Path |
|---|---|---|
| Dependencies | ... | ... |
| Component Library | ... | ... |
| System Prompt | ... | ... |
| Backend Route | ... | ... |
| Frontend Page | ... | ... |
| CSS Imports | ... | ... |
Then recommend the appropriate /openui:* command for the next step.