fix: address Claude review findings

- Warn when --global and --legacy are used together (init.ts)
- Update metadata across all platform templates (161 palettes, 15 stacks)
- Bump skill.json version from 2.0.0 to 2.5.0
- Re-throw non-ENOENT errors in uninstall.ts removeSkillDir
- Hoist detectAIType call to avoid double invocation in uninstall
- Add clarifying comment for .shared in AI_FOLDERS mapping
This commit is contained in:
Goon 2026-03-24 17:43:13 +07:00
parent c981b92b43
commit 035df47a56
41 changed files with 68 additions and 62 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "ui-ux-pro-max", "name": "ui-ux-pro-max",
"description": "UI/UX design intelligence. 67 styles, 96 palettes, 57 font pairings, 25 charts, 13 stacks (React, Next.js, Vue, Svelte, Astro, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui, Nuxt, Jetpack Compose). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient.", "description": "UI/UX design intelligence. 67 styles, 161 palettes, 57 font pairings, 25 charts, 15 stacks (React, Next.js, Vue, Svelte, Astro, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui, Nuxt, Jetpack Compose). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient.",
"version": "2.5.0", "version": "2.5.0",
"author": { "author": {
"name": "nextlevelbuilder" "name": "nextlevelbuilder"

View File

@ -10,12 +10,12 @@
"scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "scriptPath": "skills/ui-ux-pro-max/scripts/search.py",
"frontmatter": { "frontmatter": {
"name": "ui-ux-pro-max", "name": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks." "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks."
}, },
"sections": { "sections": {
"quickReference": false "quickReference": false
}, },
"title": "ui-ux-pro-max", "title": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.", "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks. Searchable database with priority-based recommendations.",
"skillOrWorkflow": "Skill" "skillOrWorkflow": "Skill"
} }

View File

@ -13,6 +13,6 @@
"quickReference": false "quickReference": false
}, },
"title": "ui-ux-pro-max", "title": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.", "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks. Searchable database with priority-based recommendations.",
"skillOrWorkflow": "Skill" "skillOrWorkflow": "Skill"
} }

View File

@ -10,12 +10,12 @@
"scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "scriptPath": "skills/ui-ux-pro-max/scripts/search.py",
"frontmatter": { "frontmatter": {
"name": "ui-ux-pro-max", "name": "ui-ux-pro-max",
"description": "UI/UX design intelligence. 67 styles, 96 palettes, 57 font pairings, 25 charts, 13 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient. Integrations: shadcn/ui MCP for component search and examples." "description": "UI/UX design intelligence. 67 styles, 161 palettes, 57 font pairings, 25 charts, 15 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient. Integrations: shadcn/ui MCP for component search and examples."
}, },
"sections": { "sections": {
"quickReference": true "quickReference": true
}, },
"title": "UI/UX Pro Max - Design Intelligence", "title": "UI/UX Pro Max - Design Intelligence",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.", "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks. Searchable database with priority-based recommendations.",
"skillOrWorkflow": "Skill" "skillOrWorkflow": "Skill"
} }

View File

@ -16,6 +16,6 @@
"quickReference": false "quickReference": false
}, },
"title": "ui-ux-pro-max", "title": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.", "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks. Searchable database with priority-based recommendations.",
"skillOrWorkflow": "Skill" "skillOrWorkflow": "Skill"
} }

View File

@ -16,6 +16,6 @@
"quickReference": false "quickReference": false
}, },
"title": "ui-ux-pro-max", "title": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.", "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks. Searchable database with priority-based recommendations.",
"skillOrWorkflow": "Skill" "skillOrWorkflow": "Skill"
} }

View File

@ -16,6 +16,6 @@
"quickReference": false "quickReference": false
}, },
"title": "ui-ux-pro-max", "title": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.", "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks. Searchable database with priority-based recommendations.",
"skillOrWorkflow": "Skill" "skillOrWorkflow": "Skill"
} }

View File

@ -10,12 +10,12 @@
"scriptPath": "prompts/ui-ux-pro-max/scripts/search.py", "scriptPath": "prompts/ui-ux-pro-max/scripts/search.py",
"frontmatter": { "frontmatter": {
"name": "ui-ux-pro-max", "name": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks." "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks."
}, },
"sections": { "sections": {
"quickReference": false "quickReference": false
}, },
"title": "ui-ux-pro-max", "title": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.", "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks. Searchable database with priority-based recommendations.",
"skillOrWorkflow": "Workflow" "skillOrWorkflow": "Workflow"
} }

