Welcome to Fragmentor v4. Still working in v3?Switch to v3
  1. Docs
  2. Overview

Overview

Every project has a very specific folder structure.

FolderPurpose
/documents/The content of the site, like pages, posts and products. See Documents.
/schemas/The fields each type of content has, and what values they accept. See Schemas.
/components/How each type of content should be rendered. See Components.
/assets/Files used as they are, like images, fonts and shared CSS or JS. See Assets.

The documents hold the content. The components decide how it looks.

A file whose name starts with . is ignored when the site is built, like a draft document or an unused component. Only assets are published as they are.

Next to the folders, a few file names are reserved at the root of a project.

FilePurpose
/logo.pngThe project's logo.
/preview.pngA preview image of the site, shown on the project's card.
/README.mdWhat the project is: purpose, audience, notable pages.
/INSTRUCTIONS.mdProject-specific rules for AI agents (tone, brand, do's and don'ts), read before they work on the project.
/SETUP.mdHow to set up and configure the project after it's created, shown to you in the editor's chat while the thread is empty.
/MEMORY.mdNotes AI agents keep across sessions: decisions made, open threads, gotchas.

These names only have this meaning at the root: a readme.md inside /assets/ is just an asset.

New to Fragmentor? The tutorial builds a small site from start to finish.