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/commands/add-integration.md
+26Lines changed: 26 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -279,6 +279,31 @@ Once the user provides the SVG:
279
279
2. Create a React component that spreads props
280
280
3. Ensure viewBox is preserved from the original SVG
281
281
282
+
### Theme-safety (bare rendering) — REQUIRED
283
+
284
+
The icon renders both inside its colored `bgColor` tile AND "bare" (no tile) on a
285
+
neutral page — e.g. the home **Suggested actions** list — in both light and dark
286
+
mode. A monochrome logo whose paths hardcode a single near-white or near-black
287
+
fill is invisible bare on the matching background (white-on-white in light mode,
288
+
black-on-black in dark mode).
289
+
290
+
Rules when adding the SVG:
291
+
292
+
-**Monochrome logos** (a single white or black mark): draw the shape with
293
+
`fill='currentColor'`, not `fill='#fff'` / `fill='#000000'`. It then inherits
294
+
white inside dark tiles, near-black inside light tiles (via
295
+
`getTileIconColorClass`), and the theme-aware `var(--text-icon)` bare — legible
296
+
everywhere. Do NOT set `iconColor` for these.
297
+
-**Multi-color brand logos** (their own vivid fills): keep the hardcoded fills.
298
+
They read on any background. Only set `iconColor` (a vivid brand hex, never a
299
+
near-black/near-white tile color) if the bare icon should adopt a brand tint.
300
+
- A large white shape with a tiny vivid accent (e.g. a logo where the body is the
301
+
white negative space) still vanishes bare — convert the body to `currentColor`.
302
+
303
+
Verify with `bun run check:bare-icons` (also runs in CI). It flags purely
304
+
monochrome hazards; for partial-accent logos, eyeball the suggested-actions list
305
+
in both light and dark mode.
306
+
282
307
## Step 5: Create Triggers (Optional)
283
308
284
309
If the service supports webhooks, create triggers using the generic `buildTriggerSubBlocks` helper.
@@ -466,6 +491,7 @@ If creating V2 versions (API-aligned outputs):
466
491
-[ ] Asked user to provide SVG
467
492
-[ ] Added icon to `components/icons.tsx`
468
493
-[ ] Icon spreads props correctly
494
+
-[ ] Monochrome marks use `fill='currentColor'` (not hardcoded white/black) so the icon renders bare in light AND dark mode — verified with `bun run check:bare-icons`
<img src="apps/sim/public/static/readme-hero.gif" alt="Sim — your workflow agent for solving automations. Build, deploy, and manage AI agents visually, conversationally, or with code." width="100%"/>
15
+
<img src="apps/sim/public/static/readme-banner.png" alt="Sim — Integrate, Context, Build, and Monitor AI agents" width="100%"/>
16
16
</a>
17
17
</p>
18
18
@@ -35,7 +35,7 @@ Open [http://localhost:3000](http://localhost:3000)
35
35
Docker must be installed and running. Use `-p, --port <port>` to run Sim on a different port, or `--no-pull` to skip pulling the latest Docker images.
36
36
37
37
<palign="center">
38
-
<imgsrc="apps/sim/public/static/readme-tour.gif"alt="How Sim works — Integrate, Context, Build, Monitor — shown end to end: start a chat to build an agent, connect Slack and other integrations, add a knowledge base, build the workflow visually, deploy it, and monitor runs in the logs"width="100%"/>
38
+
<imgsrc="apps/sim/public/static/readme-platform.png"alt="The Sim platform — chat on the left, the visual workflow builder on the right"width="100%"/>
39
39
</p>
40
40
41
41
## Capabilities
@@ -46,6 +46,33 @@ Docker must be installed and running. Use `-p, --port <port>` to run Sim on a di
46
46
- Ingest files, knowledge bases, and structured table data
47
47
- Monitor runs, logs, schedules, and workflow activity
48
48
49
+
## One workspace, every surface
50
+
51
+
<palign="center">Chat and workflows are just the start — tables, files, knowledge, and scheduled tasks all live in the same workspace.</p>
52
+
53
+
<table>
54
+
<tr>
55
+
<td width="50%" valign="top">
56
+
<img src="apps/sim/public/static/readme-tables.png" alt="Tables in Sim — structured data your agents can query" width="100%"/>
57
+
<p align="center"><b>Tables</b> — a database, built in</p>
58
+
</td>
59
+
<td width="50%" valign="top">
60
+
<img src="apps/sim/public/static/readme-files.png" alt="Files in Sim — documents for your team and every agent" width="100%"/>
61
+
<p align="center"><b>Files</b> — one store for your team and every agent</p>
62
+
</td>
63
+
</tr>
64
+
<tr>
65
+
<td width="50%" valign="top">
66
+
<img src="apps/sim/public/static/readme-knowledge.png" alt="Knowledge bases in Sim — synced docs your agents can search" width="100%"/>
67
+
<p align="center"><b>Knowledge</b> — your agents' memory</p>
68
+
</td>
69
+
<td width="50%" valign="top">
70
+
<img src="apps/sim/public/static/readme-scheduled-tasks.png" alt="Scheduled tasks in Sim — recurring agent runs on a calendar" width="100%"/>
71
+
<p align="center"><b>Scheduled tasks</b> — runs on your schedule</p>
72
+
</td>
73
+
</tr>
74
+
</table>
75
+
49
76
## Self-hosting
50
77
51
78
### Docker Compose
@@ -120,6 +147,9 @@ See the [environment variables reference](https://docs.sim.ai/self-hosting/envir
120
147
121
148
## Tech Stack
122
149
150
+
<details>
151
+
<summary>Next.js · Bun · PostgreSQL · Drizzle · Better Auth · Tailwind — and the rest of the stack</summary>
0 commit comments