PlaybookDocumentation

Overview

What Forge is and how its five areas fit together.

Ziteox Forge — Overview

Ziteox Forge is Ziteox’s internal toolkit for building Ziteox sites and apps. The team and AI agents use it. Clients never get access. Portals touch it only for oversight.

Forge is organised into five areas. Open question: Laki said “four (main) layers” but named five; five is current until confirmed.

AreaWhat it isWhere to start
PlaybookDocs, guidelines, architectureThis page
LibraryUI packages and effects@ziteox/ui, @ziteox/effects
TemplatesStarter projectsAvailable (next-site)
SystemsAuth, Payments, Email, File storageDesigns; code in the portal repo today
CoreConnector, registry, secrets, loggingDesign stage

Forge is a monorepo, not a single application. Packages are consumed by Ziteox product repos via workspace linking or package registry.

Purpose

Forge exists to:

  • Share UI components across Ziteox apps without copy-paste
  • Encode how Ziteox builds once (docs, guidelines, architecture)
  • Reduce integration cost for new projects through documented APIs, templates, and systems
  • Support human and AI-assisted development with explicit, structured documentation

Current scope (Library and this repo)

AreaLocationStatus
UI librarypackages/ui (@ziteox/ui)Active — theme, navigation, branding domains
Effectspackages/effects (@ziteox/effects)Internal — visual effects, not published
Docs siteapps/docsActive — Next.js + fumadocs, renders docs/
Playgroundexamples/playgroundLocal dev/demo app
Playbook / Systems / Templates / Core docsdocs/Playbook active; other areas design or planned
Agentsagents/Reserved
Promptsprompts/Reserved
Standardsstandards/ + docs/playbook/guidelines/In progress

Packages

@ziteox/ui

React component library. Domain-organized source under packages/ui/src/.

Public domains today:

DomainComponents
themeThemeProvider, ThemeToggle, AnimatedThemeToggler
materialsMATERIAL_REGISTRY, materialClassName, MaterialStyles, MaterialSurface
navigationHamburgerButton, SiteMenuToggle, ExpandableTabs
brandingBrandCredit

@ziteox/effects (internal)

Visual effects as prop-driven React components that can be dropped anywhere: content, size, colours and shapes all come from props. Marked private, so it is not published yet; consume it through the workspace. Each effect has its own entry point, so an app only loads what it imports.

Entry pointComponent
@ziteox/effects/particle-morphParticleMorph — particle field that morphs through a queue of shapes (three.js, loaded lazily)
@ziteox/effects/interactive-dot-textInteractiveDotText — any text drawn as pointer-reactive dots
@ziteox/effects/fluid-orbFluidOrb — small WebGL orb with a moving fluid surface

Documentation map

DocumentAudienceContents
overviewAllWhat Forge is and the five areas
architectureEngineers, agentsFive areas, monorepo layout, build, exports
getting-startedEngineersInstall and use @ziteox/ui
library/components/theme-toggleEngineers, agentsPer-component API and examples
library/effects/particle-morphEngineers, agents@ziteox/effects API and live previews
component-guidelinesContributorsConventions for new work

The website at apps/docs renders this docs/ folder directly. Run pnpm dev from the monorepo root to preview locally.

Conventions for readers (including AI agents)

  • Paths are relative to the ziteox-forge repository root unless stated otherwise.
  • Public API means exported from packages/ui/src/index.ts or a domain subpath (@ziteox/ui/theme, etc.).
  • Internal modules (shared/, animations/) are not part of the public contract.
  • When implementing features, read domain-boundaries before adding files.
  • agents/ — agent workflows and automation
  • prompts/ — shared prompt templates
  • standards/ — repo-level standards (non-markdown sources, if any)