aiwg
Version:
Deployment tool and support utility for AI context. Copies agents, skills, commands, rules, and behaviors into the paths each AI platform reads (Claude Code, Codex, Copilot, Cursor, Warp, OpenClaw, and 6 more) so one source of truth works across 10 platfo
61 lines • 1.53 kB
TypeScript
/**
* Prompt Template Library
*
* Pre-optimized prompt templates that incorporate AIWG principles.
* Templates are designed to produce authentic, human-like output by including
* specific constraints, examples, and voice guidance.
*/
export interface PromptTemplate {
id: string;
name: string;
category: 'technical' | 'academic' | 'executive' | 'creative';
template: string;
variables: string[];
example: string;
principles: string[];
}
export interface TemplateVariables {
[key: string]: string;
}
/**
* Prompt Template Library
*/
export declare class PromptTemplateLibrary {
private templates;
constructor();
/**
* Get template by ID
*/
getTemplate(id: string): PromptTemplate | undefined;
/**
* List templates by category
*/
listByCategory(category: string): PromptTemplate[];
/**
* Search templates by keyword
*/
search(query: string): PromptTemplate[];
/**
* Instantiate template with values
*/
instantiate(templateId: string, values: TemplateVariables): string;
/**
* List all templates
*/
listAll(): PromptTemplate[];
/**
* Add custom template
*/
addTemplate(template: PromptTemplate): void;
/**
* Remove template
*/
removeTemplate(id: string): boolean;
/**
* Load built-in templates
*/
private loadBuiltInTemplates;
private addCreativeTemplates;
private addExecutiveTemplates;
}
//# sourceMappingURL=prompt-templates.d.ts.map