/** * Skill Testing Framework * Run static and dynamic assertions against skills. * * Test definitions can come from: * 1. skill-test.yml in the skill directory * 2. tests section in SKILL.md frontmatter * 3. Built-in structural checks */ export interface SkillTest { /** Test name */ name: string; /** Test type */ type: 'structure' | 'content' | 'quality'; /** Expected condition */ assertion: string; /** Check function */ check: (content: string, data: Record) => boolean; } export interface TestResult { /** Skill name */ skillName: string; /** Skill path */ skillPath: string; /** Individual assertion results */ assertions: AssertionResult[]; /** Overall pass/fail */ passed: boolean; /** Duration in ms */ duration: number; /** Pass rate */ passRate: number; } export interface AssertionResult { /** Test name */ name: string; /** Pass/fail */ passed: boolean; /** Type of test */ type: string; /** Error message if failed */ message?: string; } /** * Run all tests against a skill. * * @param skillPath — path to skill directory or SKILL.md */ export declare function testSkill(skillPath: string): Promise; /** * Run tests against multiple skills. */ export declare function testSkills(skillPaths: string[]): Promise; //# sourceMappingURL=skill-tester.d.ts.map