LoomCode AI

Prompt library

AI App Builder Prompts with Tested Results

Ten real prompts we ran in LoomCode AI on 2026-11-22, with framework, model, timings and checked results, plus prompt rules from what worked and failed.

Updated Nov 23, 2026First published Nov 22, 202616 min readtested

These are twelve prompts we actually ran in LoomCode AI on 2026-11-22, all with OpenAI's GPT-6.2 Sol (gpt-6.2-sol), each followed by what came out and what we checked. Most passed every check. Two need a caveat, and we show both: the Laravel run's first test exposed a LoomCode bug (since fixed), and the Nuxt prompt failed on its first attempt and had a form bug on its second. Each entry links to the page with the full code and screenshots, and has a button that opens the exact prompt and framework in the builder.

Timings are from single runs, not benchmarks. Across these runs, generation took 9 to 50 seconds and sandboxes started in 1 to 9 seconds. Generated code differs from run to run, so your output won't match ours exactly.

The prompts

#ExampleFrameworkFilesGeneration / sandboxOutcome
1Sales dashboardStreamlit120.7 s / 3.6 sAll checks passed
2Analytics dashboardReact232.4 s / 2.8 sAll checks passed
3Task manager (CRUD)Laravel1248.4 s / 7.4 sPassed after a LoomCode HTTPS fix
4Penguins analysisPython interpreter18.9 s / 8.5 sOutput as requested
5Sentiment demoGradio123.4 s / 2.2 sWorked; one frontend error
6Developer portfolioVue (Nuxt 4)336.8 s / 5.0 sPassed on attempt 3 after two LoomCode fixes
7Invoicing SaaS prototypeNext.js649.4 s / 4.2 sAll checks passed
8Coffee landing pageNext.js334.9 s / 2.7 sForm checks passed
9Feedback formPHP131.0 s / 1.1 sAll checks passed
10Team directory from a screenshotReact228.4 s / 3.2 sAll checks passed
11Room booking prototypeReact234.6 s / 2.7 sAll checks passed
12Leftover hackathon demoNext.js741.0 s / 4.8 sAll checks passed

1. Streamlit sales dashboard

A sales dashboard with a built-in sample dataset of 200 orders (date, region, product, units, revenue). Sidebar filters for region and date range, KPI cards, a monthly revenue line chart, revenue by product bar chart and a CSV download of the filtered rows. Also allow uploading a CSV with the same columns.

Result: one app.py. On load it showed revenue 32,836.50 across 200 orders. Removing the East region left 141 orders. Uploading a 3-row CSV switched everything to 3 orders and 125.50 revenue. The download button was present, with no exceptions. Full code and screenshots: Create a Streamlit data app.

Try prompt 1 in the builder

2. React analytics dashboard

An analytics dashboard with mock data: 4 KPI cards, a sortable table of the top 10 pages, and a simple SVG bar chart of weekly visits. Use plain CSS, no external chart library.

Result: src/App.tsx and src/dashboard.css, with 4 KPI cards, a 10-row table whose sort order reversed on the second header click, a 6-bar SVG chart, and no page errors. Full code and the recorded Create React App run and current Vite setup: Build a React dashboard.

Try prompt 2 in the builder

3. Laravel task manager

A task manager with a Task model (title, description, status: todo/doing/done, due_date). Index page with status filter, create and edit forms with validation, delete with confirmation, and a seeder with 5 example tasks.

Result: 12 files: migration, model, form request, resource controller, routes, four Blade views, factory and seeders. Our first browser test found that forms failed behind the sandbox's HTTPS proxy. That was a LoomCode bug, which we fixed. With the same files re-run, 5 seeded tasks showed, and create, filter, edit and delete passed. An empty title produced "The title field is required." Details: Generate a Laravel CRUD app.

Try prompt 3 in the builder

4. Python data analysis

Load the Palmer Penguins dataset from https://raw.githubusercontent.com/mwaskom/seaborn-data/master/penguins.csv with pandas. Drop rows with missing values and print how many rows were dropped. Print a table of mean bill length, bill depth, flipper length and body mass per species. Then draw one matplotlib figure: a scatter plot of flipper length vs body mass, colored by species, with a legend and axis labels.

