/** * Agent Skills (agentskills.io) open-standard conformance lint for SKILL.md * frontmatter — pure, advisory, never a hard gate. * See devlog: 2026-06-21-agentskills-conformance-shipped. * @docLink core/conformance */ /** A single agentskills.io conformance finding. */ export interface ConformanceFinding { /** `error` = hard standard violation; `warn` = portability risk. */ level: "error" | "warn"; /** Frontmatter field the finding concerns (e.g. "name", "metadata.tags"). */ field: string; /** Human-readable, ready to print after a file path. */ message: string; } /** Options for {@link checkAgentSkillConformance}. */ export interface ConformanceOptions { /** * Parent directory name, for the standard's `name === ` rule. * Omit to skip that check (e.g. when validating a detached frontmatter blob). */ dirName?: string; } /** * Check a SKILL.md frontmatter object against the Agent Skills open standard. * Returns findings only — the caller maps severity to exit codes. * * @param frontmatter Parsed SKILL.md YAML frontmatter. * @param opts Optional context (`dirName` enables the name==dir rule). * @returns Zero or more {@link ConformanceFinding}s. */ export declare function checkAgentSkillConformance(frontmatter: Record, opts?: ConformanceOptions): ConformanceFinding[]; //# sourceMappingURL=conformance.d.ts.map