mcp-adr-analysis-server
Version:
MCP server for analyzing Architectural Decision Records and project architecture
48 lines • 1.7 kB
TypeScript
/**
* Chain-of-Thought prompting template for MCP ADR Analysis Server
* Provides structured thinking patterns to reduce LLM confusion and improve accuracy
*/
export interface ChainOfThoughtConfig {
taskName: string;
steps: string[];
reasoningPattern?: 'sequential' | 'conditional' | 'exploratory' | 'analytical';
validationChecks?: string[];
errorHandling?: string[];
outputFormat?: string;
}
/**
* Generate Chain-of-Thought prompt section
*/
export declare function generateChainOfThoughtSection(config: ChainOfThoughtConfig): string;
/**
* Directory scanning specific Chain-of-Thought template
*/
export declare function generateDirectoryScanningCoT(): string;
/**
* Add Chain-of-Thought wrapper to existing prompts
*/
export declare function enhancePromptWithCoT(originalPrompt: string, config: ChainOfThoughtConfig): string;
/**
* Specific CoT patterns for different prompt types
*/
export declare const COT_PATTERNS: {
readonly PROJECT_ANALYSIS: {
readonly taskName: "project structure analysis";
readonly steps: string[];
readonly reasoningPattern: "analytical";
readonly validationChecks: string[];
};
readonly ADR_SUGGESTION: {
readonly taskName: "architectural decision recommendation";
readonly steps: string[];
readonly reasoningPattern: "exploratory";
readonly validationChecks: string[];
};
readonly RULE_GENERATION: {
readonly taskName: "architectural rule extraction";
readonly steps: string[];
readonly reasoningPattern: "analytical";
readonly validationChecks: string[];
};
};
//# sourceMappingURL=chain-of-thought-template.d.ts.map