diff --git a/README.md b/README.md index d36907d..bb5f26a 100755 --- a/README.md +++ b/README.md @@ -314,6 +314,7 @@ uipro init --ai droid # Droid (Factory) uipro init --ai kilocode # KiloCode uipro init --ai warp # Warp uipro init --ai augment # Augment +uipro init --ai codewhale # CodeWhale uipro 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, CodeWhale The skill activates automatically when you request UI/UX work. Just chat naturally: diff --git a/README.zh.md b/README.zh.md index 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 # KiloCode uipro init --ai warp # Warp uipro init --ai augment # Augment +uipro init --ai codewhale # CodeWhale uipro 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.json new file mode 100644 index 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.ts index 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; 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 = { 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.ts index 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 detected let 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.ts index a6707d6..273e703 100755 --- a/cli/src/utils/template.ts +++ b/cli/src/utils/template.ts @@ -52,6 +52,7 @@ const AI_TO_PLATFORM: Record = { kilocode: 'kilocode', warp: 'warp', augment: 'augment', + codewhale: 'codewhale', }; async function exists(path: string): Promise { diff --git a/src/ui-ux-pro-max/templates/platforms/codewhale.json b/src/ui-ux-pro-max/templates/platforms/codewhale.json new file mode 100644 index 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" +}