Result: one script.py, run in the code interpreter (notebook-style output, no web URL). It printed "Rows dropped: 11" and a per-species table: for example, Adelie had a mean bill length of 38.82 mm and a body mass of 3706.16 g, and Gentoo 47.57 mm and 5092.44 g. It also drew the scatter plot. Full output: Python data analysis example.

Try prompt 4 in the builder

5. Gradio sentiment demo

A Gradio sentiment demo that trains a tiny multinomial Naive Bayes classifier in pure Python (no scikit-learn or transformers) at startup, using 40 built-in labeled example sentences (20 positive, 20 negative). The interface takes a sentence and returns the predicted label with probabilities for both classes, includes 4 example inputs, and shows a table of the 10 most positive and 10 most negative words learned. Explain in the UI that it is a toy model trained on 40 sentences.

Result: one app.py. It labeled our positive test sentence Positive and our negative one Negative (77%). The UI explains that it is a toy model. The browser recorded one uncaught error from Gradio's frontend ("undefined" is not valid JSON) that didn't block use. How to swap in a real model: Build a Gradio ML demo.

Try prompt 5 in the builder

6. Nuxt developer portfolio

A developer portfolio site: hero with name and short bio, a projects grid of 6 projects loaded from a local data file (title, description, tags, link), a skills section, and a contact form that validates name, email and message on the client and shows a confirmation message. There is no backend, so say in the UI that the form does not send email.

Result: three attempts. Attempt 1 returned HTTP 500 ("Can't resolve 'tailwindcss'") because the model set up Tailwind v4 in a sandbox that ships Tailwind v3. Attempt 2 rendered 6 project cards, but the contact form never accepted valid input: v-model on a dynamic <component> doesn't bind native inputs. Each failure led to a fix in LoomCode's Vue instructions. Attempt 3 passed: errors on an empty submit, errors cleared on valid input, and a confirmation on submit. The full story and code: Build a Vue portfolio.

Try prompt 6 in the builder

7. Next.js SaaS prototype

A SaaS prototype for an invoicing tool. A marketing landing page at / with a pricing section, a /dashboard page listing 12 invoices from in-memory mock data with a status filter (paid, due, overdue) and totals, and a /dashboard/[id] invoice detail page. No authentication and no database; label the data as sample data.

Result: 6 files. The landing page and /dashboard returned 200 with 12 rows. The filters showed paid 5, due 4 and overdue 3 of 12, and /dashboard/INV-1012 returned 200. No page errors. What a real SaaS would still need: Build a Next.js SaaS prototype.

Try prompt 7 in the builder

8. Coffee subscription landing page

A landing page for a coffee subscription called Ridgeline Roasters: hero with headline and call to action, three plan cards with monthly prices, a how-it-works section with 3 steps, an FAQ accordion with 5 questions, and a newsletter signup form with client-side email validation and a success message. No backend.

Result: 3 files. An invalid email showed "Enter an email address like you@example.com.", and a valid one showed "Thanks! Your demo signup was successful." The form states "Demo only. Your email won't be sent or saved." The FAQ uses native details and summary elements. Our script didn't verify that it opens and closes. More: Landing pages.

Try prompt 8 in the builder

9. Plain PHP feedback form

A plain PHP (no framework) feedback form with name, email, rating (1-5) and comment. Validate on the server, show field errors, store valid submissions in a SQLite database through PDO (create the table if it does not exist), and list the latest 20 submissions below the form with the average rating. Escape all output.

