How this tool computes its result
normalizePrompt collapses \r\n to \n, trims every line, and removes consecutive blank lines, then four generators wrap that normalized text in different fixed scaffolds: "Structured" (ROLE/TASK/CONTEXT/CONSTRAINTS/OUTPUT FORMAT sections, where TASK is just the first line truncated to 80 characters), "ChatML" (<|system|>/<|user|>/<|assistant|> tags), "Claude XML" (<instructions><role><constraints><task> with each line indented), and "Gemini" style (SYSTEM INSTRUCTION / USER REQUEST / RESPONSE REQUIREMENTS). All four reuse the exact same generic role/constraint boilerplate text regardless of what the prompt is actually about.
