Alpha: Ships on npm at 7.0.0-alpha.07.0.0-alpha.0

Prompts

One copyable prompt per task, per Template and per worked Site, every address on this site and every one served.

Each prompt is five lines or fewer: what to read, what to start from, what to change, the rule, and what to hand back. Every address in it is a link; the build fails if one does not resolve.

By task

Write a new pagetask
  1. Read https://next.mdxui.dev/llms.txt, then fetch https://next.mdxui.dev/pages/vanroster/home.json, a page record that parses.
  2. Run pnpm add @mdxui/site@7.0.0-alpha.0. It pins @mdxui/themes 7.0.0-alpha.0.
  3. Rewrite its strings for my Business. Keep the Section types that fit.
  4. Parse it with PageSchema.safeParse. When it refuses, shorten the content, never the bound.
  5. Render it with renderPage under two of the 5 Themes and save both HTML files.
Write a whole Sitetask
  1. Read https://next.mdxui.dev/llms.txt, then fetch https://next.mdxui.dev/sites/vanroster/records.zip, a worked Site whose records parse.
  2. Run pnpm add @mdxui/site@7.0.0-alpha.0.
  3. Rewrite every record for my Business. Keep one Theme for the whole Site, a 404 page and a contact page.
  4. Parse each record with PageSchema.safeParse. When it refuses, shorten the content, never the bound.
  5. Render each record with renderPage and save one HTML file per page.
Rebrand a Sitetask
  1. Read https://next.mdxui.dev/docs/start/guides/rebrand.md.
  2. Set "theme" in every record of my Site to one Theme of the five.
  3. Render each record again and compare it with the render under the old Theme.
Fix every refusaltask
  1. Read https://next.mdxui.dev/docs/reference/refusals.md.
  2. Parse my record with PageSchema.safeParse and list each issue by its path.
  3. Shorten or cut the content at each path until the record parses. Never change a bound.

By Template

Each starts from a worked page that uses the Template and parses as it stands.

api-product, from Vanroster › homeTemplate
  1. Read https://next.mdxui.dev/docs/showcase/templates/api-product.md, then fetch https://next.mdxui.dev/pages/vanroster/home.json, a api-product page that parses.
  2. Run pnpm add @mdxui/site@7.0.0-alpha.0.
  3. Rewrite its strings for my Business. Keep its Section types in their order; drop one only when my Business has nothing to say there.
  4. Parse it with PageSchema.safeParse. When it refuses, shorten the content at the path it names, never the bound.
  5. Render it with renderPage and save the HTML file.
article, from Vanroster › securityTemplate
  1. Read https://next.mdxui.dev/docs/showcase/templates/article.md, then fetch https://next.mdxui.dev/pages/vanroster/security.json, a article page that parses.
  2. Run pnpm add @mdxui/site@7.0.0-alpha.0.
  3. Rewrite its strings for my Business. Keep its Section types in their order; drop one only when my Business has nothing to say there.
  4. Parse it with PageSchema.safeParse. When it refuses, shorten the content at the path it names, never the bound.
  5. Render it with renderPage and save the HTML file.
blog, from Vanroster › changelogTemplate
  1. Read https://next.mdxui.dev/docs/showcase/templates/blog.md, then fetch https://next.mdxui.dev/pages/vanroster/changelog.json, a blog page that parses.
  2. Run pnpm add @mdxui/site@7.0.0-alpha.0.
  3. Rewrite its strings for my Business. Keep its Section types in their order; drop one only when my Business has nothing to say there.
  4. Parse it with PageSchema.safeParse. When it refuses, shorten the content at the path it names, never the bound.
  5. Render it with renderPage and save the HTML file.
contact, from Vanroster › contactTemplate
  1. Read https://next.mdxui.dev/docs/showcase/templates/contact.md, then fetch https://next.mdxui.dev/pages/vanroster/contact.json, a contact page that parses.
  2. Run pnpm add @mdxui/site@7.0.0-alpha.0.
  3. Rewrite its strings for my Business. Keep its Section types in their order; drop one only when my Business has nothing to say there.
  4. Parse it with PageSchema.safeParse. When it refuses, shorten the content at the path it names, never the bound.
  5. Render it with renderPage and save the HTML file.
directory-list, from Benchlist › homeTemplate
  1. Read https://next.mdxui.dev/docs/showcase/templates/directory-list.md, then fetch https://next.mdxui.dev/pages/benchlist/home.json, a directory-list page that parses.
  2. Run pnpm add @mdxui/site@7.0.0-alpha.0.
  3. Rewrite its strings for my Business. Keep its Section types in their order; drop one only when my Business has nothing to say there.
  4. Parse it with PageSchema.safeParse. When it refuses, shorten the content at the path it names, never the bound.
  5. Render it with renderPage and save the HTML file.
directory-product, from Vanroster › product/dispatchTemplate
  1. Read https://next.mdxui.dev/docs/showcase/templates/directory-product.md, then fetch https://next.mdxui.dev/pages/vanroster/product/dispatch.json, a directory-product page that parses.
  2. Run pnpm add @mdxui/site@7.0.0-alpha.0.
  3. Rewrite its strings for my Business. Keep its Section types in their order; drop one only when my Business has nothing to say there.
  4. Parse it with PageSchema.safeParse. When it refuses, shorten the content at the path it names, never the bound.
  5. Render it with renderPage and save the HTML file.
