# Tool: Tạo Prompt Phân Tích Dữ Liệu XML Cho Claude

> Thiết kế prompt Anthropic Claude sử dụng các thẻ XML có cấu trúc để phân tách dữ liệu ngữ cảnh, chỉ thị thực thi, ranh giới ràng buộc và định dạng đầu ra.

**Category**: prompts-writer | **Target AI Models**: Claude 3.5 Sonnet

## Domain Parameters:
- `xmlStructure` (select): Kiến Trúc Thẻ XML (Default: "Standard Anthropic")
- `preventHallucination` (toggle): Ranh Giới Chỉ Thị Triệt Tiêu Ảo Giác (Zero-Hallucination) (Default: "true")
- `outputTagFormat` (input): Thẻ XML Bao Bọc Đầu Ra (Default: "<json_response>")

## Master Prompt Engineering Architecture (5 Pillars):
1. **Role & Persona**: Domain expert framing
2. **Task & Deliverable**: Primary objective & constraints
3. **Context & Parameters**: Technical specs & camera/stack parameters
4. **Negative Constraints**: Forbidden artifacts & bad practices
5. **Output Spec**: Section formatting & XML/Markdown structure

## Programmatic API Execution:
```http
POST /api/generate-prompt
Content-Type: application/json

{
  "toolSlug": "write-prompt-for-claude-xml-data-parsing",
  "rawPrompt": "Your raw concept here",
  "thinkingLevel": "HIGH"
}
```
