vendure-tokens
Installation
SKILL.md
Vendure Tokens
Keep component code semantic while applying the correct token-ownership mode for the current host.
Classify token ownership
Inspect git remotes and the task-local code.
- Parse the owner from the
originandupstreamgit remotes. Treat the repository as Vendure-owned when either GitHub owner is exactlyvendurehq, case-insensitively. - Treat code as a Dashboard extension when it imports or calls
defineDashboardExtensionfrom@vendure/dashboard, or when aVendurePlugindeclares adashboardentry. - Apply one mode:
- Vendure-owned repository: consume all published token values without redefining them.
- Dashboard extension: inherit the host dashboard theme without redefining token values, regardless of repository owner.
- Standalone external app: preserve the semantic contract, but allow deliberate remapping of slot values and locally namespaced semantic slots.
- If remotes are absent or ambiguous and no extension evidence exists, use standalone external behavior rather than claiming Vendure ownership.
Complete classification when one mode is selected from evidence.