An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
Python ai-skillsantigravityclaudeclaude-codecodexcommand-linecopilotcursor-aihtml5kirolanding-pagemobile-uiqoderreacttailwindcsstraeui-designuikitwindsurf-ai
feat(cli): add CodeWhale platform support for uipro init --ai codewhale (#413)
Inf Sein6142b073958d
diff --git a/README.md b/README.mdindex d36907d..bb5f26a 100755--- a/README.md+++ b/README.md@@ -314,6 +314,7 @@ uipro init --ai droid # Droid (Factory)uipro init --ai kilocode # KiloCodeuipro init --ai warp # Warpuipro init --ai augment # Augment+uipro init --ai codewhale # CodeWhaleuipro init --ai all # All assistants```@@ -353,7 +354,7 @@ If it is missing, install it yourself from [python.org](https://www.python.org/d### Skill Mode (Auto-activate)-**Supported:** Claude Code, Cursor, Windsurf, Antigravity, Codex CLI, Continue, Gemini CLI, OpenCode, Qoder, CodeBuddy, Droid (Factory), KiloCode, Warp, Augment+**Supported:** Claude Code, Cursor, Windsurf, Antigravity, Codex CLI, Continue, Gemini CLI, OpenCode, Qoder, CodeBuddy, Droid (Factory), KiloCode, Warp, Augment, CodeWhaleThe skill activates automatically when you request UI/UX work. Just chat naturally:diff --git a/README.zh.md b/README.zh.mdindex aaabdcc..08e7fdc 100644--- a/README.zh.md+++ b/README.zh.md@@ -314,6 +314,7 @@ uipro init --ai droid # Droid (Factory)uipro init --ai kilocode # KiloCodeuipro init --ai warp # Warpuipro init --ai augment # Augment+uipro init --ai codewhale # CodeWhaleuipro init --ai all # 所有助手```@@ -352,7 +353,7 @@ python3 --version### 技能模式 (自动激活)-**支持:** Claude Code、Cursor、Windsurf、Antigravity、Codex CLI、Continue、Gemini CLI、OpenCode、Qoder、CodeBuddy、Droid (Factory)、KiloCode、Warp、Augment+**支持:** Claude Code、Cursor、Windsurf、Antigravity、Codex CLI、Continue、Gemini CLI、OpenCode、Qoder、CodeBuddy、Droid (Factory)、KiloCode、Warp、Augment、CodeWhale当你请求 UI/UX 工作时,技能会自动激活。只需自然地聊天:diff --git a/cli/assets/templates/platforms/codewhale.json b/cli/assets/templates/platforms/codewhale.jsonnew file mode 100644index 0000000..130ca41--- /dev/null+++ b/cli/assets/templates/platforms/codewhale.json@@ -0,0 +1,21 @@+{+ "platform": "codewhale",+ "displayName": "CodeWhale",+ "installType": "full",+ "folderStructure": {+ "root": ".codewhale",+ "skillPath": "skills/ui-ux-pro-max",+ "filename": "SKILL.md"+ },+ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py",+ "frontmatter": {+ "name": "ui-ux-pro-max",+ "description": "UI/UX design intelligence with searchable database"+ },+ "sections": {+ "quickReference": false+ },+ "title": "ui-ux-pro-max",+ "description": "Comprehensive design guide for web, mobile, and desktop applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 22 technology stacks. Searchable database with priority-based recommendations.",+ "skillOrWorkflow": "Skill"+}diff --git a/cli/src/types/index.ts b/cli/src/types/index.tsindex 6695706..299e6ef 100755--- a/cli/src/types/index.ts+++ b/cli/src/types/index.ts@@ -1,4 +1,4 @@-export type AIType = 'claude' | 'cursor' | 'windsurf' | 'antigravity' | 'copilot' | 'kiro' | 'roocode' | 'codex' | 'qoder' | 'gemini' | 'trae' | 'opencode' | 'continue' | 'codebuddy' | 'droid' | 'kilocode' | 'warp' | 'augment' | 'all';+export type AIType = 'claude' | 'cursor' | 'windsurf' | 'antigravity' | 'copilot' | 'kiro' | 'roocode' | 'codex' | 'qoder' | 'gemini' | 'trae' | 'opencode' | 'continue' | 'codebuddy' | 'droid' | 'kilocode' | 'warp' | 'augment' | 'codewhale' | 'all';export type ConcreteAIType = Exclude<AIType, 'all'>;export type InstallType = 'full' | 'reference';@@ -42,7 +42,7 @@ export interface PlatformConfig {skillOrWorkflow: string;}-export const AI_TYPES: AIType[] = ['claude', 'cursor', 'windsurf', 'antigravity', 'copilot', 'roocode', 'kiro', 'codex', 'qoder', 'gemini', 'trae', 'opencode', 'continue', 'codebuddy', 'droid', 'kilocode', 'warp', 'augment', 'all'];+export const AI_TYPES: AIType[] = ['claude', 'cursor', 'windsurf', 'antigravity', 'copilot', 'roocode', 'kiro', 'codex', 'qoder', 'gemini', 'trae', 'opencode', 'continue', 'codebuddy', 'droid', 'kilocode', 'warp', 'augment', 'codewhale', 'all'];// Legacy folder mapping for backward compatibility with ZIP-based installs.// Note: .shared is included for platforms that used ZIP installs. Post-ZIP platforms@@ -66,4 +66,5 @@ export const AI_FOLDERS: Record<ConcreteAIType, string[]> = {kilocode: ['.kilocode', '.shared'],warp: ['.warp', '.shared'],augment: ['.augment', '.shared'],+ codewhale: ['.codewhale', '.shared'],};diff --git a/cli/src/utils/detect.ts b/cli/src/utils/detect.tsindex edca1f0..be4b1b6 100755--- a/cli/src/utils/detect.ts+++ b/cli/src/utils/detect.ts@@ -64,6 +64,9 @@ export function detectAIType(cwd: string = process.cwd()): DetectionResult {if (existsSync(join(cwd, '.augment'))) {detected.push('augment');}+ if (existsSync(join(cwd, '.codewhale'))) {+ detected.push('codewhale');+ }// Suggest based on what's detectedlet suggested: AIType | null = null;@@ -114,6 +117,8 @@ export function getAITypeDescription(aiType: AIType): string {return 'Warp (.warp/skills/)';case 'augment':return 'Augment (.augment/skills/)';+ case 'codewhale':+ return 'CodeWhale (.codewhale/skills/)';case 'all':return 'All AI assistants';}diff --git a/cli/src/utils/template.ts b/cli/src/utils/template.tsindex a6707d6..273e703 100755--- a/cli/src/utils/template.ts+++ b/cli/src/utils/template.ts@@ -52,6 +52,7 @@ const AI_TO_PLATFORM: Record<string, string> = {kilocode: 'kilocode',warp: 'warp',augment: 'augment',+ codewhale: 'codewhale',};async function exists(path: string): Promise<boolean> {diff --git a/src/ui-ux-pro-max/templates/platforms/codewhale.json b/src/ui-ux-pro-max/templates/platforms/codewhale.jsonnew file mode 100644index 0000000..130ca41--- /dev/null+++ b/src/ui-ux-pro-max/templates/platforms/codewhale.json@@ -0,0 +1,21 @@+{+ "platform": "codewhale",+ "displayName": "CodeWhale",+ "installType": "full",+ "folderStructure": {+ "root": ".codewhale",+ "skillPath": "skills/ui-ux-pro-max",+ "filename": "SKILL.md"+ },+ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py",+ "frontmatter": {+ "name": "ui-ux-pro-max",+ "description": "UI/UX design intelligence with searchable database"+ },+ "sections": {+ "quickReference": false+ },+ "title": "ui-ux-pro-max",+ "description": "Comprehensive design guide for web, mobile, and desktop applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 22 technology stacks. Searchable database with priority-based recommendations.",+ "skillOrWorkflow": "Skill"+}