/** * A skill's identity: the name it declares for itself. * * VAT keys on the SKILL.md frontmatter `name` everywhere it matters — the build * names its output directory after it, the plugin-build collision referee * matches on it, and `SKILL_CLAUDE_PLUGIN_NAME_MISMATCH` tells authors to align * `plugin.json` *to* it. The directory a skill happens to sit in is incidental: * an archive extracted to a temp path has no meaningful directory name at all. * * Consumers that need the name should read it here rather than deriving it from * a path, so every lane answers the question the same way. */ /** * Read the name a SKILL.md declares for itself. * * Returns `undefined` when the file is unreadable, has no frontmatter, or * declares no usable `name` — callers decide whether that is fatal or whether * some fallback (typically the directory leaf) applies. */ export declare function readDeclaredSkillName(skillMdPath: string): string | undefined; //# sourceMappingURL=skill-identity.d.ts.map