post, from Vanroster › changelog/route-swapsTemplate
  1. Read https://next.mdxui.dev/docs/showcase/templates/post.md, then fetch https://next.mdxui.dev/pages/vanroster/changelog/route-swaps.json, a post page that parses.
  2. Run pnpm add @mdxui/site@7.0.0-alpha.0.
  3. Rewrite its strings for my Business. Keep its Section types in their order; drop one only when my Business has nothing to say there.
  4. Parse it with PageSchema.safeParse. When it refuses, shorten the content at the path it names, never the bound.
  5. Render it with renderPage and save the HTML file.

By worked Site

Each starts from every record of one worked Business, as one download.

A Site like VanrosterSite
  1. Read https://next.mdxui.dev/docs/showcase/vanroster.md and https://next.mdxui.dev/docs/start/ship.md.
  2. Download https://next.mdxui.dev/sites/vanroster/records.zip: 9 records of a b2b saas that parse, under callboard.
  3. Rewrite every record for my Business. Keep one Theme for every record, the 404 page and the contact flow.
  4. Parse each record with PageSchema.safeParse. When one refuses, shorten the content at its path, never the bound.
  5. Build the Site with ship.ts and show me dist/.
A Site like LedgerhouseSite
  1. Read https://next.mdxui.dev/docs/showcase/ledgerhouse.md and https://next.mdxui.dev/docs/start/ship.md.
  2. Download https://next.mdxui.dev/sites/ledgerhouse/records.zip: 9 records of a professional services that parse, under vaultline.
  3. Rewrite every record for my Business. Keep one Theme for every record, the 404 page and the contact flow.
  4. Parse each record with PageSchema.safeParse. When one refuses, shorten the content at its path, never the bound.
  5. Build the Site with ship.ts and show me dist/.
A Site like DiffkeelSite
  1. Read https://next.mdxui.dev/docs/showcase/diffkeel.md and https://next.mdxui.dev/docs/start/ship.md.
  2. Download https://next.mdxui.dev/sites/diffkeel/records.zip: 9 records of a developer tool that parse, under certificate.
  3. Rewrite every record for my Business. Keep one Theme for every record, the 404 page and the contact flow.
  4. Parse each record with PageSchema.safeParse. When one refuses, shorten the content at its path, never the bound.
  5. Build the Site with ship.ts and show me dist/.
A Site like BenchlistSite
  1. Read https://next.mdxui.dev/docs/showcase/benchlist.md and https://next.mdxui.dev/docs/start/ship.md.
  2. Download https://next.mdxui.dev/sites/benchlist/records.zip: 8 records of a directory and marketplace that parse, under directory.
  3. Rewrite every record for my Business. Keep one Theme for every record, the 404 page and the contact flow.
  4. Parse each record with PageSchema.safeParse. When one refuses, shorten the content at its path, never the bound.
  5. Build the Site with ship.ts and show me dist/.
A Site like SideworkSite
  1. Read https://next.mdxui.dev/docs/showcase/sidework.md and https://next.mdxui.dev/docs/start/ship.md.
  2. Download https://next.mdxui.dev/sites/sidework/records.zip: 8 records of a publication that parse, under vaultline.
  3. Rewrite every record for my Business. Keep one Theme for every record, the 404 page and the contact flow.
  4. Parse each record with PageSchema.safeParse. When one refuses, shorten the content at its path, never the bound.
  5. Build the Site with ship.ts and show me dist/.
A Site like Harbor tidesSite
  1. Read https://next.mdxui.dev/docs/showcase/harbor.md and https://next.mdxui.dev/docs/start/ship.md.
  2. Download https://next.mdxui.dev/sites/harbor/records.zip: 10 records of a api product that parse, under quaypoint.
  3. Rewrite every record for my Business. Keep one Theme for every record, the 404 page and the contact flow.
  4. Parse each record with PageSchema.safeParse. When one refuses, shorten the content at its path, never the bound.
  5. Build the Site with ship.ts and show me dist/.

By guide

Run the Quickstart5 lines
  1. Read https://next.mdxui.dev/docs/start/quickstart.md and https://next.mdxui.dev/llms.txt.
  2. Download https://next.mdxui.dev/starter.zip and unzip it. Run pnpm install, then pnpm render.
  3. Rewrite the strings of pages/home.json for my Business. Keep the Section types that fit.
  4. Parse it with PageSchema.safeParse. When it refuses, shorten the content at the path it names, never the bound.
  5. Render it under its own Theme and one more, and show me both HTML files.
Ship a Site5 lines
  1. Read https://next.mdxui.dev/docs/start/ship.md.
  2. Run pnpm add @mdxui/site@7.0.0-alpha.0, then save ship.ts, site.ts and write-a-theme.ts as the page shows them.
  3. Put every record of my Site in pages/, with home.json, 404.json and one Theme for every record.
  4. Run node ship.ts. Fix each refusal at its path by shortening the content.
  5. Deploy dist/ and confirm an unknown address answers 404 with my 404 page.
Write a page from a description5 lines
  1. Read https://next.mdxui.dev/llms.txt and https://next.mdxui.dev/docs/agents/write-a-page.md.
  2. Fetch https://next.mdxui.dev/schema.json and use it as the structured output schema for one page record.
  3. Write the record for the page I describe. Keep every string inside its bound.
  4. Parse it with PageSchema.safeParse. When it refuses, shorten the content at the path it names, never the bound.
  5. Render it with renderPage and save the HTML file.

The rule in every prompt

When PageSchema.safeParse refuses, the agent shortens the content at the path it names. It never raises a bound, never adds a field the schema does not name, and never writes markup into a string.

On this page