DevStudioIT

System prompt best practices

Keep instructions short, stable and testable.

Resposta direta

A good system prompt states role, hard constraints, output format and safety rules without stuffing huge examples that burn tokens every turn.

Passos praticos

  1. 1

    Put stable rules in the system prompt; put task specifics in the user message.

  2. 2

    Prefer checklists and schemas over essays.

  3. 3

    Use the prompt builder/checklist, then measure tokens.

Guias relacionadas

Perguntas frequentes

System prompt best practices

A good system prompt states role, hard constraints, output format and safety rules without stuffing huge examples that burn tokens every turn.

Are these official provider prices?

No. Guides and calculators are planning estimates. Always confirm billing with the provider.

Estas ferramentas de IA sao gratis?

Sim. Todas as ferramentas e a biblioteca de prompts sao gratis, sem registo. O site e financiado por anuncios.

Preciso de uma chave OpenAI ou Anthropic?

Nao. As ferramentas correm no navegador. Estimam custos e melhoram prompts com regras. Nao chamam uma API de modelo.