feat: introduce UI/UX Pro Max skill with comprehensive guidelines, data, and search functionality across various tech stacks.
This commit is contained in:
58
CLAUDE.md
Normal file
58
CLAUDE.md
Normal file
@@ -0,0 +1,58 @@
|
||||
# CLAUDE.md
|
||||
|
||||
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
|
||||
|
||||
## Project Overview
|
||||
|
||||
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.).
|
||||
|
||||
## Search Command
|
||||
|
||||
```bash
|
||||
python3 .claude/skills/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)
|
||||
- `typography` - Font pairings with Google Fonts imports
|
||||
- `color` - Color palettes by product type
|
||||
- `landing` - Page structure and CTA strategies
|
||||
- `chart` - Chart types and library recommendations
|
||||
- `ux` - Best practices and anti-patterns
|
||||
- `prompt` - AI prompts and CSS keywords
|
||||
|
||||
**Stack search:**
|
||||
```bash
|
||||
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "<query>" --stack <stack>
|
||||
```
|
||||
Available stacks: `html-tailwind` (default), `react`, `nextjs`, `vue`, `svelte`, `swiftui`, `react-native`, `flutter`
|
||||
|
||||
## Architecture
|
||||
|
||||
```
|
||||
.claude/skills/ui-ux-pro-max/ # Claude Code skill
|
||||
├── SKILL.md # Skill definition with workflow instructions
|
||||
├── scripts/
|
||||
│ ├── search.py # CLI entry point
|
||||
│ └── core.py # BM25 + regex hybrid search engine
|
||||
└── data/ # CSV databases (styles, colors, typography, etc.)
|
||||
└── stacks/ # Stack-specific guidelines (8 CSV files)
|
||||
|
||||
.windsurf/workflows/ # Windsurf workflow copy
|
||||
.agent/workflows/ui-ux-pro-max/ # Generic agent workflow copy
|
||||
.shared/ui-ux-pro-max/ # Shared data copy
|
||||
```
|
||||
|
||||
The search engine uses BM25 ranking combined with regex matching. Domain auto-detection is available when `--domain` is omitted.
|
||||
|
||||
## Sync Rules
|
||||
|
||||
When modifying files, keep all agent workflows in sync:
|
||||
|
||||
- **Data & Scripts** (`data/`, `scripts/`): Copy changes to `.shared/ui-ux-pro-max/`
|
||||
- **SKILL.md**: Update corresponding files in `.agent/`, `.cursor/`, `.windsurf/`
|
||||
|
||||
## Prerequisites
|
||||
|
||||
Python 3.x (no external dependencies required)
|
||||
Reference in New Issue
Block a user