Loading...

HAXcms Page Creation via CLI

RULES.md

Always create HAXcms site pages through the `hax` CLI (`hax site node:add` or `hax site site:items-import`), never by manually creating page directories or hand-editing `site.json`. Manual page creation bypasses the CLI's page-id generation, slug/location management, and atomic `site.json` updates, which corrupts the JSON Outline Schema structure and breaks the site in production. The CLI owns page structure; the agent only owns page content. In PRAW RULES.md (scope: haxcms). Guidance by design: no check enforces this, and none is planned. Says how pages are added (the CLI); a check sees the files, not how they were made.

Status: guidance

Connects to

Links