View File

@ -10,12 +10,12 @@
"scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "scriptPath": "skills/ui-ux-pro-max/scripts/search.py",
"frontmatter": { "frontmatter": {
"name": "ui-ux-pro-max", "name": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks." "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks."
}, },
"sections": { "sections": {
"quickReference": false "quickReference": false
}, },
"title": "ui-ux-pro-max", "title": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.", "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks. Searchable database with priority-based recommendations.",
"skillOrWorkflow": "Skill" "skillOrWorkflow": "Skill"
} }

View File

@ -10,12 +10,12 @@
"scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "scriptPath": "skills/ui-ux-pro-max/scripts/search.py",
"frontmatter": { "frontmatter": {
"name": "ui-ux-pro-max", "name": "ui-ux-pro-max",
"description": "UI/UX design intelligence. 67 styles, 96 palettes, 57 font pairings, 25 charts, 13 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient." "description": "UI/UX design intelligence. 67 styles, 161 palettes, 57 font pairings, 25 charts, 15 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."
}, },
"sections": { "sections": {
"quickReference": false "quickReference": false
}, },
"title": "UI/UX Pro Max - Design Intelligence", "title": "UI/UX Pro Max - Design Intelligence",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.", "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks. Searchable database with priority-based recommendations.",
"skillOrWorkflow": "Skill" "skillOrWorkflow": "Skill"
} }

View File

@ -16,6 +16,6 @@
"quickReference": false "quickReference": false
}, },
"title": "ui-ux-pro-max", "title": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.", "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks. Searchable database with priority-based recommendations.",
"skillOrWorkflow": "Skill" "skillOrWorkflow": "Skill"
} }

View File

@ -10,12 +10,12 @@
"scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "scriptPath": "skills/ui-ux-pro-max/scripts/search.py",
"frontmatter": { "frontmatter": {
"name": "ui-ux-pro-max", "name": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks." "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks."
}, },
"sections": { "sections": {
"quickReference": false "quickReference": false
}, },
"title": "ui-ux-pro-max", "title": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.", "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks. Searchable database with priority-based recommendations.",
"skillOrWorkflow": "Skill" "skillOrWorkflow": "Skill"
} }

View File

@ -10,12 +10,12 @@
"scriptPath": "steering/ui-ux-pro-max/scripts/search.py", "scriptPath": "steering/ui-ux-pro-max/scripts/search.py",
"frontmatter": { "frontmatter": {
"name": "ui-ux-pro-max", "name": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks." "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks."
}, },
"sections": { "sections": {
"quickReference": false "quickReference": false
}, },
"title": "ui-ux-pro-max", "title": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.", "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks. Searchable database with priority-based recommendations.",
"skillOrWorkflow": "Workflow" "skillOrWorkflow": "Workflow"
} }

View File

@ -16,6 +16,6 @@
"quickReference": false "quickReference": false
}, },
"title": "ui-ux-pro-max", "title": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.", "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks. Searchable database with priority-based recommendations.",
"skillOrWorkflow": "Skill" "skillOrWorkflow": "Skill"
} }

View File

@ -16,6 +16,6 @@
"quickReference": false "quickReference": false
}, },
"title": "ui-ux-pro-max", "title": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.", "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks. Searchable database with priority-based recommendations.",
"skillOrWorkflow": "Skill" "skillOrWorkflow": "Skill"
} }

View File

@ -10,12 +10,12 @@
"scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "scriptPath": "skills/ui-ux-pro-max/scripts/search.py",
"frontmatter": { "frontmatter": {
"name": "ui-ux-pro-max", "name": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks." "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks."
}, },
"sections": { "sections": {
"quickReference": false "quickReference": false
}, },
"title": "ui-ux-pro-max", "title": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.", "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks. Searchable database with priority-based recommendations.",
"skillOrWorkflow": "Workflow" "skillOrWorkflow": "Workflow"
} }

View File

@ -16,6 +16,6 @@
"quickReference": false "quickReference": false
}, },
"title": "ui-ux-pro-max", "title": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.", "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks. Searchable database with priority-based recommendations.",
"skillOrWorkflow": "Skill" "skillOrWorkflow": "Skill"
} }

