/** * Normalize a skill from another agent into a native GJC `SKILL.md`. * * GJC derives a skill's loaded name from its directory (`/SKILL.md`) when no * frontmatter `name` is present, and requires a `description`. To guarantee the * effective loaded name equals the lowercase-hyphen slug, we drop any frontmatter * `name` and place the file at `/SKILL.md`, synthesizing a `description` * when the source lacks one. */ export interface NormalizeSkillInput { /** Raw name from the source (filename stem, frontmatter name, etc.). */ rawName: string; /** Full source markdown (may or may not have frontmatter). */ content: string; } export interface NormalizedSkill { slug: string; content: string; warnings: string[]; } /** Convert an arbitrary name into a lowercase-hyphen slug. */ export declare function slugify(name: string): string; /** * Produce a `{ slug, content }` pair whose effective GJC-loaded name equals `slug`. * Throws only on an unusable name (cannot produce a slug). */ export declare function normalizeSkill(input: NormalizeSkillInput): NormalizedSkill;