Conversation
- Introduced commands for checking color contrast, creating components, finding tokens, configuring icons, migrating CSS, and conducting design reviews. - Added recipes for sidebar and layout customizations with detailed usage examples. - Updated package.json to remove unnecessary test commands and include new documentation paths.
| "watch": "npx tsc --watch", | ||
| "start": "node dist/index.js", | ||
| "test": "node dist/test.js", | ||
| "test:interactive": "npm run build && node dist/interactive-client.js" |
Member
There was a problem hiding this comment.
Don't think we want to remove this
Member
Author
There was a problem hiding this comment.
@Jeremy-Walton I've added this back and removed the .claude commands. The prompts show up in your IDE with registerPrompt.
…d show up in the IDE as commands.
# Conflicts: # src/index.ts
* extract # Conflicts: # src/index.ts * Remove unneeded import
* Extract Get Component Tokens Tool * Address comment
* Extract Search Documentation Tool # Conflicts: # src/index.ts * Remove checklist
* extract it * Remove old tool
* Create read tool file method * extract the theme generator * Finish tool class extractions * Extract md files * specifiy import type * update type * removed unused parameter * removed useless variable stuff
Extracts tokens and components from Optics source repo. Generates optics-data.ts with 29 real components. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Helper to get token dependencies for components. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Replaces 152 bloated entries with actual components: - 26 from Storybook (Accordion through Tooltip) - 3 layout utilities (Stack, Cluster, Split) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add npm run sync-data command - Add @rolemodel/optics and ts-node as dev deps Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Document the two most common AI mistakes: - Not pairing background/text colors - Writing custom CSS instead of using existing components Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add missing cssVar property to generated tokens. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…theme creation - Introduced new prompts: build-component, create-brand-theme, and review-code. - Added tools for color validation, redundant CSS detection, and HSL token calculation. - Updated resource paths for prompts and tools to include a templates directory. - Enhanced existing prompts with detailed instructions and usage guidelines. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…and array registration Co-authored-by: Cursor <cursoragent@cursor.com>
…ool.ts Co-authored-by: Cursor <cursoragent@cursor.com>
…tool Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
…ToolFile now targets _templates Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why?
Why were the changes needed? What issues were the changes addressing?
(Note: some changes may seem unrelated to the ticket, this is a great place to explain further.)
What Changed
What changed in this PR?
Pre-merge checklist
package.jsonScreenshots
If any UI changes need to be shown off, please add screenshots here.