HAX Site Building
SkillDev toolsBuild and maintain HAXcms sites with proper structure, themes, and JSON Outline Schema. Use when creating a new HAXsite, editing site.json, managing page content, or modifying themes in the HAXcms ecosystem.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the HAX Site Building skill
What this skill tells your AI
The instructions your AI receives, as published by haxtheweb/haxcms-php in .well-known/agent-skills/hax-site-building/SKILL.md and read by ahel’s review.
Build and maintain HAXcms sites with proper structure, themes, and JSON Outline Schema.
When to Use
- Creating a new HAXsite for testing or production
- Editing
site.jsonstructure or metadata - Adding or modifying pages in the
pages/directory - Managing static assets in the
files/directory - Customizing HAXcms themes that inherit from HAXCMSLitElement
- Importing content from external sources (WordPress, Notion, HTML, etc.)
How It Works
- Scaffold: Always use
hax site mysite --yinstead of manual creation. Do not create site directories or files manually. - Structure: Keep all documentation in
docs/, all files infiles/, and all page HTML inpages/. Maintainsite.jsonin JSON Outline Schema format. - Metadata: Ensure
metadata.site.namealigns exactly with the folder name. Do not modify it to anything else. - Routes: Do not create pages or routes using the
x/prefix — it is reserved for internal HAXcms paths (x/search,x/tags,x/manifest). - Content: Use HAX-capable web components for rich content. Apply DDD attributes for consistent spacing and typography. Include engaging visual elements (videos, tables, interactive components).
- Theme: Use HAXCMSLitElement for custom theme components. Apply DDD design tokens consistently. Run
yarn run buildafter theme changes. - Import: Use supported import methods (
pressbooksToSite,htmlToSite,notionToSite,docxToSite, etc.) viahax site --import-site <url> --import-structure <method>.
Educational Content Standards
When creating educational content:
- Apply OER Schema metadata parameters for semantic structure and interoperability
- Structure content to support pedagogical objectives
- Include proper learning resource identification
- Consider diverse learning styles in content presentation
- Maintain comprehensive ecosystem context in documentation
Build Workflow
- Run
yarn run buildafter theme modifications involving HAXCMSLitElement - Do not manually edit
custom-elements.jsonor generated manifest files - Use HAX CLI tools for site operations rather than manual file edits
- Ensure
site.jsonis valid JSON Outline Schema before committing
References
- For site structure examples:
references/site-structure.md - For import methods:
references/import-methods.md
Signals
- GitHub stars
- 129
- Forks
- 57
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
hax-site-building- Source
- github.com/haxtheweb/haxcms-php