import type { ValidateOptions, ValidationResult } from './types.js'; /** * Validate an Agent Skill (SKILL.md file) * * Uses ResourceRegistry for markdown/link validation * Adds skill-specific validation (frontmatter schema, skill rules) * * @see https://code.claude.com/docs/en/skills — Official Claude Code skill spec * @param options - Validation options * @returns Validation result with all validation issues */ export declare function validateSkill(options: ValidateOptions): Promise; /** Result of finding an implicit (non-markdown-link) reference to a file */ export interface ImplicitReference { /** Relative path of the referenced file (e.g., "references/domain-template.md") */ referencedFile: string; /** Absolute path of the file containing the reference */ foundIn: string; /** The matched text snippet (for diagnostics) */ matchedText: string; /** Line number where found (1-based) */ line: number; } /** * Scan BFS-visited files for implicit (non-markdown-link) references to unreferenced files. * * "Implicit reference" means the file path appears in the text bounded by delimiter * characters (backticks, parens, whitespace, etc.) but NOT as a standard markdown link. * * @param skillDir - Absolute path to the skill directory * @param unreferencedFiles - Relative paths of .md files not found by BFS traversal * @param visitedFiles - Absolute paths of files visited during BFS (to scan for references) * @returns Array of implicit references found */ export declare function extractImplicitReferences(_skillDir: string, unreferencedFiles: readonly string[], visitedFiles: ReadonlySet): ImplicitReference[]; //# sourceMappingURL=skill-validator.d.ts.map