Skip to content

TargetResourceCapability

PromptScript API


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

Properties

conditional?

readonly optional conditional?: boolean

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

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

Resource category and generated file contract.


path

readonly path: string

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

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


versions

readonly versions: readonly string[]

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

Formatter versions that can emit this resource.