Result: one index.php. An empty submit (with the browser's required checks removed) produced server-side errors such as "Enter a name between 1 and 100 characters.", and a valid submission was saved to SQLite. HTML typed into the name field was shown escaped, not rendered, and the page showed "Average rating across all submissions: 4.00 / 5". More: PHP template.

Try prompt 9 in the builder

10. Team directory from a screenshot

Recreate this screenshot as a working React app. Match the layout, spacing, colors and text as closely as you can. Make the search box filter the team member cards by name or role, and make the department tabs filter the list.

This prompt was sent with an image attached: a team directory mockup we designed ourselves. Result: 2 files that reproduced the layout with 9 cards. Searching "designer" left Product Designer and Brand Designer, and the Operations tab showed 3 people. The builder link below fills in the text and framework only. Attach your own screenshot in the builder before you send it, using a model that accepts images. The default, GPT-6.2 Sol, does. Input and output side by side: Screenshot to app.

Try prompt 10 (attach your screenshot)

11. Meeting room booking prototype

A clickable prototype of a meeting room booking app with mock data: a list of 6 rooms with capacity and amenities, a filter by minimum capacity, a booking form for the selected room with date, start and end time validation (end after start), and a confirmation screen. Keep all state in memory, use plain CSS, and show a Prototype label in the header.

Result: 2 files on the React template (src/App.tsx, src/App.css). The header shows a Prototype label; a minimum-capacity filter reduced the 6 rooms to 2; an end time before the start time was rejected with "End time must be after start time."; a valid booking reached a confirmation screen that says no real room was reserved. Write-up: rapid prototyping.

Try prompt 11 in the builder

12. Leftover: a hackathon demo

A demo app for a campus food-waste tracker called Leftover. A landing page at / explaining the idea in three steps, a /log page with a form to record saved meals (dining hall, item, portions) kept in memory with validation, and a /stats page showing total portions per dining hall from sample data with a simple bar chart made of divs. No authentication and no database; label the data as sample data.

Result: 7 files on the Next.js template with three App Router routes. The landing page explains the idea in three steps; /log rejects an empty form ("Choose a dining hall") and lists saved meals ("Logged 4 portions of Vegetable curry."); /stats shows portions per dining hall as a div bar chart and says the totals are fictional sample data. Write-up: hackathons.

Try prompt 12 in the builder

What these runs taught us about writing prompts

These rules come from comparing what each prompt asked for with what came back.

Say what doesn't exist

"No backend", "mock data", "in-memory", "no authentication and no database", "there is no backend, so say in the UI…". Every prompt that said this got an app that labels itself honestly: "Mock data" badges, "Sample data · Not payable", "Demo only. Your email won't be sent or saved." If you leave it out, a model may wire a form to an endpoint that doesn't exist.

Give the data shape

Name the columns (date, region, product, units, revenue), the fields and allowed values (status: todo/doing/done), or the record shape (title, description, tags, link). The Streamlit run used the same five columns for its sample data, its upload validation and its download. The Laravel run used the same three statuses in the migration, the validation rule and both dropdowns.

Use numbers you can check

"4 KPI cards", "top 10 pages", "12 invoices", "5 example tasks", "6 projects", "40 sentences". Exact counts make the result easy to check, and every count we checked matched the prompt.

Name the framework's constraints

Each sandbox has a fixed setup, listed on the templates page. Prompts that matched it worked, and the one that collided with it failed:

  • React: "Use plain CSS, no external chart library." The React template has no Tailwind, and the result needed no extra packages.
  • Gradio: "pure Python (no scikit-learn or transformers)". Neither library is preinstalled, and the sandbox is CPU-only.
  • Nuxt: the prompt said nothing about styling, and the model configured Tailwind v4 against a Tailwind v3 setup, so the preview returned HTTP 500. LoomCode now tells the model about the setup, but adding "use the preinstalled Tailwind v3 module" costs you nothing.

Bring data in a way the builder accepts

The builder's prompt box accepts images, not CSV files. Ask for built-in sample data (prompt 1), load a public URL (prompt 4), or ask the generated app for an upload widget (prompt 1 again).

Ask for the safety basics explicitly

"Validate on the server" and "Escape all output" (prompt 9) produced server-side validation and escaped HTML, both of which we checked. "Explain in the UI that it is a toy model" (prompt 5) produced a clear disclaimer. Models often add these unprompted, but asking makes it certain and gives you something to test.

One app per prompt, then test what you asked for

Each prompt describes one app with its main screens. Change things with follow-up messages rather than one huge first prompt. Then click through every interaction you asked for: the second Nuxt attempt looked finished, and only typing into its form showed that it never updated.

Next steps

  • New to the builder? The quickstart covers choosing a framework and model, and plan limits.
  • All twelve runs used gpt-6.2-sol, the only model we call-tested. Other models in the catalog are listed from provider documentation. See models.
  • Choosing between the two Python web frameworks? Read Streamlit vs Gradio.
  • Browse the examples for more outputs.