Skip to content

Commit 0c29c83

Browse files
authored
docs(design): add shared design source (#3507)
* docs(design): add shared design source * fix(design): use https design submodule url * docs(design): update agent design references
1 parent bd8de5a commit 0c29c83

6 files changed

Lines changed: 23 additions & 392 deletions

File tree

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule ".kilo/design"]
2+
path = .kilo/design
3+
url = https://github.com/Kilo-Org/kilo-design.git

.kilo/design

Submodule design added at acdcc60

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Target a specific test file: `pnpm test -- <path>`. Run tests for a specific ser
3737

3838
## apps/web UI Work
3939

40-
Before making or reviewing UI changes under `apps/web` — components, routes/pages, layouts, styling, Storybook, visual polish, UX copy, interaction states, responsive behavior, theming, or accessibility — read `design.md` and use `.agents/skills/kilo-design/SKILL.md`. This applies even when the prompt does not explicitly mention design. Skip only for backend-only or non-visual logic changes.
40+
Before making or reviewing UI changes under `apps/web` — components, routes/pages, layouts, styling, Storybook, visual polish, UX copy, interaction states, responsive behavior, theming, or accessibility — read `DESIGN.md` and use `.agents/skills/kilo-design/SKILL.md`. This applies even when the prompt does not explicitly mention design. Skip only for backend-only or non-visual logic changes.
4141

4242
## Coding Standards
4343

DESIGN.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Kilo Cloud Design
2+
3+
Canonical design source is vendored into this repo as a Git submodule:
4+
5+
```txt
6+
.kilo/design
7+
```
8+
9+
Read in order:
10+
11+
1. `.kilo/design/DESIGN.md`
12+
2. `.kilo/design/products/cloud.md`
13+
3. `.kilo/design/tokens.json`
14+
15+
Do not add independent design rules in this repo. Promote design changes back to `kilo-design`, then update product implementation here.
16+
17+
Update the `.kilo/design` submodule pointer when canonical design guidance changes.

apps/web/AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
When doing UI work in `apps/web` — including React components, routes/pages, layouts, styling, Storybook stories, visual polish, UX copy, interaction states, responsive behavior, theming, or accessibility — you must:
66

7-
1. Read `../../design.md` before changing or reviewing UI.
7+
1. Read `../../DESIGN.md` before changing or reviewing UI.
88
2. Load and follow the `kilo-design` skill at `../../.agents/skills/kilo-design/SKILL.md`.
99
3. Prefer existing Kilo tokens, components, and utilities before adding new visual primitives.
1010

0 commit comments

Comments
 (0)