View File

@ -13,6 +13,6 @@
"quickReference": false "quickReference": false
}, },
"title": "ui-ux-pro-max", "title": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.", "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks. Searchable database with priority-based recommendations.",
"skillOrWorkflow": "Skill" "skillOrWorkflow": "Skill"
} }

View File

@ -10,12 +10,12 @@
"scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "scriptPath": "skills/ui-ux-pro-max/scripts/search.py",
"frontmatter": { "frontmatter": {
"name": "ui-ux-pro-max", "name": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks." "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks."
}, },
"sections": { "sections": {
"quickReference": false "quickReference": false
}, },
"title": "ui-ux-pro-max", "title": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.", "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks. Searchable database with priority-based recommendations.",
"skillOrWorkflow": "Skill" "skillOrWorkflow": "Skill"
} }

View File

@ -158,6 +158,9 @@ export async function initCommand(options: InitOptions): Promise<void> {
try { try {
// Use legacy ZIP-based install if --legacy flag is set // Use legacy ZIP-based install if --legacy flag is set
if (options.legacy) { if (options.legacy) {
if (isGlobal) {
spinner.warn('--global is not supported with --legacy mode, installing locally instead');
}
// Try GitHub download first (unless offline mode) // Try GitHub download first (unless offline mode)
if (!options.offline) { if (!options.offline) {
const githubResult = await tryGitHubInstall(cwd, aiType, spinner); const githubResult = await tryGitHubInstall(cwd, aiType, spinner);

View File

@ -26,8 +26,9 @@ async function removeSkillDir(baseDir: string, aiType: Exclude<AIType, 'all'>):
try { try {
await rm(skillDir, { recursive: true, force: true }); await rm(skillDir, { recursive: true, force: true });
removed.push(`${folder}/skills/ui-ux-pro-max`); removed.push(`${folder}/skills/ui-ux-pro-max`);
} catch { } catch (err: unknown) {
// Directory doesn't exist, skip // Re-throw permission errors; force:true already handles ENOENT
if ((err as NodeJS.ErrnoException).code !== 'ENOENT') throw err;
} }
} }
@ -42,10 +43,11 @@ export async function uninstallCommand(options: UninstallOptions): Promise<void>
const locationLabel = isGlobal ? '~/ (global)' : process.cwd(); const locationLabel = isGlobal ? '~/ (global)' : process.cwd();
let aiType = options.ai; let aiType = options.ai;
const { detected: initialDetected } = detectAIType(baseDir);
// Auto-detect or prompt for AI type // Auto-detect or prompt for AI type
if (!aiType) { if (!aiType) {
const { detected } = detectAIType(baseDir); const detected = initialDetected;
if (detected.length === 0) { if (detected.length === 0) {
logger.warn('No installed AI skill directories detected.'); logger.warn('No installed AI skill directories detected.');
@ -97,8 +99,7 @@ export async function uninstallCommand(options: UninstallOptions): Promise<void>
if (aiType === 'all') { if (aiType === 'all') {
// Remove for all detected platforms // Remove for all detected platforms
const { detected } = detectAIType(baseDir); for (const type of initialDetected) {
for (const type of detected) {
const removed = await removeSkillDir(baseDir, type); const removed = await removeSkillDir(baseDir, type);
allRemoved.push(...removed); allRemoved.push(...removed);
} }

View File

@ -43,7 +43,9 @@ export interface PlatformConfig {
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', 'all'];
// Legacy folder mapping for backward compatibility with ZIP-based installs // Legacy folder mapping for backward compatibility with ZIP-based installs.
// Note: .shared is included for platforms that used ZIP installs. Post-ZIP platforms
// (kilocode, warp, augment) include .shared as a no-op for consistent uninstall behavior.
export const AI_FOLDERS: Record<Exclude<AIType, 'all'>, string[]> = { export const AI_FOLDERS: Record<Exclude<AIType, 'all'>, string[]> = {
claude: ['.claude'], claude: ['.claude'],
cursor: ['.cursor', '.shared'], cursor: ['.cursor', '.shared'],

View File

@ -2,7 +2,7 @@
"name": "ui-ux-pro-max", "name": "ui-ux-pro-max",
"displayName": "UI/UX Pro Max", "displayName": "UI/UX Pro Max",
"description": "AI-powered design intelligence with 67 UI styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15+ tech stacks.", "description": "AI-powered design intelligence with 67 UI styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15+ tech stacks.",
"version": "2.0.0", "version": "2.5.0",
"author": "NextLevelBuilder", "author": "NextLevelBuilder",
"license": "MIT", "license": "MIT",
"homepage": "https://uupm.cc", "homepage": "https://uupm.cc",

View File

@ -10,12 +10,12 @@
"scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "scriptPath": "skills/ui-ux-pro-max/scripts/search.py",
"frontmatter": { "frontmatter": {
"name": "ui-ux-pro-max", "name": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks." "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks."
}, },
"sections": { "sections": {
"quickReference": false "quickReference": false
}, },
"title": "ui-ux-pro-max", "title": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.", "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks. Searchable database with priority-based recommendations.",
"skillOrWorkflow": "Skill" "skillOrWorkflow": "Skill"
} }

View File

@ -13,6 +13,6 @@
"quickReference": false "quickReference": false
}, },
"title": "ui-ux-pro-max", "title": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.", "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks. Searchable database with priority-based recommendations.",
"skillOrWorkflow": "Skill" "skillOrWorkflow": "Skill"
} }

View File

@ -10,12 +10,12 @@
"scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "scriptPath": "skills/ui-ux-pro-max/scripts/search.py",
"frontmatter": { "frontmatter": {
"name": "ui-ux-pro-max", "name": "ui-ux-pro-max",
"description": "UI/UX design intelligence. 67 styles, 96 palettes, 57 font pairings, 25 charts, 13 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient. Integrations: shadcn/ui MCP for component search and examples." "description": "UI/UX design intelligence. 67 styles, 161 palettes, 57 font pairings, 25 charts, 15 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient. Integrations: shadcn/ui MCP for component search and examples."
}, },
"sections": { "sections": {
"quickReference": true "quickReference": true
}, },
"title": "UI/UX Pro Max - Design Intelligence", "title": "UI/UX Pro Max - Design Intelligence",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.", "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks. Searchable database with priority-based recommendations.",
"skillOrWorkflow": "Skill" "skillOrWorkflow": "Skill"
} }

View File

@ -16,6 +16,6 @@
"quickReference": false "quickReference": false
}, },
"title": "ui-ux-pro-max", "title": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.", "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks. Searchable database with priority-based recommendations.",
"skillOrWorkflow": "Skill" "skillOrWorkflow": "Skill"
} }

View File

@ -16,6 +16,6 @@
"quickReference": false "quickReference": false
}, },
"title": "ui-ux-pro-max", "title": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.", "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks. Searchable database with priority-based recommendations.",
"skillOrWorkflow": "Skill" "skillOrWorkflow": "Skill"
} }

