You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@
3
3
React 19 + TypeScript + Vite 7 dashboard. pnpm monorepo.
4
4
5
5
## Commands
6
+
6
7
```bash
7
8
pnpm install # Install deps (~10s, timeout 60s+)
8
9
pnpm dev # Dev server at localhost:5173
@@ -12,17 +13,21 @@ pnpm fmt # Format with vite fmt
12
13
```
13
14
14
15
## Structure
16
+
15
17
-`apps/dashboard/src/App.tsx` - Main dashboard with metrics
16
18
-`apps/dashboard/src/App.css` - Styles
17
19
- Root `package.json` - Workspace scripts
18
20
19
21
## Adding Metrics
22
+
20
23
Edit `App.tsx`: Add data array + metric object with id/name/icon/data/color.
21
24
22
25
## Search
26
+
23
27
You run in an environment where `ast-grep` is available; whenever a search requires syntax-aware or structural matching, default to `ast-grep --lang rust -p '<pattern>'` (or set `--lang` appropriately) and avoid falling back to text-only tools like `rg` or `grep` unless I explicitly request a plain-text search.
24
28
25
29
## Always
30
+
26
31
- Run `pnpm lint && pnpm build` before commits
27
32
- Prefer editing existing files over creating new ones
0 commit comments