This is a monorepo that uses pnPm to manage dependencies and Bun as the runtime language. You will need to install these tools to work on this project.
We follow the slow types requirements process of the JSR publishing standard. This means you will be required to define the return types of all your exports which result in the following:
- Significantly improve your package users' type checking performance.
- Improve the automatic documentation generation.
- Enable automatic .d.ts generation for Node.js.
After you fork the repository, install the dependencies by running the following command in the root of the project:
pnpm install
This will install all the dependencies for the project including the workspaces.
- docs: The official docs website for Cerberus.
- figma: Figma related files that run jobs on the CI using the Figma API.
- packages: The core packages that make up Cerberus.
- tests: The test suite for Cerberus & React related packages.
- panda-preset: The default preset for Cerberus. This is where all the styles live.
- react: The React components for Cerberus. React only owns components, not styles.
To run the docs server, use the following command in the root of the repository project:
pnpm run start:docs
Cerberus provides a specialized endpoint for AI and Large Language Model (LLM) integrations through the .llms
directory. This feature allows AI tools to access structured documentation content in a format optimized for LLM consumption.
You can help train your LLMs to follow our project guidelines by utilizing the .llms
directory. This directory contains structured documentation that is specifically designed for AI processing, ensuring that your LLMs can effectively understand and utilize the Cerberus design system.
- ark-ui.txt: Documentation for the Ark UI components which is a dependency of our React package.
- create-react-component.md: Documentation for creating new React component APIs.
- docs.md: Documentation for contributing to the official website.
- next.txt: Documentation for the Next.js framework which powers the docs site.
- style-guide.md: Documentation for the style guide used throughout the project. Arguably the most important file for LLMs to understand the coding standards and practices of the project.
In our Wikis tab, you can find recommended prompts to use for executing these files.
The documentation is available at the /llms.txt
endpoint, which provides:
- Structured Documentation: All documentation content organized hierarchically by sections (Get Started, Components, Styling, Theming, Blog)
- Direct Content Access: Links to raw GitHub content for detailed documentation
- Version Information: Current package version and release notes
- AI-Optimized Format: Plain text format specifically designed for LLM processing
Access the LLM-formatted documentation at:
https://cerberus.digitalu.design/llms.txt
This endpoint dynamically generates a comprehensive text representation of the entire Cerberus documentation, making it easy for AI tools to understand and reference the design system's capabilities, components, and usage patterns.
Download the file and use it as a reference with your chosen LLM.