View File

@ -16,6 +16,6 @@
"quickReference": false "quickReference": false
}, },
"title": "ui-ux-pro-max", "title": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.", "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks. Searchable database with priority-based recommendations.",
"skillOrWorkflow": "Skill" "skillOrWorkflow": "Skill"
} }

View File

@ -10,12 +10,12 @@
"scriptPath": "prompts/ui-ux-pro-max/scripts/search.py", "scriptPath": "prompts/ui-ux-pro-max/scripts/search.py",
"frontmatter": { "frontmatter": {
"name": "ui-ux-pro-max", "name": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks." "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks."
}, },
"sections": { "sections": {
"quickReference": false "quickReference": false
}, },
"title": "ui-ux-pro-max", "title": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.", "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks. Searchable database with priority-based recommendations.",
"skillOrWorkflow": "Workflow" "skillOrWorkflow": "Workflow"
} }

View File

@ -10,12 +10,12 @@
"scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "scriptPath": "skills/ui-ux-pro-max/scripts/search.py",
"frontmatter": { "frontmatter": {
"name": "ui-ux-pro-max", "name": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks." "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks."
}, },
"sections": { "sections": {
"quickReference": false "quickReference": false
}, },
"title": "ui-ux-pro-max", "title": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.", "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks. Searchable database with priority-based recommendations.",
"skillOrWorkflow": "Skill" "skillOrWorkflow": "Skill"
} }

View File

