/** * skill-loader.ts — Preload specific skill files and inject their content into the system prompt. * * When skills is a string[], reads each named skill from .pi/skills/ or ~/.pi/skills/ * and returns their content for injection into the agent's system prompt. */ export interface PreloadedSkill { name: string; content: string; } /** * Attempt to load named skills from project and global skill directories. * Looks for: