Skip to content

PromptScript API


Interface: NativeSkillOptions

Defined in: resolver/src/skills.ts:1786

Options for native skill resolution.

Properties

logger?

optional logger?: Logger

Defined in: resolver/src/skills.ts:1800

Logger for reporting skipped files and resolution decisions.


projectRoot?

optional projectRoot?: string

Defined in: resolver/src/skills.ts:1798

Project root the universal directory sits in. Without it the root is guessed as the parent of localPath, which only holds while localPath is the .promptscript directory.


universalDir?

optional universalDir?: string

Defined in: resolver/src/skills.ts:1792

Path to the universal directory for auto-discovering skills and commands. When set, skills are discovered from <universalDir>/skills/ and commands from <universalDir>/commands/. Defaults to undefined (disabled). Typically set to .agents.