-
Notifications
You must be signed in to change notification settings - Fork 3
Using Claude Code
Saar edited this page Mar 10, 2026
·
1 revision
Claude Code is your AI co-pilot. It knows the design system, the project structure, and can build entire screens for you without you writing a single line of code.
Every time you open Claude Code, it automatically reads:
- Component rules — which components to use, how they're styled
- Design tokens — available colors, typography, spacing
- File structure — where to put new files, naming conventions
- Mock data — what athlete and game data exists
- Linting rules — what will be rejected in validation
You don't need to tell it any of this — it already knows.
- "Add a new page that shows injury history for the selected athlete"
- "Change the calendar to default to week view instead of day view"
- "Add a button on the dashboard that filters athletes by position"
- "Create a form for logging a new training session"
- "Add a toast notification when a form is submitted"
These are specific, describe the end result, and let Claude figure out the details.
- "Use a blue button" — Too vague, colors are controlled by design tokens
- "Make it look good" — Too vague, no clear success criteria
- "Install [library]" — New packages aren't allowed
- "Change this CSS file" — Don't reference files unless necessary; describe what you want instead
- "Use Arial font" — Not part of the design system
- Ask Claude — Describe what you want
- See the result — Check localhost:3001
- Adjust if needed — "Change the button color to error red" or "Add padding to this card"
- Repeat until happy
Claude will make changes and immediately reload the browser so you see them.
- Look at the terminal — You'll see a red error message
- Copy the error — Select all the red text
- Paste to Claude — "Fix this error: [paste]"
- Claude fixes it — Usually takes one try
-
/commit— Create a git commit with your changes -
/review— Have Claude review the code you just changed -
/search— Search the codebase for something -
/help— Get help using Claude Code
- Create a new page
- Add a new section to existing page
- Change the layout of a page
- Add a sidebar or drawer
- Create a form for adding a new athlete
- Add validation to a form
- Change form field types
- Add a date picker to a form
- Add new athlete data
- Change existing data
- Add a new form template
- Modify mock data
- Change colors or spacing
- Make something full-width
- Add responsive behavior
- Hide/show elements conditionally
- Use a different component
- Change a button's size
- Add icons to buttons
- Combine components in new ways
Sometimes Claude will reject your request:
- "I can't install new npm packages" — Correct, the system is locked. Work with existing components instead.
-
"That hardcoded color won't pass validation" — Use design tokens instead (
--color-primary,--color-error, etc.) -
"That icon variant doesn't exist" — Use
*Outlinedvariants only (e.g.,DashboardOutlined, notDashboard)
These aren't bugs — they're protecting the design system. Claude is being helpful by stopping you before your work gets rejected by the validator.
- Be specific about placement — "Add this button next to the Search button" or "Put this below the Player Info card"
- Ask about design — "What components would be best for showing injury history?"
- Ask about data — "What fields exist in the athletes data?" or "How many athletes are in the mock data?"
- Debug together — "The page is blank, why?" Claude will investigate
- Make branches — Ask Claude to commit your work, then create a new branch for your next idea
If Claude misunderstands:
- Be more specific — Instead of "Add a card", try "Add a white Card component below the heading that shows the athlete's injury status"
- Show an example — "Like the player card on the dashboard, but for injuries"
- Reference the Design System — "Use a playbook component" or "Check the Storybook"
Claude will ask clarifying questions if it's not sure. Answer them.