Files
ONE-OS/axhub-make/vite-plugins/utils/installSkillTargets.ts
王冕 a27e3b8e43 feat: sync full workspace including web modules, docs, and configurations to Gitea
Optimized the root .gitignore to exclude virtual environments, node modules,
and temp folders to ensure clean and lightweight version tracking.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-09 18:12:25 +08:00

21 lines
628 B
TypeScript

export const INSTALL_SKILL_TARGET_DIRS: Record<string, string | null> = {
// IDE editors
cursor: '.cursor/skills',
windsurf: '.windsurf/skills',
qoder: 'skills',
trae: '.trae/skills',
trae_cn: '.trae/skills',
vscode: '.github/skills',
kiro: '.kiro/skills',
antigravity: '.agent/skills',
// CLI / Genie tools
'claude-code': '.claude/skills',
// Codex project-level skills follow the official recommended location.
codex: '.agents/skills',
opencode: '.opencode/skills',
};
export function getInstallSkillTargetDir(client: string): string | null {
return INSTALL_SKILL_TARGET_DIRS[client] ?? null;
}