snizu theme init
Start a theme from the source of one of snizu's own themes, with notes for coding agents and a local description of everything templates can use.
Node 22+1 min read
Usage
snizu theme init [dir] [--from <theme>]Flags
[dir]pathWhere to write it: an empty or new folder.my-themeby default.--fromhandleThe snizu theme to start from, by its handle in the Theme Store:nourby default, or any other, such aslibasorsouq. Which themes there are is the API's to say, so a new one works without a new CLI.
What it writes
- Every file of the theme:
theme.json,layout/,groups/,templates/,sections/,snippets/,locales/andassets/, with its fonts and images downloaded. - Its demo store,
demo/store.jsonand its photos, so the theme comes back whole and a development store can be filled from it. AGENTS.md: how a snizu theme works and the rules it's checked against, for coding agents. It never goes into the package..snizu/objects.json: every object each page type reads, every filter, test and function templates can call, the setting types and the limits.
Examples
$ snizu theme init nakhla --from nour
✓ Copied nour 0.1.0: 152 files and 27 assets.
Rename it in theme.json, then run snizu theme push nakhla.
Preview it on a development store before you submit it.
AGENTS.md tells coding agents how the theme works; it stays out of the package.Then give it your name in theme.json, push it once to link the folder to a theme of yours, and preview it on a development store.
Was this page helpful?
Updated 25 Nov 2026