/** * Layer 2: Agent prompt builder. * * Constructs the full prompt string for the Claude Code CLI subprocess. * The prompt includes task details, developer notes, project context, * mode-specific rules, structured marker instructions, and verification steps. * * This module does not import from Layer 1. */ import type { ProjectContext } from './context-generator.js'; export interface PromptInput { task: { type: string; priority: string; description: string; route: string | null; elementSelector: string | null; publicId: number; }; adminNotes: string | null; context: ProjectContext; config: { requireTestsForBugs: boolean; createPR: boolean; }; } /** * Build the full agent prompt from structured input. * * The returned string is passed directly to the Claude Code CLI as the * prompt argument. It contains all the context the agent needs to * understand and implement the task. */ export declare function buildAgentPrompt(input: PromptInput): string; /** * Generate a kebab-case branch slug from a task description. * * Converts to lowercase, replaces non-alphanumeric characters with hyphens, * collapses consecutive hyphens, takes the first ~40 characters, and trims * trailing hyphens. */ export declare function generateBranchSlug(description: string): string; //# sourceMappingURL=prompt-builder.d.ts.map