feat: add support for Gemini CLI

- Added .gemini/skills/ui-ux-pro-max/SKILL.md configuration
- Updated CLI to detect and install for Gemini (.gemini + .shared)
- Added Gemini CLI instructions to README.md
This commit is contained in:
dingtalk_ssjygq
2026-01-09 09:18:56 +08:00
parent 528138c76f
commit d45721a49a
6 changed files with 473 additions and 3 deletions

View File

@@ -37,6 +37,9 @@ export function detectAIType(cwd: string = process.cwd()): DetectionResult {
if (existsSync(join(cwd, '.qoder'))) {
detected.push('qoder');
}
if (existsSync(join(cwd, '.gemini'))) {
detected.push('gemini');
}
// Suggest based on what's detected
let suggested: AIType | null = null;
@@ -69,6 +72,8 @@ export function getAITypeDescription(aiType: AIType): string {
return 'RooCode (.roo/commands/ + .shared/)';
case 'qoder':
return 'Qoder (.qoder/rules/ + .shared/)';
case 'gemini':
return 'Gemini CLI (.gemini/skills/ + .shared/)';
case 'all':
return 'All AI assistants';
}

View File

@@ -39,7 +39,7 @@ export async function copyFolders(
const copiedFolders: string[] = [];
const foldersToCopy = aiType === 'all'
? ['.claude', '.cursor', '.windsurf', '.agent', '.github', '.kiro', '.roo','.codex', '.shared']
? ['.claude', '.cursor', '.windsurf', '.agent', '.github', '.kiro', '.roo','.codex', '.gemini', '.shared']
: AI_FOLDERS[aiType];
// Deduplicate folders (e.g., .shared might be listed multiple times)