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>
21 lines
628 B
TypeScript
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;
|
|
}
|