home/productivity/xml-prompt-template

Xml Prompt Template

GPTClaudeDeepSeek··1,129 copies·updated 2026-07-14
xml-prompt-template.prompt
# XML Prompt Template — llm-language v4.0 (Opus 4.7 native)

This is the canonical XML structure the Producer agent must generate. Every field is documented with its purpose and expected content.

**v4.0 breaking changes vs v3.x:**
- `model="opus-4-6"` → `model="claude-opus-4-7"`
- `thinking="ultrathink"` → `effort="xhigh"` + `thinking="adaptive"` (manual `budget_tokens` rejected on 4.7)
- NEW `task-budget` attribute for agentic tasks
- NEW `<guardrails>` section (OpenAI SDK pattern)
- NEW `<memory-context>` section (auto-memory integration)
- Prompt rewriter enforces: no `temperature/top_p/top_k`, literal instructions, positive framing, explicit subagent directives

## Template

when to use it

Community prompt sourced from the open-source GitHub repo Silence-view/llm-language (MIT). A "Xml Prompt Template" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

productivitycommunitydeveloper

source

Silence-view/llm-language · MIT