@bcgov/design-tokens 5.0.0-pr869 → 5.0.0-pr876
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -12,6 +12,14 @@ To use, install this package (`npm i @bcgov/design-tokens`) and import the desig
|
|
|
12
12
|
|
|
13
13
|
This package includes tokens in JavaScript (ECMAScript Module and CommonJS), CSS and SCSS formats.
|
|
14
14
|
|
|
15
|
+
### Using this library with LLMs
|
|
16
|
+
|
|
17
|
+
Instructions for AI agents are shipped with this library (`/node_modules/@bcgov/design-tokens/AGENTS.md`).
|
|
18
|
+
|
|
19
|
+
Add the B.C. Design System boilerplate from [AGENTS.example.md](https://github.com/bcgov/design-system/blob/main/AGENTS.example.md) to an `AGENTS.md` file at the root of your project. This directs agents to load the library-specific instructions.
|
|
20
|
+
|
|
21
|
+
Run `/context` to confirm that your agent has loaded the instructions into its context window.
|
|
22
|
+
|
|
15
23
|
### JavaScript (ECMAScript Module)
|
|
16
24
|
|
|
17
25
|
> **Try this first!** Using JavaScript variables can give you a better developer experience with autocomplete.
|