Use this file to discover all available pages before exploring further.
Once your CMS is initialized, you’ll add collections as your site grows. Maybe you started with just a blog and now you need case studies, team members, or product listings. There are three paths — pick whichever matches the situation.
Be specific about purpose and fields. The more detail, the less back-and-forth.
Add a "case-studies" collection with title, client name, industry,summary (short), hero image, and a long-form body. Route them at/case-studies/{slug}.
Or, if you’re less sure:
I need a collection for our team page. Each team member has a name,title, photo, short bio, and links to their socials.
4
Review the proposed schema
The AI returns a manifest entry — collection ID, fields, route pattern, default sort. Approve or revise:
“Make industry a select with options: SaaS, Healthcare, Finance, Other”
“Add a featured boolean so we can promote a few”
“Use field-based slugs from the title instead of filename”
5
Approve and save
Once you’re happy, the AI updates hiveku.cms.json, creates the directory under content/, and (optionally) seeds it with one example entry.
6
Verify in the CMS panel
Switch the right pane to CMS mode. The collection picker now lists your new collection. Click it — the entry list and form are ready to use.
Ask the AI to also wire up the page that renders this collection: “After adding the case-studies collection, create app/case-studies/page.tsx (list view) and app/case-studies/[slug]/page.tsx (detail view) reading from the CMS.”
Cmd+S / Ctrl+S. The CMS panel reloads and validates the manifest. If anything is wrong (duplicate ID, invalid field type, missing isBody on MDX), you’ll see an error banner.
4
Create the directory
The CMS panel creates the directory automatically when you save the first entry. If you want it created up front, add an empty .gitkeep file:Right-click content/ → New Folder → case-studies → New File → .gitkeep
5
Add a sample entry
Either via the CMS panel (click + New Entry) or by creating a file directly. For an MDX collection:Right-click content/case-studies/ → New File → acme-corp.mdx and paste:
---title: "How Acme Corp doubled conversion"client: "Acme Corp"industry: "SaaS"summary: "We helped Acme rebuild their checkout flow..."publishedAt: "2026-04-01"---The full case study goes here in Markdown.
Open the CMS panel. The new collection should be in the picker.
2
Open the form for a new entry
Click + New Entry. Every field you defined should render with the right control.
3
Save a real entry
Fill in the required fields and save. Confirm the file appears in the file tree at the expected path.
4
Render it
If you set a routePattern, navigate the preview to that URL. If you also asked the AI (or wrote yourself) a page that reads this collection, the entry should render. If not, ask the AI: “Build the list and detail pages for the case-studies collection.”
The most common cause is a typo or duplicate id. The error banner in the CMS panel points at the offending collection. Fix in the code editor and save.
Slug conflict on save
Two entries with the same slug can’t coexist in one collection. Rename one. If you’re using slugFrom: "field:title", picking a unique title resolves it.
`isBody` set on a JSON collection
Validation rejects this — body fields are only valid on MDX collections. Remove isBody: true from the field, or change the format to mdx.
Two `isBody: true` fields on one MDX collection
Exactly one body field is allowed per MDX collection. Remove isBody: true from one of them.
ID has uppercase or spaces
id must be lowercase, alphanumeric, and hyphenated. Case Studies is invalid; case-studies is correct. Display names can be any string — that’s the name field.
Reference field's collection doesn't exist
A reference field’s collection value must match an existing collection’s id. Add the target collection first, or fix the reference.
The collection appears but the entry list is empty
Expected for a brand-new collection. Click + New Entry to add the first one.