Skip to main content

GlobalPrompt

@a16njs/models


@a16njs/models / GlobalPrompt

Interface: GlobalPrompt

Defined in: types.ts:39

A global prompt that is always applied. Examples: CLAUDE.md, Cursor rules with alwaysApply: true

Extends

Properties

id

id: string

Defined in: types.ts:24

Unique identifier for this item

Inherited from

AgentCustomization.id


sourcePath

sourcePath: string

Defined in: types.ts:28

Original file path where this was discovered

Inherited from

AgentCustomization.sourcePath


content

content: string

Defined in: types.ts:30

The actual prompt/rule content

Inherited from

AgentCustomization.content


metadata

metadata: Record<string, unknown>

Defined in: types.ts:32

Tool-specific extras that don't fit the standard model

Inherited from

AgentCustomization.metadata


type

type: GlobalPrompt

Defined in: types.ts:40

The type of customization

Overrides

AgentCustomization.type