@atomixstudio/mcp 1.0.33 → 1.0.34
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 +2 -2
- package/dist/index.js +498 -276
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -63,7 +63,7 @@ Once connected, the AI can call these tools:
|
|
|
63
63
|
| `searchTokens(query)` | Search tokens by name or value |
|
|
64
64
|
| `validateUsage(value)` | Check if a hardcoded value should use a token |
|
|
65
65
|
| `syncAll(options?)` | Sync tokens, AI rules, skills (.cursor/skills/atomix-ds/*), and atomix-dependencies.json. One tool for full project sync. **/--sync** invokes this. Optional: `workspaceRoot` (project root so files are written in the repo; else `ATOMIX_PROJECT_ROOT` env or cwd), `output` (default ./tokens.css), `format` (default css), `skipTokens` (if true, only skills + manifest). |
|
|
66
|
-
| `
|
|
66
|
+
| `getRules(topic?)` | Get design system governance rules; optional topic: colors, typo, motion, icons, layout, visual |
|
|
67
67
|
| `exportMCPConfig(tool)` | Get MCP configuration for different tools |
|
|
68
68
|
| `getSetupInstructions(tool)` | Get detailed setup guide |
|
|
69
69
|
| `getDependencies(platform?, stack?)` | Get suggested dependencies (icons, fonts, SKILL.md, token files). Optional: `platform` (web, ios, android), `stack` (e.g. react, vue, next). Use with **/--get-started** prompt. |
|
|
@@ -117,7 +117,7 @@ The **/--get-started** prompt suggests dependencies for your design system so yo
|
|
|
117
117
|
5. **Optional: suggest global typeset** — If the project has no global styles that use the design system tokens, offer to build a full typeset (Display, Heading, body, caption) from the DS typography tokens via getToken/listTokens, including fontFamily, fontSize, fontWeight, lineHeight, letterSpacing—not just font imports.
|
|
118
118
|
6. **Report what was created** — After any install/copy steps, list what was created or updated (e.g. "Installed: lucide-react. Added: .cursor/skills/atomix-ds/SKILL.md. Synced: tokens.css.").
|
|
119
119
|
|
|
120
|
-
**SKILLs:** The get-started flow suggests adding a generic SKILL at `.cursor/skills/atomix-ds/SKILL.md` (coding-platform agnostic;
|
|
120
|
+
**SKILLs:** The get-started flow suggests adding a generic SKILL at `.cursor/skills/atomix-ds/SKILL.md` (coding-platform agnostic; call `getRules` for governance rules). Run /--sync to write the skill; .rules files (e.g. .cursorrules) are no longer written.
|
|
121
121
|
|
|
122
122
|
## Sync to Figma
|
|
123
123
|
|