Formattatore da Markdown a Prompt Strutturato
Converti appunti e file markdown in tag XML per Claude e prompt strutturati per ChatGPT.
Formattatore da Markdown a Prompt
Formatta documenti Markdown in prompt con tag XML pronti per Claude e ChatGPT con supporto context caching.
<instructions>
Implement this specification as clean, production-grade code.
</instructions>
<context>
<document path="docs/auth-middleware.md">
# Authentication Middleware Specification
The application enforces JWT-based authentication across all API endpoints under `/api/v1/*`.
## Requirements
- Validate the `Authorization: Bearer <token>` header.
- If expired or invalid, return HTTP 401 Unauthorized with error code `AUTH_TOKEN_EXPIRED`.
- Extract user roles (`admin`, `member`, `viewer`) and attach to request context.
### Example Token Payload:
```json
{
"sub": "usr_9482918",
"email": "dev@company.com",
"role": "admin",
"exp": 1726000000
}
```
## Edge Cases:
1. Missing Authorization header completely.
2. Malformed token string without the Bearer prefix.
</document>
</context>
<task>
Please proceed with the implementation, adhering strictly to the provided context and requirements.
</task>Panoramica
Formatta file markdown in prompt ottimizzati con tag XML per Claude e OpenAI.
Markdown to Prompt Formatter Guide
Pasting unstructured notes into LLMs often leads to instructions blending into background data.
Claude 3.5 operates with peak precision when inputs are cleanly delineated via semantic XML tags like <context> and <guidelines>.
This tool converts standard Markdown documents into prompt architectures tailored for Claude, Cursor, and ChatGPT.
How to Format Markdown for AI Prompts
Veloce & IntuitivoInput Markdown
Paste documentation, notes, or technical specs into the editor.
Choose Output Architecture
Select Claude XML, Cursor Task Spec, or Sectioned Prompt.
Copy Prompt
Transfer the formatted architecture into your AI workflow.
Caratteristiche Principali e Vantaggi
Nessun caricamento su server. Tutto resta sicuro sul tuo computer o telefono.
Risultati immediati senza code di download o upload.
Nessuna registrazione richiesta e nessun costo nascosto.
Esperienza fluida su smartphone, tablet e PC desktop.
Elaborazione dati rapida e sicura conforme agli standard web moderni.
- Place the final user question at the very end after the closing XML context tag.
- Use nested tags like <document id="1"> when providing multiple reference sources.
Domande Frequenti
2 Domande e RisposteWhy does Claude prefer XML tags?
Anthropic pre-trained Claude to treat XML structures as clear semantic boundaries, preventing instruction drift.
Can this be used for RAG pipelines?
Yes, wrapping retrieved document chunks into XML tags improves generation faithfulness.
Strumenti Correlati
Editor e Anteprima Markdown
Editor Markdown veloce con anteprima in tempo reale ed esportazione PDF.

