Skip to main content

ManualPrompt

@a16njs/models


@a16njs/models / ManualPrompt

Interface: ManualPrompt

Defined in: types.ts:140

A manually-invoked prompt (slash command or skill with disable-model-invocation). Examples: Cursor commands in .cursor/commands/, skills with disable-model-invocation: true

These prompts are only activated when explicitly invoked by the user.

Extends

Properties

id

id: string

Defined in: types.ts:31

Unique identifier for this item

Inherited from

AgentCustomization.id


version

version: string

Defined in: types.ts:35

IR version (required, e.g., 'v1beta1')

Inherited from

AgentCustomization.version


sourcePath?

optional sourcePath: string

Defined in: types.ts:37

Original file path where this was discovered (optional, omitted in IR format)

Inherited from

AgentCustomization.sourcePath


relativeDir?

optional relativeDir: string

Defined in: types.ts:39

Relative directory path for preserving directory structure (optional)

Inherited from

AgentCustomization.relativeDir


content

content: string

Defined in: types.ts:41

The actual prompt/rule content

Inherited from

AgentCustomization.content


metadata

metadata: Record<string, unknown>

Defined in: types.ts:43

Tool-specific extras that don't fit the standard model (transient, not serialized in IR)

Inherited from

AgentCustomization.metadata


type

type: ManualPrompt

Defined in: types.ts:141

The type of customization

Overrides

AgentCustomization.type


promptName

promptName: string

Defined in: types.ts:143

Prompt name for invocation (e.g., "review" for /review)