/** * AI SDK Tools for Skill Management * * Provides tools for LLMs to discover and use design skills/knowledge * for creating better screen designs. */ /** * Skills are design knowledge patterns that can be applied to screen design */ export interface Skill { id: string; name: string; description: string; content: string; } /** * Load all skills from the skills directory * @throws Error if skills directory is not found or no skills are loaded */ export declare function loadSkillsFromDisk(): Skill[]; /** * Create a formatted skills prompt section * Loads all skills from disk and formats them as a markdown list * @throws Error if no skills are found (via loadSkillsFromDisk) */ export declare function createSkillsPrompt(): string; /** * Read a specific skill by ID * Retrieves the full content of a skill by ID */ export declare function readSkill(skillId: string): Promise; /** * Tool: List all available skills * Returns a list of all skills with their IDs, names, and descriptions */ export declare const listSkillsTool: import("ai").Tool<{}, import("./tool-bodies").ListSkillsOutput>; export declare const readSkillTool: import("ai").Tool<{ skillId: string; }, import("./tool-bodies").ReadSkillOutput>; /** * Export all tools for use with AI SDK */ export declare const skillTools: { list_skills: import("ai").Tool<{}, import("./tool-bodies").ListSkillsOutput>; read_skill: import("ai").Tool<{ skillId: string; }, import("./tool-bodies").ReadSkillOutput>; }; //# sourceMappingURL=skill-tools.d.ts.map