Developer guide Contributing
Contributing
The workflow for a change, and where to change what.
Contributions are welcome. Keep each change small and focused, so the room that reviews it can read it in one sitting.
The workflow
- Create a branch from
main. - Make one focused change. Split unrelated changes into separate branches.
- Run
npm run typecheckandnpm run build. See Testing. - Check the change by hand in the app, on the devices it affects.
- Open a pull request. Describe what changes for the people in the workshop, and how you checked it.
Commit messages
Write a short summary in the imperative: "Add the Qwen workspace field", "Fix layer resize on touch". Add a body when the reason is not obvious from the diff.
Where to change what
| You want to change | Change it in |
|---|---|
| Words in the interface | The component in app/src/. Follow the content rules of the brand book: sentence case, a verb on every button, no emoji. |
| A colour, a size, a duration | design-system/project/tokens.json, through the design system owners. |
| A component's look or behaviour | design-system/project/components/, through the design system owners. |
| A block kind | Several places. See Adding a block kind. |
| An AI provider or model | The research catalog and the build script. See Adding a provider. |
| A reference architecture | The library. See Library format. |
| The documentation | docs-site/content/<lang>/. |
Voice
Everything a person reads follows the brand book in design-system/project/README.md:
- Sentence case everywhere, including buttons and panel titles.
- Block kinds in title case, the way architects say them: "API Gateway", "AI Agent".
- Address the user as "you". The interface has no first person.
- Status is a word plus a glyph, never a colour alone.
- No emoji.
Documentation and translations
The documentation is Markdown in docs-site/content/<lang>/<guide>/. English (en) is the source. Translations live beside it in fr, de, lb, pt, it, es and zh. A page without a translation falls back to English with a notice.
Read docs-site/TRANSLATING.md before you add a page or translate one. It explains the folder layout, the front matter, the stable heading ids and what never gets translated.
When you change a feature, update the English page in the same pull request.