Skip to content

PromptScript API


Interface: TargetResourceCapability

Defined in: core/src/target-capabilities.ts:37

Properties

conditional?

readonly optional conditional?: boolean

Defined in: core/src/target-capabilities.ts:45

Whether the resource depends on a corresponding source block or setting.


kind

readonly kind: "commands" | "skills" | "agents" | "hooks" | "plugins" | "main" | "mcp"

Defined in: core/src/target-capabilities.ts:39

Resource category and generated file contract.


path

readonly path: string

Defined in: core/src/target-capabilities.ts:41

Relative path; <name> denotes a generated entry name.


versions

readonly versions: readonly string[]

Defined in: core/src/target-capabilities.ts:43

Formatter versions that can emit this resource.