# JoodCMS Site Kit Guide (format version 1)
There are two ways to use it:
- **A new website.** In the AI conversation where you already talked about the business (what it does, who it serves, the goals, the pages, the look), attach this file and ask: *"Based on everything we discussed, create the JoodCMS site kit for my website. Follow KIT-GUIDE exactly."*
- **Moving an existing website.** Export the old site with the JoodCMS exporter for your CMS (for WordPress: the JoodCMS Kit Exporter plugin). Its migration pack already contains this guide. Attach the pack and ask: *"Using the JoodCMS export of my website and the changes we discussed, build the new website for JoodCMS and create the site kit for me. Follow the instructions in the pack."*
The AI produces a zip file. Check it and upload it in JoodCMS (System › Site kit).
---
## Instructions for the AI
You are building a **site kit**: a zip file that JoodCMS turns into a complete website. Write real content for the business. Never invent facts (prices, numbers, awards, addresses). Where a fact is missing, write a clear placeholder in square brackets, for example `[PHONE NUMBER]`.
### 1. Files in the zip
```
my-site-kit.zip
└── my-site-kit/ (one top folder, optional)
├── kit.json required: format, version, site name/description/language
├── theme.json the site's starting CSS (colours, fonts, styles)
├── page_types.json page types (hierarchy, web addresses, menu placement)
├── global.json site-wide sections: header, menu, footer
├── menus.json menus and their items
├── redirects.json old addresses that keep working (optional, see "Rebuilding an existing site")
├── pages/ one JSON file per page
│ ├── p-home.json
│ └── …
└── media/ logo, images, videos (jpg png webp svg gif avif mp4 webm pdf)
```
All files are UTF-8 JSON. If you cannot create zip files, output each file in full with its path, and the person will zip them.
### 2. Permanent IDs (very important)
Every page, section, block, cell, menu item and page type has an `id`. **IDs are permanent.** When you make a new version of the same kit later, keep every existing ID. JoodCMS uses IDs to update only what changed. Use readable IDs: `p-about`, `s-about-team`, `b-about-team`, `b-about-team-c0`, `m-about`.
### 3. kit.json
```json
{
"format": "joodcms-kit",
"version": 1,
"site": { "name": "Dive Krakow", "description": "One or two sentences about the site.", "language": "en" },
"made_with": "0.5.4",
"delete": []
}
```
`made_with` (optional) is the JoodCMS version the kit was written for. A site running an older version warns that newer features are skipped. **Kit format 1 is read by every JoodCMS version**: new features only add optional fields, so a site built on one version can be exported and rebuilt on a newer one. `language` `ar` (also `he`, `fa`, `ur`) makes the whole site right to left.
Importing a kit is a **complete update**: the site becomes the kit. Pages, sections, blocks and menu items the kit no longer has are removed (pages and blocks go to the site's vault, so the owner can bring them back). `delete` (optional) is an older way to list IDs of pages or blocks to remove; it is rarely needed.
### 4. theme.json — the starting design
There are no themes in JoodCMS. Write the site's starting CSS here. Set these variables, then add a few simple rules.
```json
{
"fonts": [],
"mainClass": "",
"css": ":root { --jc-font: system-ui, sans-serif; --jc-text: #111; --jc-bg: #fff; --jc-muted: #555; --jc-line: #ddd; --jc-accent: #0b6e78; --jc-width: 1140px; } h1 { font-weight: 800; }"
}
```
- `mainClass` (optional): classes on the page's main content wrapper (the WordPress exporter sets `entry-content`).
- Theme shell (optional, written by the site exporters to keep an existing theme's structure, so its CSS keeps working):
- `bodyClass`: classes added to `
` (e.g. `wp-theme-generatepress separate-containers right-sidebar`).
- `wrap`: wrappers around the page content, outermost first: `[{"tag": "div", "id": "page", "class": "site grid-container"}, …]` (tags: div, main, article, section, aside).
- `titleHtml`: the page title in the theme's markup, with `{title}` where the title goes, e.g. ``.
- `breadcrumbs`: `false` hides JoodCMS breadcrumbs (the theme has its own design).
When `wrap` is set, the theme's `parent > child` CSS rules also match through JoodCMS's own plain wrappers (sections, blocks, cells).
- `fonts`: optional list of `https://` stylesheet links (for example Google Fonts). Prefer system fonts (no external requests, better privacy).
- You may define helper classes and use them in content, for example `.jc-eyebrow` (small label above a heading) or `.jc-lead` (larger intro text).
- Built-in classes: `.jc-button` (outlined button link), `.jc-button.jc-solid` (filled button), `.jc-embed` (see section 8).
- **Headings on coloured sections.** If the CSS gives headings a colour (`h1, h2, h3 { color: navy }`), that colour also applies inside dark sections, where it disappears. For every section class with a dark (or very light) background, set the heading colour again: `.dk-dark h1, .dk-dark h2, .dk-dark h3 { color: #fff }`. The kit checker warns about headings that are hard to read.
### 5. page_types.json
Page types sort pages, build web addresses and breadcrumbs, and decide where new pages appear in menus.
```json
[
{ "id": "pt-page", "name": "Page", "slug": "", "parent": null, "menu": "menu:main" },
{ "id": "pt-courses", "name": "Courses", "slug": "courses", "parent": null, "menu": "m-courses" },
{ "id": "pt-tec", "name": "Tec", "slug": "tec", "parent": "pt-courses", "menu": "m-tec" }
]
```
A page of type `pt-tec` with slug `trimix-diver` gets the address `/courses/tec/trimix-diver` and the breadcrumb Home › Courses › Tec › Trimix Diver.
**Overview pages.** The page that introduces a page type (the "Courses" page listing all courses) is a normal page: type `pt-page` with the same slug as the type, so it lives at `/courses`, and the breadcrumbs of every course link to it. Never give it the type itself: a `pt-courses` page with slug `courses` would live at `/courses/courses`. `menu` is where pages created later in the editor are placed: `menu: