This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Antigravity Kit is an AI-powered design intelligence toolkit providing searchable databases of UI styles, color palettes, font pairings, chart types, and UX guidelines. It works as a skill/workflow for AI coding assistants (Claude Code, Windsurf, Cursor, etc.).
python3 src/ui-ux-pro-max/scripts/search.py "<query>" --domain <domain> [-n <max_results>]
Domain search:
product - Product type recommendations (SaaS, e-commerce, portfolio)style - UI styles (glassmorphism, minimalism, brutalism) + AI prompts and CSS keywordstypography - Font pairings with Google Fonts importscolor - Color palettes by product typelanding - Page structure and CTA strategieschart - Chart types and library recommendationsux - Best practices and anti-patternsStack search:
python3 src/ui-ux-pro-max/scripts/search.py "<query>" --stack <stack>
Available stacks: html-tailwind (default), react, nextjs, astro, vue, nuxtjs, nuxt-ui, svelte, swiftui, react-native, flutter, shadcn, jetpack-compose
src/ui-ux-pro-max/ # Source of Truth
├── data/ # Canonical CSV databases
│ ├── products.csv, styles.csv, colors.csv, typography.csv, ...
│ └── stacks/ # Stack-specific guidelines
├── scripts/
│ ├── search.py # CLI entry point
│ ├── core.py # BM25 + regex hybrid search engine
│ └── design_system.py # Design system generation
└── templates/
├── base/ # Base templates (skill-content.md, quick-reference.md)
└── platforms/ # Platform configs (claude.json, cursor.json, ...)
cli/ # CLI installer (uipro-cli on npm)
├── src/
│ ├── commands/init.ts # Install command with template generation
│ └── utils/template.ts # Template rendering engine
└── assets/ # Bundled assets (~564KB)
├── data/ # Copy of src/ui-ux-pro-max/data/
├── scripts/ # Copy of src/ui-ux-pro-max/scripts/
└── templates/ # Copy of src/ui-ux-pro-max/templates/
.claude/skills/ui-ux-pro-max/ # Claude Code skill (symlinks to src/)
.factory/skills/ui-ux-pro-max/ # Droid (Factory) skill (symlinks to src/)
.shared/ui-ux-pro-max/ # Symlink to src/ui-ux-pro-max/
.claude-plugin/ # Claude Marketplace publishing
The search engine uses BM25 ranking combined with regex matching. Domain auto-detection is available when --domain is omitted.
Source of Truth: src/ui-ux-pro-max/
When modifying files:
src/ui-ux-pro-max/:
data/*.csv and data/stacks/*.csvscripts/*.py.claude/, .factory/, .shared/src/ui-ux-pro-max/templates/:
base/skill-content.md - Common SKILL.md contentbase/quick-reference.md - Quick reference section (Claude only)platforms/*.json - Platform-specific configscp -r src/ui-ux-pro-max/data/* cli/assets/data/
cp -r src/ui-ux-pro-max/scripts/* cli/assets/scripts/
cp -r src/ui-ux-pro-max/templates/* cli/assets/templates/
uipro init.Python 3.x (no external dependencies required)
Never push directly to main. Always:
git checkout -b feat/... or fix/...git push -u origin <branch>gh pr create