UNPKG

remcode

Version:

Turn your AI assistant into a codebase expert. Intelligent code analysis, semantic search, and software engineering guidance through MCP integration.

55 lines (54 loc) 1.65 kB
import { CodingGuideline } from './guidelines'; /** * Prompt types supported by the system - Complete set of 13 software engineering scenarios */ export declare enum PromptType { DEFAULT = "default", REFACTORING = "refactoring", NEW_FEATURE = "new_feature", BUG_FIXING = "bug_fixing", PERFORMANCE = "performance", SECURITY = "security", TESTING = "testing", CODE_REVIEW = "code_review", ARCHITECTURE = "architecture", DOCUMENTATION = "documentation", DEPLOYMENT = "deployment", MAINTENANCE = "maintenance", LEARNING = "learning" } /** * Interface for prompt configuration */ export interface PromptConfig { includeGuidelines?: boolean; detailLevel?: 'minimal' | 'standard' | 'detailed'; codeContext?: string; teamPreferences?: Record<string, string>; maxLength?: number; } /** * Default prompt configuration */ export declare const defaultPromptConfig: PromptConfig; /** * Software Engineering Prompts implementation */ export declare class SWEPrompts { /** * Get the default software engineering prompt with Remcode MCP integration guidance */ getDefaultPrompt(): string; /** * Get a prompt for a specific scenario with code context */ getContextAwarePrompt(scenario: PromptType | string, config?: PromptConfig): string; /** * Get scenario-specific guidance with Remcode MCP tool recommendations */ private getScenarioGuidance; /** * Generate a prompt that includes specific guidelines */ getPromptWithGuidelines(scenario: PromptType, guidelines: CodingGuideline[], config?: PromptConfig): string; }