Universal establishes composition and visual direction before implementation. It gives coding agents a structured design plan, reusable design rules, and a critique loop so generated interfaces feel deliberately art-directed instead of generically assembled.
|
What it provides
What it uses
|
Universal is in active early development. The monorepo, Studio and Preview applications, design contracts, and MCP prototype are in place. Some generation flows remain architectural placeholders while the design engine is built out.
See the roadmap for planned milestones and product principles for the project's direction.
Downstream product agents should use the canonical orchestration API instead of importing MCP transport internals.
- Node.js 22 or newer
- pnpm 11 or newer
- Git
git clone https://github.com/7shep/universal.git
cd universal
pnpm install
pnpm devpnpm dev starts the Studio and Preview applications together.
For a full production check:
pnpm lint
pnpm typecheck
pnpm build
pnpm format:check
pnpm testpnpm test runs every maintained automated suite, including the MCP,
design-linter, and design-taste policy tests.
Universal includes a local MCP server that exposes three tools to compatible coding agents:
create_design_planestablishes the visual and compositional direction.get_design_rulesreturns category-specific design constraints.review_implementationcritiques React and CSS output against the intended direction.
Build the server with:
pnpm --filter @universal/design-mcp buildSee Connect Universal MCP to Codex for configuration, verification, troubleshooting, and a complete demo workflow.
universal/
|-- apps/
| |-- studio/ Design-direction workspace
| `-- preview/ Isolated generated-project preview
|-- examples/
| `-- demo-site/ Example MCP-driven React site
|-- packages/
| |-- composition-library/ Page-composition schemas
| |-- design-engine/ Design contracts and orchestration
| |-- design-linter/ Anti-generic critique interfaces
| |-- design-mcp/ Local MCP server
| |-- prompts/ Versioned prompt assembly
| |-- shared/ Shared domain types and utilities
| `-- ui/ Shared React UI primitives
|-- docs/ Setup and integration guides
|-- PRODUCT.md Product principles and boundaries
`-- ROADMAP.md Milestones and future direction
pnpm devstarts all development tasks in parallel.pnpm buildbuilds every workspace package through Turborepo.pnpm lintruns ESLint across the repository.pnpm typechecktype-checks all workspaces.pnpm testruns every maintained workspace test suite.pnpm formatformats supported files with Prettier.pnpm format:checkchecks formatting without changing files.
Use pnpm filters to target one workspace, for example:
pnpm --filter @universal/studio dev
pnpm --filter @universal/design-mcp buildContributions are welcome. Bug reports, focused fixes, documentation improvements, design-rule proposals, and well-scoped feature discussions all help.
Read CONTRIBUTING.md before opening an issue or pull request. It covers local setup, project conventions, validation, commit guidance, and the review process.
Universal is available under the MIT License.