@ -10,12 +10,12 @@
"scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "scriptPath": "skills/ui-ux-pro-max/scripts/search.py",
"frontmatter": { "frontmatter": {
"name": "ui-ux-pro-max", "name": "ui-ux-pro-max",
"description": "UI/UX design intelligence. 67 styles, 96 palettes, 57 font pairings, 25 charts, 13 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient." "description": "UI/UX design intelligence. 67 styles, 161 palettes, 57 font pairings, 25 charts, 15 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."
}, },
"sections": { "sections": {
"quickReference": false "quickReference": false
}, },
"title": "UI/UX Pro Max - Design Intelligence", "title": "UI/UX Pro Max - Design Intelligence",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.", "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks. Searchable database with priority-based recommendations.",
"skillOrWorkflow": "Skill" "skillOrWorkflow": "Skill"
} }

View File

@ -16,6 +16,6 @@
"quickReference": false "quickReference": false
}, },
"title": "ui-ux-pro-max", "title": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.", "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks. Searchable database with priority-based recommendations.",
"skillOrWorkflow": "Skill" "skillOrWorkflow": "Skill"
} }

View File

@ -10,12 +10,12 @@
"scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "scriptPath": "skills/ui-ux-pro-max/scripts/search.py",
"frontmatter": { "frontmatter": {
"name": "ui-ux-pro-max", "name": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks." "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks."
}, },
"sections": { "sections": {
"quickReference": false "quickReference": false
}, },
"title": "ui-ux-pro-max", "title": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.", "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks. Searchable database with priority-based recommendations.",
"skillOrWorkflow": "Skill" "skillOrWorkflow": "Skill"
} }

View File

@ -10,12 +10,12 @@
"scriptPath": "steering/ui-ux-pro-max/scripts/search.py", "scriptPath": "steering/ui-ux-pro-max/scripts/search.py",
"frontmatter": { "frontmatter": {
"name": "ui-ux-pro-max", "name": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks." "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks."
}, },
"sections": { "sections": {
"quickReference": false "quickReference": false
}, },
"title": "ui-ux-pro-max", "title": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.", "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks. Searchable database with priority-based recommendations.",
"skillOrWorkflow": "Workflow" "skillOrWorkflow": "Workflow"
} }

View File

@ -16,6 +16,6 @@
"quickReference": false "quickReference": false
}, },
"title": "ui-ux-pro-max", "title": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.", "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks. Searchable database with priority-based recommendations.",
"skillOrWorkflow": "Skill" "skillOrWorkflow": "Skill"
} }

View File

@ -16,6 +16,6 @@
"quickReference": false "quickReference": false
}, },
"title": "ui-ux-pro-max", "title": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.", "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks. Searchable database with priority-based recommendations.",
"skillOrWorkflow": "Skill" "skillOrWorkflow": "Skill"
} }

View File

@ -10,12 +10,12 @@
"scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "scriptPath": "skills/ui-ux-pro-max/scripts/search.py",
"frontmatter": { "frontmatter": {
"name": "ui-ux-pro-max", "name": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks." "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks."
}, },
"sections": { "sections": {
"quickReference": false "quickReference": false
}, },
"title": "ui-ux-pro-max", "title": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.", "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks. Searchable database with priority-based recommendations.",
"skillOrWorkflow": "Workflow" "skillOrWorkflow": "Workflow"
} }

View File

@ -16,6 +16,6 @@
"quickReference": false "quickReference": false
}, },
"title": "ui-ux-pro-max", "title": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.", "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks. Searchable database with priority-based recommendations.",
"skillOrWorkflow": "Skill" "skillOrWorkflow": "Skill"
} }

View File

@ -13,6 +13,6 @@
"quickReference": false "quickReference": false
}, },
"title": "ui-ux-pro-max", "title": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.", "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks. Searchable database with priority-based recommendations.",
"skillOrWorkflow": "Skill" "skillOrWorkflow": "Skill"
} }

View File

@ -10,12 +10,12 @@
"scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "scriptPath": "skills/ui-ux-pro-max/scripts/search.py",
"frontmatter": { "frontmatter": {
"name": "ui-ux-pro-max", "name": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks." "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks."
}, },
"sections": { "sections": {
"quickReference": false "quickReference": false
}, },
"title": "ui-ux-pro-max", "title": "ui-ux-pro-max",
"description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.", "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 15 technology stacks. Searchable database with priority-based recommendations.",
"skillOrWorkflow": "Skill" "skillOrWorkflow": "Skill"
} }