Saltar al contenido principal

Plantillas de prompts reutilizables

Todos los niveles

Prompts listos para usar en tareas habituales. Emplean etiquetas XML para una estructura limpia e incorporan los hábitos de Fundamentos del prompting. Rellena las {llaves}.

Resumir (con base en el texto)

<instructions>
Summarize the document for {audience} in {N} bullet points. Use ONLY the document;
if something isn't there, say "not stated." Then list any action items.
</instructions>
<document>
{paste}
</document>

Esperado: viñetas concisas + tareas accionables. Fallo común: inventa hechos → la cláusula "ONLY the document" lo evita.

Extraer datos estructurados

Extract the following from the text as JSON: {field1, field2, field3}.
Return ONLY valid JSON, no prose. If a field is missing, use null.
<text>{paste}</text>

Combínalo con salida estructurada para mayor fiabilidad.

Reescribir / editar

Rewrite the text to be {clearer/shorter/more formal} without changing meaning.
Then list the changes you made as bullets.
<text>{paste}</text>

Revisión de código

Review this diff for correctness bugs, missing edge cases, and security issues.
Report ONLY high-confidence findings as a checklist with file:line. Diff:
<diff>{paste}</diff>

Ayuda para decidir

I'm deciding between {A} and {B} for {situation}. Build a trade-off table across
the criteria that matter, then recommend one and name the biggest risk.

Metaprompt (mejorar un prompt)

Here's my prompt: "{prompt}". Ask me the 3 questions that would most improve it,
then rewrite it with sensible defaults.

Envoltorio de rol + protección

You are {role}. {task}.
Constraints: {format, length, tone}. If you're unsure or lack info, say so rather
than guessing.

:::tip Hazlos tuyos Guarda los que más uses como comandos de barra o un Proyecto para no volver a escribirlos. :::

Siguiente