/** * Builtin Skills for Hive * * Skills are loaded from the generated registry. * This file provides the infrastructure to load builtin skills. */ import type { SkillDefinition, SkillLoadResult } from './types.js'; import { BUILTIN_SKILL_NAMES, BUILTIN_SKILLS } from './registry.generated.js'; export { BUILTIN_SKILL_NAMES, BUILTIN_SKILLS }; /** * Type for builtin skill names. */ export type BuiltinSkillName = typeof BUILTIN_SKILL_NAMES[number]; /** * Load a builtin skill by name. */ export declare function loadBuiltinSkill(name: string): SkillLoadResult; /** * Get all builtin skills. */ export declare function getBuiltinSkills(): SkillDefinition[]; /** * Get filtered skills based on global disable list and optional per-agent enable list. * * Logic: * 1. Start with all builtin skills * 2. Remove globally disabled skills * 3. If agentSkills is provided and non-empty, intersect with that list * * @param disabledSkills - Skills to globally disable * @param agentSkills - If provided, only these skills are enabled for the agent (intersection) */ export declare function getFilteredSkills(disabledSkills?: string[], agentSkills?: string[]): SkillDefinition[]; /** * Get skill metadata for tool description (XML format). * Uses (hive - Skill) prefix for consistency with formatSkillsXml in index.ts. */ export declare function getBuiltinSkillsXml(): string;