Promptier: SDK de engenharia de prompts para Node.js

Promptier é um SDK de engenharia de prompts para Node.js que facilita a composição de prompts por meio do encadeamento de seções, reduzindo contradições entre fragmentos de prompts e evitando problemas de linting ao codificar instruções para agentes de IA.

4.5
9 usos
Copilot
Usar no Copilot
If you're like me and are creating ai agents in nodejs then you might have also felt the lack of proper tooling when it comes to creating prompts in code. I was debugging an agent that kept ignoring instructions. Took me 2 hours to find the problem: two fragments written months apart that contradicted each other. One said 'always explain your reasoning', the other said 'be brief, no explanations needed.' The prompt was 1800 tokens across 6 files - impossible to spot by eye. Figured if we lint code, we should lint prompts. For that reason i've created Promptier - https://github.com/DeanShandler123/promptier - Core SDK: Used to compose prompts by chaining sections for example: const agent = prompt('customer-support') .model('claude-sonnet-4-20250514') .identity('You are a customer support agent for Acme Inc.') .capabilities(['Access customer order history', 'Process refunds up to $100']) .constraints(['Never share conflicting instructions'])

Como Usar este Prompt

1

Clique no botão "Copiar Prompt" para copiar o conteúdo completo.

2

Abra sua ferramenta de IA de preferência (Copilot e etc.).

3

Cole o prompt e substitua as variáveis (se houver) com suas informações.

Compartilhe

Gostou deste prompt? Ajude outras pessoas a encontrá-lo!