Basic Prompts
Use these prompts for first-time pages and small static examples.
Static table prompt
TXT
Create a basic VibeFlui table for a products resource.
Return separate files with path labels:
- schemas/products/product.table.schema.ts
- app/products/page.tsx
Requirements:
- resource: products
- title: Products
- identity key: id
- static table with columns sku, name, category, status
- search enabled
- actions disabled
- sample data with two rows
- no custom renderer
- no registry unless required
- no inline async handlersExpected structure:
TXT
app/
products/
page.tsx
schemas/
products/
product.table.schema.tsSimple form prompt
TXT
Create a VibeFlui create form for a support ticket resource.
Return separate files with path labels:
- schemas/tickets/ticket.form.schema.ts
- lib/vibeflui/registry.tsx
- app/tickets/new/page.tsx
Requirements:
- resource: tickets
- table disabled
- form mode page
- fields: subject, requesterEmail, priority, status, description
- requesterEmail type email and required
- priority select options low, medium, high
- status select options open, pending, closed
- create action uses handler tickets.create
- registry defines tickets.create
- handler returns { status: true, code: 200, message }
- page uses a named handleSubmitTicket function
- use form.submitLabel and form.cancelLabel only when custom button labels are needed
- do not invent unsupported label keys such as submitText or buttonText
- do not inline async function in onSubmitBasic review prompt
TXT
Review this VibeFlui schema for invalid keys.
Rules:
- Compare keys against @vibeflui/core public types.
- Flag unknown keys.
- Flag inline JSX inside registry.
- Flag inline async functions in <FluiKit> or <FluiKitForm> props.
- Do not suggest features unless they exist in current source.
- If a requested feature cannot be found in source, do not document it as available.Copy rule
For basic examples, ask the AI to avoid unnecessary adapters, permissions, providers, hooks, events, and custom renderers. Add them only when the page needs them.