Skip to content

PromptScript API


Interface: SkillValidationOptions

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

Options for validateSkillFrontmatter.

Properties

existingNames?

optional existingNames?: ReadonlySet\<string>

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

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:45

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).