Skip to content

Commit 5815784

Browse files
committed
chore: clean up repo hygiene
1 parent cab3dd5 commit 5815784

54 files changed

Lines changed: 213 additions & 1579 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude/skills/rezi-create-screen/SKILL.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Use this skill when:
2222
- `packages/core/src/widgets/composition.ts``defineWidget()` and animation hooks
2323
- `packages/core/src/router/` — router and route definitions
2424
- `packages/core/src/keybindings/` — keybinding system
25-
- `packages/create-rezi/templates/animation-lab/`canonical animation screen pattern
25+
- `packages/create-rezi/templates/starship/`large-screen routing and animation patterns
2626
- `docs/guide/widget-authoring.md` — design system integration patterns
2727

2828
## Steps
@@ -33,10 +33,14 @@ Use this skill when:
3333
import type { AppState } from "../state.js";
3434

3535
export function MyScreen(state: AppState) {
36-
return ui.column({ gap: 1 }, [
37-
ui.text("Screen Title", { style: { bold: true } }),
38-
// screen content
39-
]);
36+
return ui.page({
37+
p: 1,
38+
gap: 1,
39+
header: ui.header({ title: "Screen Title" }),
40+
body: ui.column({ gap: 1 }, [
41+
// screen content
42+
]),
43+
});
4044
}
4145
```
4246

@@ -50,7 +54,7 @@ Use this skill when:
5054
})
5155
```
5256

53-
2. **Use `ui.column()` or `ui.row()`** as the root container
57+
2. **Use `ui.page()` or `ui.appShell()`** as the screen root
5458

5559
3. **If the screen needs motion**, prefer declarative hooks inside `defineWidget`:
5660
```typescript

.claude/skills/rezi-routing/SKILL.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ Use this skill when:
3939
},
4040
},
4141
{
42-
id: "dashboard",
42+
id: "operations",
4343
screen: (_params, context) => ui.column([
4444
Header(context.state),
4545
context.outlet,
4646
]),
4747
children: [
48-
{ id: "dashboard.overview", screen: (_params, context) => OverviewPanel(context.state) },
49-
{ id: "dashboard.stats", screen: (_params, context) => StatsPanel(context.state) },
48+
{ id: "operations.overview", screen: (_params, context) => OverviewPanel(context.state) },
49+
{ id: "operations.logs", screen: (_params, context) => LogsPanel(context.state) },
5050
],
5151
},
5252
] as const;
@@ -60,7 +60,7 @@ Use this skill when:
6060
3. **Navigate programmatically**:
6161
```typescript
6262
app.router.navigate("settings");
63-
app.router.navigate("dashboard.overview");
63+
app.router.navigate("operations.overview");
6464
```
6565

6666
4. **Nested routes** render via `context.outlet` in the parent view

.codex/skills/rezi-create-screen/SKILL.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Use this skill when:
2222
- `packages/core/src/widgets/composition.ts``defineWidget()` and animation hooks
2323
- `packages/core/src/router/` — router and route definitions
2424
- `packages/core/src/keybindings/` — keybinding system
25-
- `packages/create-rezi/templates/animation-lab/`canonical animation screen pattern
25+
- `packages/create-rezi/templates/starship/`large-screen routing and animation patterns
2626
- `docs/guide/widget-authoring.md` — design system integration patterns
2727

2828
## Steps
@@ -33,10 +33,14 @@ Use this skill when:
3333
import type { AppState } from "../state.js";
3434

3535
export function MyScreen(state: AppState) {
36-
return ui.column({ gap: 1 }, [
37-
ui.text("Screen Title", { style: { bold: true } }),
38-
// screen content
39-
]);
36+
return ui.page({
37+
p: 1,
38+
gap: 1,
39+
header: ui.header({ title: "Screen Title" }),
40+
body: ui.column({ gap: 1 }, [
41+
// screen content
42+
]),
43+
});
4044
}
4145
```
4246

@@ -50,7 +54,7 @@ Use this skill when:
5054
})
5155
```
5256

53-
2. **Use `ui.column()` or `ui.row()`** as the root container
57+
2. **Use `ui.page()` or `ui.appShell()`** as the screen root
5458

5559
3. **If the screen needs motion**, prefer declarative hooks inside `defineWidget`:
5660
```typescript

.codex/skills/rezi-routing/SKILL.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ Use this skill when:
3434
},
3535
},
3636
{
37-
id: "dashboard",
37+
id: "operations",
3838
screen: (_params, context) => ui.column([
3939
Header(context.state),
4040
context.outlet,
4141
]),
4242
children: [
43-
{ id: "dashboard.overview", screen: (_params, context) => OverviewPanel(context.state) },
44-
{ id: "dashboard.stats", screen: (_params, context) => StatsPanel(context.state) },
43+
{ id: "operations.overview", screen: (_params, context) => OverviewPanel(context.state) },
44+
{ id: "operations.logs", screen: (_params, context) => LogsPanel(context.state) },
4545
],
4646
},
4747
] as const;
@@ -55,7 +55,7 @@ Use this skill when:
5555
3. **Navigate programmatically**:
5656
```typescript
5757
app.router.navigate("settings");
58-
app.router.navigate("dashboard.overview");
58+
app.router.navigate("operations.overview");
5959
```
6060

6161
4. **Nested routes** render via `context.outlet` in the parent view

.gitignore

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,6 @@ dist
139139
vite.config.js.timestamp-*
140140
vite.config.ts.timestamp-*
141141

142-
# Local AI assistant settings/state
143-
.claude/
144-
.codex/
145-
146142
# Docs (MkDocs)
147143
.venv-docs/
148144

AGENTS.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Run this checklist first:
5050

5151
1. `packages/core/src/index.ts`: public export surface.
5252
2. `packages/core/src/widgets/ui.ts`: canonical widget factory API.
53-
3. `packages/core/src/widgets/types.ts`: prop contracts and callback signatures.
53+
3. `packages/core/src/widgets/types/`: prop contracts and callback signatures.
5454
4. `packages/core/src/widgets/composition.ts`: composition API and hook context.
5555
5. `packages/create-rezi/templates/`: reference implementations.
5656
6. `packages/core/src/**/__tests__/`: expected behavior and edge cases.
@@ -64,10 +64,10 @@ key/mouse input -> router -> wheel router (nearest scroll target)
6464
```
6565

6666
Key files for this path:
67-
- `packages/core/src/runtime/router/router.ts`
67+
- `packages/core/src/runtime/router/key.ts`
68+
- `packages/core/src/runtime/router/mouse.ts`
6869
- `packages/core/src/runtime/router/wheel.ts`
69-
- `packages/core/src/runtime/router/mouseRouting.ts`
70-
- `packages/core/src/runtime/router/keyboardRouting.ts`
70+
- `packages/core/src/runtime/router/zones.ts`
7171

7272
## Agent Coordination Playbook
7373

@@ -135,7 +135,7 @@ See `CLAUDE.md` § Layout Engine Baseline.
135135
### Safe Modification Zones
136136

137137
- `packages/core/src/widgets/ui.ts`
138-
- `packages/core/src/widgets/types.ts`
138+
- `packages/core/src/widgets/types/`
139139
- `packages/core/src/widgets/protocol.ts`
140140
- `packages/create-rezi/templates/`
141141
- `docs/`

Assets/RENDERING.png

-118 KB
Binary file not shown.

Assets/REZI-BENCH.gif

-24.2 MB
Binary file not shown.

Assets/REZI-CONSOLE.gif

-180 KB
Binary file not shown.

Assets/REZI-CONSOLE2.gif

-192 KB
Binary file not shown.

0 commit comments

Comments
 (0)