| 676 | const skillsPath = path.resolve(rootDir, "skills"); |
| 677 | log(`[PackAgent] Loading skills from: ${skillsPath}`); |
| 678 | const additionalSkillPaths = readAdditionalSkillPaths(); |
| 679 | for (const additionalSkillPath of additionalSkillPaths) { |
| 680 | log( |
| 681 | `[PackAgent] Loading additional skills from: ${additionalSkillPath}`, |
| 682 | ); |
| 683 | } |
| 684 | const materializedSkillCreator = materializeBuiltinSkillCreator( |
| 685 | rootDir, |
| 686 | skillsPath, |
| 687 | ); |
| 688 | if (materializedSkillCreator) { |
| 689 | log( |
| 690 | `[PackAgent] Materialized built-in skill-creator to: ${materializedSkillCreator.filePath}`, |
| 691 | ); |
| 692 | } |
| 693 | |
| 694 | const packPromptFiles = buildPackPromptBlock(rootDir); |
| 695 | if (packPromptFiles.agentsContent) { |
| 696 | log( |