tools/llm-oneshot/apps/chat-app/prompts/composed/01_basic.md
Create a real-time chat app.
Important: Each feature below includes a "UI contract" section specifying required element attributes for automated testing. You MUST follow these — they define the user-facing interface. Your architecture, state management, and backend design are entirely up to you.
UI contract:
placeholder contains "name" (case-insensitive)button with text "Join", "Register", "Set Name", or type="submit"button with text containing "Create" or "New" or "+"placeholder contains "room" or "name" (case-insensitive)placeholder contains "message" (case-insensitive)button with text "Join"button with text "Leave"UI contract:
UI contract:
UI contract: