Skip to content

TargetConfig

PromptScript API


Defined in: compiler/src/types.ts:129

Configuration for a single target.

Properties

convention?

optional convention?: string

Defined in: compiler/src/types.ts:135

Output convention (‘xml’, ‘markdown’, or custom name)


enabled?

optional enabled?: boolean

Defined in: compiler/src/types.ts:131

Whether this target is enabled


excludeAgents?

optional excludeAgents?: string[]

Defined in: compiler/src/types.ts:166

Agent names never emitted for this target.


guardsAsSkills?

optional guardsAsSkills?: boolean

Defined in: compiler/src/types.ts:151

Generate skills from

Guards

named entries (Factory).

Default

true

guardsSkillsListing?

optional guardsSkillsListing?: boolean

Defined in: compiler/src/types.ts:154

List generated guard skills in main output file (Factory).

Default

true

includeAgents?

optional includeAgents?: boolean | string[]

Defined in: compiler/src/types.ts:163

Controls which agents are emitted for this target.


includeSkills?

optional includeSkills?: boolean | string[]

Defined in: compiler/src/types.ts:160

Controls which skills are emitted for this target.


output?

optional output?: string

Defined in: compiler/src/types.ts:133

Custom output path


rulesMode?

optional rulesMode?: FactoryRulesMode

Defined in: compiler/src/types.ts:148

Factory always-on rules output mode. Split mode requires Factory’s multifile or full version.

Default

'monolith'

skillBaseDir?

optional skillBaseDir?: string

Defined in: compiler/src/types.ts:157

Custom base directory for generated skill files.


version?

optional version?: string

Defined in: compiler/src/types.ts:141

Target version or format variant. Use ‘legacy’ for deprecated formats.

Example

'legacy' | '1.0' | '2.0'