/** * SkillKit SKILL.md Parser * Parses and validates SKILL.md files in both OpenClaw and ArtefactForge formats. * This is the heart of SkillKit - it transforms markdown skill definitions into executable structures. */ import { SkillDefinition } from './types.js'; /** * Validate parsed skill definition */ export declare function validateSkill(skill: SkillDefinition): { valid: boolean; errors: string[]; }; /** * Main parser function - parse SKILL.md file */ export declare function parseSkillFile(filePath: string): SkillDefinition; /** * Parse SKILL.md content from string */ export declare function parseSkillContent(content: string, filePath?: string): SkillDefinition; /** * Get skill name from file path */ export declare function getSkillNameFromPath(filePath: string): string; /** * Extract metadata from SKILL.md without full parsing (lightweight) */ export declare function extractMetadata(content: string): Partial; /** * Check if content looks like valid SKILL.md */ export declare function isValidSkillFormat(content: string): boolean; //# sourceMappingURL=parser.d.ts.map