How to write a system prompt
Safety, tools, format and persona in one place.
Resposta direta
A system prompt sets durable rules: persona, safety, tool use, and default output format for every turn.
Passos praticos
- 1
Keep it short enough to not burn the context window.
- 2
Be explicit about what the model must not do.
- 3
Test with the checklist and improver before shipping.
Guias relacionadas
Perguntas frequentes
How to write a system prompt
A system prompt sets durable rules: persona, safety, tool use, and default output format for 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.
More from DevStudioIT
Free apps that work together.
Tools
85 free browser tools for PDF, images, video and more.
tools.devstudioit.appTest
Free online hardware tests: keyboard, mouse, mic, camera and more.
test.devstudioit.appCV
Free online CV / resume builder with templates and PDF export.
cv.devstudioit.appDocs
Free invoices, quotes, contracts and receipts with PDF export.
docs.devstudioit.appCalc
Free online calculators: loan, VAT, salary, BMI, fuel and more.
calc.devstudioit.appLektor
Practice listening and language skills online.
lektor.devstudioit.app