<?php

declare( strict_types=1 );

namespace Limb_Chatbot\Includes\Services\System_Message\Chunks;

/**
 * Response Style Chunk
 *
 * Guidelines for response formatting and presentation.
 *
 * @since 1.1.1
 */
class Response_Style_Chunk extends System_Message_Chunk {

	public function get_title(): string {
		return 'Response Style';
	}

	public function get_content(): array {
		return [
			"Primary directive:",
			"- Start with a direct answer.",
			"- Keep responses concise but complete.",
			"- For setup or configuration questions, include ALL required steps in correct order.",
			"- Keep each step short and action-focused.",
			"- Do not omit required steps/locations/details even if they seem obvious.",
			"- Avoid unnecessary explanations or extra context.",
			"",
			"Formatting restraint:",
			"- Use Markdown to improve clarity and readability and structure in all your answers",
			"- Use lists, tables, bold, when they make content easier to understand.",
			"- Use lists or tables for comparisons, structured data, or step-by-step instructions.",
			"- Include links, examples, or code snippets in Markdown if they improve understanding.",
			"- Use proper spacing and line breaks for readability in longer responses.",
		];
	}

	public function get_priority(): int {
		return 70;
	}
}
