← 教程列表
coding

Task 7: Replace findSkillsInDir with Core Version

📅 2026/6/12 16:30:02⏱ 约 5 分钟阅读👁 9 阅读

**Files:** - Modify: `.codex/superpowers-codex` (lines 97-136, approximately) **Step 1: Remove local findSkillsInDir function** Delete the entire `findSkillsInDir` function definition (approximately lines 97-136). **Step 2: Update all findSkillsInDir calls** Replace calls from `findSkillsInDir(` to `skillsCore.findSkillsInDir(` **Step 3: Verify script still works** Run: `.codex/superpowers-codex find-skills | head -20` Expected: Shows list of skills **Step 4: Commit** ```bash git add .codex/superpowers-codex git commit -m "refactor: use shared findSkillsInDir in codex" ``` ---

← 返回教程列表 AI8899 · 内容仅供学习参考