Commit 6294bb0ca712b9ece68d47596ee152b8670728b7
1 parent
538d5d0e
fix: 模板文件树显示 .claude 目录,新增 claude-youtube-skills 模板
Showing
11 changed files
with
105 additions
and
1 deletions
server/routes/company.js
| @@ -530,7 +530,7 @@ router.get('/templates/:templateId/files', (req, res) => { | @@ -530,7 +530,7 @@ router.get('/templates/:templateId/files', (req, res) => { | ||
| 530 | const fullPath = path.join(dirPath, entry.name); | 530 | const fullPath = path.join(dirPath, entry.name); |
| 531 | const relPath = relativePath ? `${relativePath}/${entry.name}` : entry.name; | 531 | const relPath = relativePath ? `${relativePath}/${entry.name}` : entry.name; |
| 532 | 532 | ||
| 533 | - if (entry.name.startsWith('.') || entry.name === 'node_modules') continue; | 533 | + if ((entry.name.startsWith('.') && entry.name !== '.claude') || entry.name === 'node_modules') continue; |
| 534 | 534 | ||
| 535 | if (entry.isDirectory()) { | 535 | if (entry.isDirectory()) { |
| 536 | const children = scanDir(fullPath, relPath); | 536 | const children = scanDir(fullPath, relPath); |
system/templates/claude-youtube-skills/agent.md
0 → 100644
system/templates/claude-youtube-skills/config.json
0 → 100644
| 1 | +{ | ||
| 2 | + "id": "claude-youtube-skills", | ||
| 3 | + "type": "skill", | ||
| 4 | + "name": "claude-youtube-skills", | ||
| 5 | + "parent_id": null, | ||
| 6 | + "goal_id": null, | ||
| 7 | + "status": "ready", | ||
| 8 | + "cli": { | ||
| 9 | + "toolPolicy": {} | ||
| 10 | + }, | ||
| 11 | + "gateway": { | ||
| 12 | + "channels": [] | ||
| 13 | + }, | ||
| 14 | + "api": { | ||
| 15 | + "endpoints": [] | ||
| 16 | + }, | ||
| 17 | + "mcp": { | ||
| 18 | + "servers": [] | ||
| 19 | + }, | ||
| 20 | + "sandbox": { | ||
| 21 | + "maxMemoryMB": 512, | ||
| 22 | + "maxDiskMB": 1024, | ||
| 23 | + "maxProcesses": 5 | ||
| 24 | + } | ||
| 25 | +} | ||
| 0 | \ No newline at end of file | 26 | \ No newline at end of file |
system/templates/claude-youtube-skills/cron.json
0 → 100644
system/templates/claude-youtube-skills/heartbeat.md
0 → 100644
system/templates/claude-youtube-skills/identity.md
0 → 100644
system/templates/claude-youtube-skills/plan.md
0 → 100644
system/templates/claude-youtube-skills/soul.md
0 → 100644
system/templates/claude-youtube-skills/todo.md
0 → 100644
system/templates/claude-youtube-skills/tools.md
0 → 100644