Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Added an icons rule to the dashboard starters' agent instructions (#15025)

Damian Legawiec6d2e0afe7fee
diff --git a/packages/dashboard-starter/AGENTS.md b/packages/dashboard-starter/AGENTS.md
index 0c7f4a37f0..12d3c8242b 100644
--- a/packages/dashboard-starter/AGENTS.md
+++ b/packages/dashboard-starter/AGENTS.md
@@ -70,6 +70,8 @@ of what exists, not an implementation.
in `../../server/` — follow `../../server/AGENTS.md`.
- **Destructive actions that fire straight from a click need a confirm** —
`useConfirm()` with `variant: 'destructive'`.
+- **Prefer icons from `@spree/dashboard-ui/icons`**, the dashboard's own icon
+ set, over importing `lucide-react` directly.
## Checks
diff --git a/packages/seller-dashboard-starter/AGENTS.md b/packages/seller-dashboard-starter/AGENTS.md
index abdc1556bf..acfa514940 100644
--- a/packages/seller-dashboard-starter/AGENTS.md
+++ b/packages/seller-dashboard-starter/AGENTS.md
@@ -78,6 +78,8 @@ not have leads to a "not found" screen.
in `../../server/` — follow `../../server/AGENTS.md`.
- **Destructive actions that fire straight from a click need a confirm** —
`useConfirm()` with `variant: 'destructive'`.
+- **Prefer icons from `@spree/dashboard-ui/icons`**, the dashboard's own icon
+ set, over importing `lucide-react` directly.
## Checks