Skip to content

PromptScript API


Interface: SkillValidationOptions

Defined in: resolver/src/skill-validation.ts:35

Options for validateSkillFrontmatter.

Properties

existingNames?

optional existingNames?: ReadonlySet\<string>

Defined in: resolver/src/skill-validation.ts:46

Names already registered in the current project. Used to detect collisions (two skills resolving to the same output folder).


filePath?

optional filePath?: string

Defined in: resolver/src/skill-validation.ts:41

Absolute path to the SKILL.md file being validated. When provided, enables checks that depend on the surrounding directory (name ↔ folder match, references existence, body size).