Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
DEPRECATED: Replaced by mcp-app-builder. Previously used to build ChatGPT apps with interactive React widgets via mcp-use.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
evals/architecture.json
1[2{3"query": "Spec: Find concerts nearby, see available seats, purchase tickets. API: Event search, seat availability, purchase. Payment via Stripe checkout.",4"expected_behavior": "Widget (browse-events) for search results + seat selection UI. Tool (purchase-tickets) for checkout URL. Widget handles browsing and seat picking. Tool handles payment redirect."5},6{7"query": "Spec: Find restaurants nearby and make reservations. API: Restaurant search, reservation API. Reservations require phone number.",8"expected_behavior": "Widget (search-restaurants) showing results with Reserve button. Tool (make-reservation) for booking. Phone number collected via widget form input."9},10{11"query": "Spec: Check PTO balance and request time off. API: PTO balance, time-off request. Needs manager approval.",12"expected_behavior": "Tool (get-pto-balance) for balance check -- no UI needed. Tool or widget for requesting time off (calendar date picker is acceptable). Not everything needs a widget."13},14{15"query": "Spec: Track flight status with map. Real-time updates. API: Flight status.",16"expected_behavior": "Widget (track-flight) showing flight status with visual map, times, gate info. Rich visual data justifies a widget."17},18{19"query": "Spec: Create support tickets, check ticket status. API: Ticket CRUD.",20"expected_behavior": "Tools only -- no widget needed. Tool (create-ticket) takes description/category. Tool (get-ticket-status) returns status. Pure conversational, no visual data."21},22{23"query": "Spec: Movie showtimes nearby. API: Movie listings. No booking.",24"expected_behavior": "Widget (search-movies) showing movie cards with showtimes. One widget, no tools -- purely browsing."25},26{27"query": "I have a search-flights widget and also created a get-flight-details tool that loads details when a flight is selected.",28"expected_behavior": "BAD PATTERN: lazy-loading. The search-flights widget should return full flight data upfront. Remove get-flight-details tool. Tool calls are expensive."29},30{31"query": "My widget has a search-flights tool AND a select-flight tool AND an add-passenger tool.",32"expected_behavior": "BAD PATTERN: widget state as tools. Flight selection and passenger form are widget-internal state. Only create-checkout should be a tool (backend operation)."33}34]35