/** * Agent skills. * * Public API for the agent skills system. * Skills are project-level capabilities defined as SKILL.md files * following the agentskills.io specification. * * @module * * @example * ```ts * import { parseSkillFrontmatter, validateSkillMetadata } from "veryfront/skill"; * * const parsed = await parseSkillFrontmatter("---\nname: review\ndescription: Review code\n---\n"); * validateSkillMetadata(parsed.frontmatter, "review"); * ``` */ import "../../_dnt.polyfills.js"; export type { ActiveSkillContext, Skill, SkillContent, SkillMetadata, SkillScriptExecutor, SkillScriptExecutorInput, SkillScriptResult, SkillScriptSnapshot, SkillScriptSnapshotFile, } from "./types.js"; export { isSkillInfrastructureToolId, isValidProviderSafeSkillId, isValidSkillName, isValidStrictSkillName, SKILL_ALLOWED_TOOL_PATTERN_REGEX, SKILL_ASSETS_DIR, SKILL_DESCRIPTION_MAX_LENGTH, SKILL_MD_FILENAME, SKILL_METADATA_KEY_MAX_LENGTH, SKILL_METADATA_MAX_ENTRIES, SKILL_METADATA_VALUE_MAX_LENGTH, SKILL_NAME_REGEX, SKILL_READABLE_DIRS, SKILL_REFERENCES_DIR, SKILL_RESOURCES_DIR, SKILL_SCRIPTS_DIR, SKILL_TOOL_IDS, } from "./types.js"; export { type AgentCapabilityScope, getAllSkills, getSkill, isSkillVisibleTo, registerSkill, skillRegistry, } from "./registry.js"; export { parseSkillFileFrontmatter, parseSkillFrontmatter, validateSkillFileMetadata, validateSkillMetadata, } from "./parser.js"; export { listSkillSubdir, validateSkillPath } from "./path-safety.js"; export { createExecuteSkillScriptTool, createLoadSkillReferenceTool, createLoadSkillTool, } from "./tools.js"; export { getSkillScriptExecutor } from "./executor.js"; export { filterToolNamesForSkill, filterToolsForSkill, isSkillToolAvailable, } from "./allowed-tools.js"; export type { ParsedSkillContent } from "./document-parser.js"; export { parseBoundedSkillDocument } from "./document-parser.js"; //# sourceMappingURL=index.d.ts.map