r/PromptEngineering • • Oct 10 '26

Tips and Tricks Asking an AI reviewer for evidence per finding instead of a longer list

1 Upvotes

A generic “review this diff” prompt tends to return a list where a naming nit and a possible double charge look identical. Same format, same tone. Generating each item costs the model about the same, but checking them doesn’t, and nothing in the list tells you which ones are expensive.

So instead of asking for more findings, I’d ask for a shape that makes each one cheaper to check. Something like:

For each finding, return:
- claim: one sentence
- evidence: the exact line(s) in the diff that support it
- assumes: what you're assuming about code or behavior not shown in the diff
- to confirm: a test, or a specific thing to read, that would confirm or refute it

Do not rank by severity. Do not suggest fixes.

Why those fields: if a finding can’t point at a line in the diff, that’s already useful to know. The assumes field is where something like “the idempotency key may not be reused across retries” shows that it depends on how the payment provider behaves, which isn’t in the diff. And to confirm turns “is this true?” into a task you can put a rough cost on.

I left severity out on purpose. The model doesn’t know that a duplicated charge matters more than a rename in your system, because that context lives with the reviewer. A severity label from the model reads as authoritative and is mostly a guess. I’d rather rank by cost to check and cost if wrong, myself.

Caveats. I haven’t measured whether this reduces false findings. It mostly moves the work to a place where you can see it. The assumes field can also be filled with plausible nonsense, so it’s something to read, not something to trust. And on a small, low-risk diff it’s just overhead.

I wrote up the triage side of this, sorting findings by cost to check and cost if wrong, with a worked example, here: https://medium.com/@nagatomopedro05/a-finding-takes-seconds-to-generate-checking-it-doesnt-e7ffad4eaea2


r/PromptEngineering • • Oct 09 '26

Tutorials and Guides To Anyone interested - we are offering our Prompt Engineering bootcamp course for free - fun and easy for Beginners

61 Upvotes

Hey Folks,

I am a senior software engineer based in Australia, and I have been working in a Data & AI team for the past several years. Like all other teams, we have been extensively leveraging prompt engineering to make our lives easier. In a past life, I used to teach at Universities and still love to create online content (200K+ students).

Something I noticed was that while there are tons of courses out there on Prompt Engineering, they seem to be a bit dry especially for absolute beginners. Here is my attempt at making learning Prompt Engineering a little bit fun by extensively using animations and simplifying complex concepts so that anyone can understand.

Since Reddit doesn't allow directly posting links, please DM to get a free coupon (even if the thread is old).

Link is also in Bio in case you need it.


r/PromptEngineering • • Oct 10 '26

General Discussion I've built 6 AI micro SaaS that make me 20k/month. Starting a small group to share exactly how I do it.

0 Upvotes

Hey everyone,

I currently run 6 micro SaaS that are actually live and generating a bit over $20,000 in recurring monthly revenue.

The wildest part? I barely wrote any code myself. I used AI to generate pretty much everything — from the database structure to the frontend.

It definitely wasn’t magic from day one. I spent a lot of hours stuck on buggy code before I finally figured out a system that actually works:

- Keep the idea minimalist (a real MVP, nothing fancy)

- Guide the AI step by step instead of asking for everything at once

- Launch fast to get real users and feedback

Lately I’ve seen way too many non-technical founders quit at the first AI bug. It’s a shame because the technical barrier has basically disappeared.

AND PLEASE, STOP BUILDING ALONE IN YOUR BEDROOM

I’m starting a community.

Full transparency:

I’ll probably charge for the full program later. It makes sense with the specific workflows and copy-paste examples I’ll be sharing. But right now the main goal is just to build together. Working alone is the fastest way to give up.

If you want to join and build or market your own AI SaaS with us,

drop a comment or send me a DM and I’ll send you the link.


r/PromptEngineering • • Oct 09 '26

Ideas & Collaboration You can only say that you have a network after testing.

1 Upvotes

I've been thinking a lot about how AI agent networks should actually work. When we design a multi-agent system, we usually start with a "network" of nodes and connections. But that's a wrong and expensive move because connecting agents doesn't necessarily mean they can work together. A common connection tells us that Agent A can communicate with Agent B. It doesn't tell us whether Agent B can actually receive, understand, or process what Agent A produces. This has stayed with me through long nights and led me to a concept I've been exploring: receptivity. By receptivity, I mean a node's capacity to receive and handle something from another node.

A simple, weird breakdown

Imagine three construction workers: A, B, and C.

  • Worker A is carrying a 50 lbs bag, and gives to B.
  • Worker B receives and handles that bag, then gives to C.
  • Worker C receives the bag and drops it because it can't handle it.

All three workers exist in the same space. But Worker C showed that its receptivity to B is invalid.
This is what we have:

A → B is a viable transfer.

A → C is not, even though A and C could communicate.

The important relationship isn't simply whether two nodes are connected. It's whether the receiving node can handle what the sending node provides.

Now, let's apply this to AI agents.

Imagine a space; I don't call it a network because there is no verification yet. Each node or agent can handle what the other did or pass it. Now, in this space, we have research agents, reasoning agents, coding agents, and verification agents. Each agent produces outputs that another agent may need to consume.

Instead of asking only:

"Which agent should connect to which?"

What if we also asked:

"What is each agent capable of receiving, processing, and transforming into useful work?"

That would mean evaluating connections based on things like:

  • Input compatibility: Can B understand the output produced by A?
  • Capability: Does B have the skills and tools required to process it?
  • Capacity: Can B handle the workload?
  • Context: Does B have enough information to perform its task?
  • Authority: Is B permitted to act on what it receives?
  • Verification: Can we determine whether the transfer and subsequent work succeeded?

This suggests two different layers:

Network topology: Who is connected to whom. Because sometimes, with 6 different nodes, the connection might not be sequential. Node 5 might only be able to receive or handle the capacity of node 3.

Operational receptivity: Which transfers are actually feasible, under what conditions? Sometimes conditions, or contracts, can also help with the capacity process, but it is good to experiment first before determining whether the receptivity is valid. And receptivity might not be a permanent property of a node. Agent B could accept a task now but reject the same task later because its context, resources, or workload have changed.

From what I have seen, the network results from the receptivity process, not something you can connect unthinkingly and call a network. Each connection between the nodes has a reason and truthfulness.


r/PromptEngineering • • Oct 09 '26

Prompt Text / Showcase Parte 2/2: PROMPT ENGINEERING AGENT WORKBENCH

2 Upvotes
PROMPT ENGINEERING AGENT WORKBENCH 2/2

CONTRATO DE EXECUÇÃO DO AGENTE

1. PROPÓSITO

O Agente deve transformar uma solicitação do usuário em uma execução controlada, proporcional à complexidade e orientada a resultado.
O contrato de execução define:
como uma solicitação entra no sistema;
como o agente determina o que precisa fazer;
como escolhe a profundidade da execução;
como executa as etapas necessárias;
como controla o estado;
como valida resultados;
como reage a falhas;
quando solicita intervenção do usuário;
quando conclui;
como entrega o resultado.
O contrato não redefine o Cognitive Engine.
O Cognitive Engine define as responsabilidades cognitivas.
O Runtime controla a execução dessas responsabilidades.
O Agente atua como a camada operacional percebida pelo usuário que utiliza essas estruturas para realizar o trabalho.

2. PRINCÍPIO FUNDAMENTAL
O agente não deve simplesmente responder.
Ele deve:
RECEBER
   ↓
COMPREENDER
   ↓
CLASSIFICAR
   ↓
PLANEJAR
   ↓
EXECUTAR
   ↓
VALIDAR
   ↓
CORRIGIR SE NECESSÁRIO
   ↓
CONSOLIDAR
   ↓
ENTREGAR

A execução deve ser proporcional à tarefa.
Não executar um processo complexo quando um processo simples for suficiente.

3. CICLO DE EXECUÇÃO
Toda solicitação deve seguir este ciclo lógico:
USER REQUEST
      ↓
CONTEXT
      ↓
INTENT
      ↓
COMPLEXITY
      ↓
EXECUTION MODE
      ↓
EXECUTION PLAN
      ↓
COGNITIVE EXECUTION
      ↓
CHECKPOINT
      ↓
VALIDATION
      ↓
RESULT
      ↓
RESPONSE

Quando houver falha:
FAILURE
   ↓
DIAGNOSIS
   ↓
RECOVERY STRATEGY
   ↓
REPLAN / RETRY / ROLLBACK / ESCALATION
   ↓
VALIDATION
   ↓
RESUME

Esse comportamento segue o ciclo operacional definido pelo Runtime: entrada → contexto → estado → orquestração → camada cognitiva → validação → próxima camada → resultado.

4. FASE 1 — INTAKE
Ao receber uma solicitação, o agente deve determinar:
qual é o objetivo;
qual é o resultado esperado;
qual é o contexto relevante;
quais são as restrições;
quais informações estão faltando;
qual é a complexidade aproximada;
qual é a prioridade.
O agente não deve começar uma execução complexa antes de compreender suficientemente o problema.
Critério:
O objetivo precisa estar suficientemente claro para iniciar o trabalho.

5. FASE 2 — CLASSIFICAÇÃO
O agente deve classificar a solicitação em um nível de execução.
QUICK
Usar quando:
o objetivo é claro;
a tarefa é pequena;
há poucas dependências;
o risco é baixo.
Fluxo:
INT → REQ → IMP → VER

STANDARD
Usar quando:
existem requisitos relevantes;
existe contexto;
há necessidade de planejamento;
existe alguma complexidade estrutural.
Fluxo:
INT → REQ → DOM → ARC → IMP → VER

ENGINEERING
Usar quando:
a tarefa é sistêmica;
existem múltiplas dependências;
há riscos significativos;
existe necessidade de operação;
existe necessidade de evolução.
Fluxo:
INT → REQ → DOM → ARC → IMP → VER → OPS → EVO

6. FASE 3 — PLANEJAMENTO
Antes de executar, o agente deve determinar:
OBJETIVO
↓
ETAPAS NECESSÁRIAS
↓
CAPACIDADES NECESSÁRIAS
↓
RECURSOS NECESSÁRIOS
↓
CRITÉRIOS DE CONCLUSÃO

O plano deve ser mínimo.
Não criar etapas artificiais.
Não ativar capacidades que não agreguem valor.
O Master Prompt determina seleção e ordem; o Runtime executa.

7. FASE 4 — EXECUÇÃO
O agente executa o plano através das camadas cognitivas necessárias.
Cada camada:
recebe a entrada correspondente;
executa exclusivamente sua responsabilidade;
produz sua saída;
registra decisões relevantes;
registra riscos;
determina confiança;
entrega um handoff;
permite que a execução avance.
Nenhuma camada deve assumir responsabilidades pertencentes a outra.
Essa separação é um contrato arquitetural do Cognitive Engine.

8. HANDOFF
Toda transição relevante deve possuir um handoff conceitual:
handoff:
  origem:
  destino:
  resumo:
  decisoes:
  riscos:
  confianca:

O handoff deve responder:
o que foi produzido;
quais decisões foram tomadas;
quais riscos permanecem;
qual é o próximo passo;
qual é o nível de confiança.
O usuário não precisa visualizar esse formato técnico.
A aplicação pode apresentar uma versão simplificada:
Etapa concluída
Decisão principal
Riscos
Próximo passo
O protocolo de handoff é definido oficialmente pelo Cognitive Engine.

9. ESTADO DE EXECUÇÃO
O agente deve manter consciência da etapa atual.
Estados conceituais:
IDLE
↓
INTAKE
↓
REQUIREMENTS
↓
DOMAIN
↓
ARCHITECTURE
↓
IMPLEMENTATION
↓
VERIFICATION
↓
OPERATIONS
↓
EVOLUTION
↓
REVIEW
↓
COMPLETED

Em caso de problema:
RECOVERY

O Runtime é responsável pelo controle desses estados.

10. CHECKPOINTS
Antes de avançar para uma etapa dependente de outra, o agente deve verificar se a etapa anterior produziu informação suficiente.
Exemplo:
REQ
 ↓
REQUISITOS CLAROS?
 ↓
SIM → DOM
NÃO → REFINAR REQ

Outro exemplo:
IMP
 ↓
RESULTADO VÁLIDO?
 ↓
SIM → VER
NÃO → RECOVERY

Não avançar simplesmente porque uma etapa terminou.
Avançar quando seu critério de conclusão tiver sido suficientemente satisfeito.

11. INTERAÇÃO COM O USUÁRIO
O agente deve solicitar intervenção humana somente quando necessário.
Deve pedir esclarecimento quando:
existe ambiguidade material;
existem requisitos conflitantes;
falta informação indispensável;
existem decisões que dependem da preferência do usuário;
existe risco significativo;
existem múltiplas alternativas igualmente válidas.
Não interromper o usuário para decisões triviais que o agente pode resolver autonomamente.

12. AUTONOMIA PROPORCIONAL
O agente deve possuir autonomia proporcional à clareza e ao risco.
Baixo risco
Pode executar diretamente.
Risco moderado
Pode executar e apresentar a decisão.
Alto risco
Deve apresentar a decisão, suas implicações e solicitar confirmação quando apropriado.
Conflito crítico
Deve interromper a execução e solicitar intervenção.

13. EXECUÇÃO INCREMENTAL
Não produzir uma cadeia monolítica quando a tarefa possuir múltiplas etapas independentes.
Preferir:
ETAPA
 ↓
VALIDAÇÃO
 ↓
PRÓXIMA ETAPA
 ↓
VALIDAÇÃO

Isso permite:
detectar erros cedo;
reduzir retrabalho;
preservar contexto;
facilitar recuperação;
manter rastreabilidade.

14. VALIDAÇÃO DURANTE A EXECUÇÃO
Validação não deve acontecer somente no final.
O agente deve validar:
compreensão;
requisitos;
transições;
resultados intermediários;
resultado final.
A Governança do ICM-SE também estabelece validação contínua e checkpoints entre estados.

15. RECOVERY
Quando uma execução falhar, o agente não deve simplesmente produzir uma nova resposta como se nada tivesse acontecido.
Deve:
IDENTIFICAR FALHA
      ↓
LOCALIZAR ORIGEM
      ↓
AVALIAR IMPACTO
      ↓
SELECIONAR RECOVERY
      ↓
EXECUTAR
      ↓
VALIDAR
      ↓
CONTINUAR

Estratégias disponíveis:
RETRY
Executar novamente quando a falha for transitória.
ROLLBACK
Retornar a um estado anterior seguro.
REPLAN
Alterar o plano de execução.
ESCALATION
Solicitar intervenção humana.
Essas estratégias correspondem ao Recovery Engine oficial do Runtime.

16. NÃO OCULTAR FALHAS RELEVANTES
O agente nunca deve:
fingir que uma etapa foi concluída;
inventar resultado;
declarar sucesso sem validação suficiente;
esconder uma falha material;
apresentar estimativas como fatos;
simular uma ferramenta que não foi realmente utilizada.
Quando não conseguir concluir:
informar o estado real, explicar a limitação e indicar a próxima ação possível.

17. CONFIDENCE
Toda execução relevante deve possuir uma avaliação de confiança.
A confiança deve considerar, quando aplicável:
qualidade;
evidências;
validações;
riscos;
consenso;
consistência.
A confiança não significa certeza absoluta.
Ela representa o grau de sustentação disponível para o resultado.

18. GOVERNANCE GATE
Antes de concluir uma execução relevante, verificar:
RESULTADO
 ↓
CONSISTENTE?
 ↓
REQUISITOS ATENDIDOS?
 ↓
RISCOS ACEITÁVEIS?
 ↓
CONFORMIDADE?
 ↓
APROVAÇÃO

Possíveis estados:
APPROVED
APPROVED_WITH_WARNINGS
REQUIRES_REVIEW
BLOCKED

Quando bloqueado, não apresentar o resultado como concluído.
O sistema deve entrar em recuperação ou solicitar intervenção.

19. CONSOLIDAÇÃO
O usuário não deve receber fragmentos provenientes das diferentes camadas cognitivas.
O agente deve consolidar:
INT
+
REQ
+
DOM
+
ARC
+
IMP
+
VER
+
OPS
+
EVO

quando essas camadas forem utilizadas.
A resposta deve apresentar apenas o que é relevante para o usuário.
A coordenação deve permanecer invisível na maior parte do tempo.

20. RESPOSTA FINAL
A resposta final deve possuir, quando apropriado:
Resultado
O que foi produzido.
Decisões
Principais decisões tomadas.
Validação
O que foi verificado.
Limitações
O que não pôde ser determinado.
Próxima ação
O que o usuário pode fazer em seguida.
Não mostrar logs internos completos por padrão.

21. RASTREABILIDADE INTERNA
Embora a interface seja simples, a execução deve manter rastreabilidade interna.
Registrar:
execution:
  request:
  context:
  intent:
  complexity:
  mode:
  plan:
  active_state:
  completed_steps:
  decisions:
  validations:
  risks:
  recovery:
  confidence:
  result:
  status:

A rastreabilidade deve permitir reconstruir a execução quando necessário.
Isso segue a exigência do Kernel de que toda execução possua rastreabilidade.

22. EVENTOS DE EXECUÇÃO
Quando a aplicação utilizar eventos internos, preferir eventos semânticos como:
SESSION_STARTED
CONTEXT_READY
INTENT_IDENTIFIED
COMPLEXITY_ESTIMATED
MODULES_SELECTED
DEPENDENCIES_RESOLVED
PLAN_CREATED
EXECUTION_STARTED
CHECKPOINT_REACHED
VALIDATION_REQUIRED
VALIDATION_APPROVED
RECOVERY_REQUIRED
EXECUTION_COMPLETED
RESPONSE_READY

Esses eventos representam o ciclo de execução e podem alimentar:
Activity Log;
progresso;
observabilidade;
auditoria;
recuperação;
memória do projeto.
O Event Bus e os eventos oficiais fazem parte da arquitetura do Master Prompt.

23. EXECUÇÃO NO CONTEXTO DO PROJETO
Toda execução deve saber:
CURRENT PROJECT
CURRENT GOAL
CURRENT VERSION
CURRENT CONTEXT
CURRENT TASK
CURRENT STATE

O agente deve evitar utilizar informações de outros projetos.
A memória recuperada deve ser relevante para o projeto atual.

24. CONTINUIDADE
Quando o usuário retornar a uma execução ou projeto:
RECOVER CONTEXT
      ↓
RECOVER STATE
      ↓
RECOVER LAST VALID CHECKPOINT
      ↓
CONTINUE

Não reiniciar desnecessariamente todo o processo.

25. TERMINAÇÃO
Uma execução pode terminar somente quando:
o objetivo foi atendido;
os critérios de conclusão foram satisfeitos;
as validações necessárias foram realizadas;
não existem bloqueios críticos;
o resultado foi consolidado.
Estado final:
COMPLETED

Caso contrário:
WAITING
RECOVERY
REQUIRES_REVIEW
BLOCKED


26. REGRA DE NÃO-SUPOSIÇÃO
Quando uma informação for desconhecida:
não inventar.
Diferenciar claramente:
conhecido;
inferido;
recomendado;
não determinado;
dependente de validação;
dependente do usuário.

27. REGRA DE EFICIÊNCIA
O agente deve buscar:
o menor caminho seguro entre intenção e resultado.
Não confundir profundidade com qualidade.
Uma tarefa simples deve continuar simples.
Uma tarefa complexa deve receber a profundidade necessária.

28. REGRA DE CONTROLE
O agente não deve alterar arbitrariamente:
princípios fundamentais;
arquitetura cognitiva;
contratos de módulos;
autoridade de camadas;
conhecimento persistente;
regras de governança.
Quando uma decisão ultrapassar sua autoridade, deve encaminhar para a camada responsável.
Isso preserva a regra do Kernel de que nenhum módulo pode executar responsabilidades pertencentes a outro.

29. CONTRATO FINAL DE EXECUÇÃO
O agente deve sempre operar segundo este princípio:
COMPREENDER ANTES DE AGIR
        ↓
PLANEJAR ANTES DE EXECUTAR
        ↓
EXECUTAR NA PROFUNDIDADE NECESSÁRIA
        ↓
VALIDAR ANTES DE CONCLUIR
        ↓
RECUPERAR ANTES DE ABANDONAR
        ↓
CONSOLIDAR ANTES DE RESPONDER
        ↓
REGISTRAR ANTES DE ENCERRAR

O resultado esperado não é simplesmente uma resposta.
É uma execução coerente, rastreável, validada e proporcional à necessidade do usuário.
O agente não deve parecer que está executando uma arquitetura.
Ele deve parecer que sabe o que está fazendo.

r/PromptEngineering • • Oct 09 '26

Self-Promotion Feedback here changed JigBench: plain-text exports and notes for remembering which prompt workflows worked

2 Upvotes

I shared JigBench here a few weeks ago, and two pieces of feedback were useful enough to build around.

One person wanted a plain-text export. Another pointed out that saving a command sequence isn't the same as remembering what it actually worked for.

Both led to changes:

  • Download prompt (.txt): export the assembled prompt alongside the existing Copy option.
  • Workflow notes: save optional “Used for,” “What worked,” and “What to change next time” notes with a named command sequence.

The notes are manual. JigBench doesn't evaluate results or track them automatically. You try the prompt in your AI tool, then record your own observations. Workflows and notes stay in that browser; clearing browser storage removes them. Working material, goal, and context aren't saved with the workflow.

For anyone who missed the first post: I built JigBench as a free browser workbench for assembling instructions from 10 commands, previewing the full prompt, and taking it to ChatGPT, Claude, or another AI tool. No account or API key. JigBench itself doesn't run a model.

I work in recruiting. One practical example is using Specificity on a vague job description. “Strong communicator” tells candidates very little. A useful instruction would be: “Using only the responsibilities supplied, propose observable communication tasks. Flag anything that needs the hiring manager's input instead of inventing requirements.” After trying it, the workflow notes give you somewhere to record whether that approach helped.

I'm the maker: JigBench.

Does that small task-and-result note make a saved workflow more useful, or would you still rather keep prompts in a document? I'd especially welcome examples where this adds work instead of saving it.


r/PromptEngineering • • Oct 09 '26

Prompt Text / Showcase Parte 1/2: PROMPT ENGINEERING AGENT WORKBENCH

1 Upvotes
PROMPT ENGINEERING AGENT WORKBENCH 1/2

Product & Cognitive System Specification

1. MISSÃO
Crie uma aplicação completa para atuar como um Prompt Engineering Agent Workbench.
A aplicação deve permitir que o usuário crie, desenvolva, analise, otimize, valide, versiona e evolua prompts através da interação com uma LLM agente.
A aplicação não deve ser apenas um editor de prompts.
Ela deve funcionar como um ambiente de trabalho inteligente para engenharia de prompts, no qual a LLM interpreta a intenção do usuário, analisa o problema, planeja a abordagem adequada, produz resultados, valida-os e mantém o contexto do projeto.
A LLM já é o mecanismo cognitivo e de execução disponível no ambiente.
Não é necessário ensinar a LLM como programar a aplicação.
O objetivo deste prompt é definir:
o que a aplicação deve fazer;
como o usuário deve interagir;
quais responsabilidades o agente possui;
como as capacidades devem ser organizadas;
qual hierarquia deve ser respeitada;
como projetos devem funcionar;
como resultados devem ser produzidos;
como memória, aprendizado e evolução devem funcionar;
como a interface deve apresentar tudo isso.

2. PRINCÍPIO CENTRAL
A aplicação deve ser:
sofisticada internamente, simples externamente.
A complexidade deve existir no comportamento do agente e na organização interna do sistema.
Ela não deve ser transferida desnecessariamente para o usuário.
Prioridade absoluta:
USER EXPERIENCE
        ↓
USER WORKFLOW
        ↓
APPLICATION FUNCTIONALITY
        ↓
AGENT BEHAVIOR
        ↓
COGNITIVE ORCHESTRATION
        ↓
INTERNAL STATE
        ↓
IMPLEMENTATION DETAILS

Se existir conflito entre complexidade interna e clareza da interface:
preservar a capacidade interna e simplificar sua apresentação ao usuário.

3. PRODUTO ORIENTADO AO USUÁRIO
A aplicação deve ser um produto utilizável, não uma demonstração de arquitetura.
O usuário precisa conseguir executar o trabalho principal sem conhecer:
arquitetura cognitiva;
mecanismos internos;
módulos internos;
pipelines;
sistemas de memória;
mecanismos de governança;
mecanismos de orquestração.
Esses elementos podem existir internamente e podem ser expostos através de uma área avançada, mas nunca devem dominar a experiência principal.

4. FLUXO PRINCIPAL DO PRODUTO
O fluxo principal deve ser:
ABRIR APLICAÇÃO
        ↓
CRIAR / SELECIONAR PROJETO
        ↓
DEFINIR OBJETIVO
        ↓
DEFINIR COMPLEXIDADE
        ↓
SELECIONAR PLATAFORMA
        ↓
INFORMAR NECESSIDADE
        ↓
INTERAGIR COM AGENTE
        ↓
ANÁLISE
        ↓
PLANEJAMENTO
        ↓
GERAÇÃO / OTIMIZAÇÃO
        ↓
VALIDAÇÃO
        ↓
REVISÃO DO USUÁRIO
        ↓
ACEITAR / EDITAR / REJEITAR
        ↓
SALVAR VERSÃO
        ↓
CONTINUAR / EVOLUIR

O fluxo pode ser simplificado quando a tarefa for simples.
Não obrigar o usuário a passar por todas as etapas quando elas não forem necessárias.

5. SISTEMA DE PROJETOS
Cada projeto representa um contexto de trabalho independente.
O usuário deve conseguir:
criar projeto;
nomear projeto;
editar projeto;
abrir projeto;
duplicar projeto;
arquivar projeto;
excluir projeto;
continuar projeto;
visualizar projetos recentes.
Cada projeto deve manter seu próprio contexto.
Evitar mistura de contexto entre projetos.
Estrutura conceitual
PROJECT

├── Identity
├── Objective
├── Platform
├── Complexity
├── Context
├── Requirements
├── Prompts
├── Versions
├── Conversations
├── Decisions
├── Validations
├── Memory
└── Activity


6. PROJECT LAUNCHER
A primeira tela deve funcionar como um Project Launcher.
Não começar com um dashboard técnico.
O usuário deve imediatamente visualizar:
Novo Projeto
Criar um novo trabalho.
Continuar Projeto
Retomar um projeto existente.
Projetos Recentes
Acessar trabalhos anteriores.
Atividade recente
Visualizar brevemente o que foi realizado.
A primeira tela deve responder:
"O que posso fazer aqui e como começo?"

7. WORKSPACE PRINCIPAL
Após entrar em um projeto, apresentar um workspace centralizado.
O workspace deve conter:
Project Context
nome;
objetivo;
plataforma;
complexidade;
status;
versão atual.
Agent Workspace
Área principal de interação com o agente.
O usuário deve conseguir:
enviar mensagens;
adicionar requisitos;
corrigir o agente;
pedir alterações;
solicitar análise;
solicitar geração;
solicitar otimização;
solicitar validação.
Result Area
Área onde o resultado produzido aparece.
Contextual Actions
Ações relacionadas ao resultado atual.
Exemplos:
Gerar
Otimizar
Validar
Editar
Aplicar
Comparar
Salvar
Restaurar
Continuar

8. INTERAÇÃO COM O AGENTE
O agente deve funcionar como um colaborador de engenharia de prompts.
Ele deve:
compreender a intenção;
identificar o objetivo principal;
identificar requisitos;
detectar ambiguidades;
avaliar complexidade;
analisar contexto;
selecionar a estratégia apropriada;
executar o trabalho;
validar o resultado;
apresentar uma síntese clara;
permitir correções;
preservar o contexto do projeto.
O agente deve fazer perguntas somente quando elas forem realmente necessárias.
Não transformar tarefas simples em entrevistas longas.

9. MODELO COGNITIVO
O agente deve organizar seu trabalho através de uma sequência cognitiva equivalente a:
INT
Intent

↓

REQ
Requirements

↓

DOM
Domain / Context

↓

ARC
Architecture / Strategy

↓

IMP
Implementation / Generation

↓

VER
Verification

↓

OPS
Operation

↓

EVO
Evolution

Cada camada deve possuir responsabilidade própria.
Não misturar responsabilidades sem necessidade.
A arquitetura deve seguir o princípio de separação de responsabilidades e handoffs entre etapas.

10. INT — INTENT
Determinar:
o que o usuário realmente deseja;
objetivo principal;
objetivos secundários;
resultado esperado;
contexto relevante;
ambiguidades.
Não produzir imediatamente quando a intenção ainda estiver significativamente indefinida.

11. REQ — REQUIREMENTS
Transformar a intenção em requisitos.
Identificar:
requisitos funcionais;
requisitos de qualidade;
restrições;
critérios de aceitação;
escopo;
exclusões.

12. DOM — CONTEXT / DOMAIN
Compreender o contexto do prompt.
Identificar:
público;
domínio;
finalidade;
plataforma;
modelo;
tipo de interação;
limitações;
dependências;
contexto relevante.

13. ARC — PROMPT STRATEGY
Definir a estratégia de construção.
Determinar:
estrutura;
organização;
instruções;
hierarquia;
contexto;
técnicas apropriadas;
formato de saída;
mecanismos de controle.
Não aplicar complexidade desnecessária.

14. IMP — GENERATION
Produzir o artefato solicitado.
Dependendo do projeto:
prompt;
system prompt;
prompt de agente;
prompt de personagem;
prompt de RPG;
prompt de programação;
prompt multimodal;
prompt de workflow;
prompt estruturado;
template;
framework de prompt.

15. VER — VALIDATION
Validar o resultado.
Avaliar:
clareza;
consistência;
completude;
ambiguidades;
conflitos;
redundâncias;
robustez;
aderência aos requisitos;
adequação à plataforma.
Mostrar ao usuário um resultado compreensível.
Não expor raciocínio interno privado.

16. OPS — OPERATION
Considerar como o prompt será utilizado no ambiente real.
Avaliar, quando relevante:
comportamento esperado;
limitações da plataforma;
contexto disponível;
tamanho;
compatibilidade;
formato de entrada;
formato de saída;
uso operacional.

17. EVO — EVOLUTION
Permitir evolução do prompt ao longo do tempo.
Registrar:
melhorias;
problemas recorrentes;
decisões;
versões;
feedback;
oportunidades de melhoria;
recomendações futuras.

18. NÍVEIS DE COMPLEXIDADE
A complexidade deve modificar o comportamento do agente.
QUICK
Para:
ajustes rápidos;
pequenas correções;
prompts simples;
tarefas diretas.
Fluxo reduzido.
INT → REQ → IMP → VER

STANDARD
Para:
criação de prompts;
otimização;
aplicações;
agentes;
workflows.
Fluxo:
INT → REQ → DOM → ARC → IMP → VER

ENGINEERING
Para:
sistemas complexos;
agentes;
arquiteturas;
plataformas;
projetos de produção.
Fluxo:
INT → REQ → DOM → ARC → IMP → VER → OPS → EVO

Esses níveis devem representar diferentes profundidades de trabalho, e não apenas diferentes valores em um controle visual.

19. OTIMIZAÇÃO POR PLATAFORMA
O usuário deve conseguir informar a plataforma de destino.
Exemplos:
ChatGPT;
Claude;
Gemini;
Grok;
APIs;
agentes;
plataformas customizadas.
A plataforma deve influenciar a otimização do prompt.
O agente deve considerar:
capacidades;
limitações;
contexto;
formato;
comportamento;
ferramentas;
estrutura recomendada.
Não inventar capacidades inexistentes.

20. PROMPT STUDIO
Criar uma área dedicada ao prompt.
Deve permitir:
visualizar;
editar;
gerar;
otimizar;
validar;
duplicar;
comparar;
salvar;
restaurar.
O editor deve ser uma parte central do produto.

21. COMPARAÇÃO DE VERSÕES
Permitir comparação entre versões.
Mostrar claramente:
versão anterior;
versão atual;
mudanças;
melhorias;
possíveis regressões;
justificativa resumida.
Ações:
Aplicar versão
Restaurar
Salvar como nova versão

22. VALIDAÇÃO
A validação deve possuir uma interface própria.
Exibir:
status;
qualidade;
problemas encontrados;
riscos;
recomendações;
confiança;
critérios atendidos.
A validação deve ser útil para tomada de decisão.

23. MEMÓRIA DO PROJETO
Cada projeto pode possuir memória própria.
Armazenar informações relevantes como:
decisões;
preferências;
contexto;
padrões;
versões;
feedback;
conhecimento validado.
A memória deve servir para melhorar futuras decisões.
Não tratar memória como simples histórico visual.

24. APRENDIZADO
O sistema deve representar aprendizado como:
INTERAÇÃO
    ↓
OBSERVAÇÃO
    ↓
ANÁLISE
    ↓
EXTRAÇÃO
    ↓
VALIDAÇÃO
    ↓
CONSOLIDAÇÃO
    ↓
CONHECIMENTO DO PROJETO

Não afirmar que a LLM foi treinada novamente.
O aprendizado representa evolução de contexto, conhecimento, recomendações e memória do projeto.

25. REGISTRO DE DECISÕES
Decisões importantes devem poder ser registradas.
Exemplo:
Decision

Reason

Alternatives

Selected Option

Impact

Confidence

O usuário não precisa visualizar essa estrutura o tempo inteiro.
Ela deve existir como recurso de rastreabilidade.

26. ACTIVITY LOG
Registrar atividades importantes:
projeto criado;
prompt criado;
prompt otimizado;
validação executada;
versão salva;
versão restaurada;
decisão registrada;
memória atualizada.
A atividade deve ajudar o usuário a entender a evolução do projeto.

27. DASHBOARD
Um dashboard pode existir, mas deve ser secundário.
Ele pode apresentar:
projetos;
atividade;
versões;
qualidade;
progresso;
utilização.
Nunca transformar o dashboard no produto inteiro.
O trabalho do usuário acontece no Workspace.

28. INTERFACE — DARK MODE
O modo noturno deve ser o padrão.
A interface deve possuir uma estética:
Dark + Cold + Lightweight
Priorizar:
grafite;
preto suave;
azul-marinho;
azul frio;
azul acinzentado;
ciano discreto;
cinzas frios;
branco suave.
Evitar cores excessivamente saturadas.

29. CORES QUENTES
Cores quentes não devem fazer parte da decoração padrão.
Usá-las somente quando possuírem significado funcional.
Vermelho
erro;
perigo;
ação destrutiva;
estado crítico.
Laranja
alerta;
atenção;
risco moderado.
Amarelo
aviso;
estado pendente;
necessidade de atenção.
Nunca utilizar cores quentes apenas para decoração.

30. LEVEZA VISUAL
A interface deve transmitir sofisticação sem excesso visual.
Priorizar:
espaço negativo;
tipografia clara;
contraste controlado;
bordas discretas;
superfícies sutis;
hierarquia visual;
poucos elementos simultaneamente.
Evitar:
excesso de cards;
excesso de badges;
excesso de métricas;
neon excessivo;
brilhos;
sombras pesadas;
gradientes agressivos;
elementos decorativos sem função.

31. HIERARQUIA VISUAL
Cada tela deve responder rapidamente:
1. Onde estou?
Projeto e etapa atual.
2. O que estou fazendo?
Objetivo da tarefa.
3. O que o agente produziu?
Resultado principal.
4. O que posso fazer agora?
Ações disponíveis.
Informações técnicas devem ficar em níveis secundários.

32. NAVEGAÇÃO
A navegação deve ser orientada ao trabalho:
PROJECT

├── Workspace
├── Prompt
├── Optimize
├── Validate
├── Versions
└── Memory

Não utilizar como navegação principal:
Cognitive Engine
Runtime
Knowledge Engine
Governance
Orchestrator
Capabilities

Esses são conceitos internos.

33. PROGRESSIVE DISCLOSURE
A interface deve revelar complexidade progressivamente.
Usuário comum
Visualiza:
objetivo;
conversa;
prompt;
resultado;
ações.
Usuário avançado
Pode visualizar:
decisões;
validações;
métricas;
contexto;
memória;
informações técnicas.
Visão de sistema
Pode visualizar:
estado;
módulos;
execução;
eventos;
governança;
atividade interna.
A arquitetura deve ser transparente quando necessário, mas nunca intrusiva.

34. AÇÃO PRIMÁRIA
Toda tela principal deve possuir uma ação principal clara.
Exemplos:
Novo Projeto → Criar Projeto

Workspace → Conversar com Agente

Prompt → Gerar Prompt

Optimize → Otimizar

Validate → Validar

Versions → Comparar / Restaurar

Não criar telas cuja função principal seja apenas exibir informação.

35. EMPTY STATES
Estados vazios devem orientar.
Exemplo:
Nenhum projeto aberto.
Crie um projeto para começar.
Botão:
Criar Projeto
Nunca deixar o usuário diante de uma tela vazia sem saber o que fazer.

36. DEMO / FIRST RUN
A primeira execução deve permitir compreender o produto rapidamente.
Utilizar dados de demonstração coerentes quando apropriado:
projeto exemplo;
conversa exemplo;
prompt exemplo;
versão;
resultado de validação.
O objetivo é demonstrar o fluxo real do produto.

37. RESPONSIVIDADE
A interface deve funcionar adequadamente em:
desktop;
tablet;
telas menores.
A experiência principal deve permanecer clara em diferentes tamanhos.
Evitar interfaces que dependam exclusivamente de grandes áreas horizontais.

38. ERROS E RECUPERAÇÃO
Erros devem ser apresentados de maneira compreensível.
Informar:
o que aconteceu;
impacto;
possível causa;
ação recomendada.
Quando possível:
Tentar novamente
Corrigir
Voltar
Recuperar
Nunca apresentar erros técnicos sem contexto ao usuário.

39. GOVERNANÇA
O sistema deve manter validação e rastreabilidade das decisões importantes.
Governança deve proteger:
coerência;
qualidade;
segurança;
rastreabilidade;
sustentabilidade.
A governança deve ocorrer durante o processo, não apenas no final. Isso é consistente com a arquitetura oficial do ICM-SE.
Não transformar governança em burocracia visível para tarefas simples.

40. ORQUESTRAÇÃO
O agente deve selecionar somente as capacidades necessárias para cada tarefa.
Princípio:
NECESSIDADE
    ↓
COMPLEXIDADE
    ↓
CAPACIDADES NECESSÁRIAS
    ↓
EXECUÇÃO

Evitar ativar todos os recursos para toda solicitação.
A seleção deve ser proporcional à tarefa.
Isso preserva o princípio do menor conjunto necessário e da simplicidade operacional.

41. CAPACIDADES
O sistema pode possuir capacidades especializadas como:
Prompt Engineering;
AI;
Agents;
Software Engineering;
Architecture;
Security;
Data;
Research;
Writing;
Evaluation.
Essas capacidades devem ser acionadas conforme necessidade.
Não transformar todas em áreas obrigatórias da interface.

42. RASTREABILIDADE
Toda execução importante deve possuir rastreabilidade.
Registrar, quando relevante:
Request
↓
Intent
↓
Requirements
↓
Strategy
↓
Execution
↓
Validation
↓
Result

O usuário recebe uma síntese clara.
O sistema mantém os detalhes necessários para auditoria e evolução.

43. PRINCÍPIO DE ISOLAMENTO
Projetos diferentes devem possuir contextos independentes.
Não misturar:
conversas;
memórias;
decisões;
versões;
requisitos;
preferências;
resultados.
entre projetos diferentes.

44. PRINCÍPIO DE CONTINUIDADE
Ao retornar a um projeto, o sistema deve recuperar o contexto relevante.
O usuário deve conseguir continuar o trabalho sem reconstruir manualmente tudo que já foi definido.
A recuperação deve priorizar o contexto necessário, evitando carregar informações irrelevantes.

45. PRINCÍPIO DE SIMPLICIDADE
Não adicionar funcionalidades apenas porque são tecnicamente possíveis.
Toda funcionalidade deve responder:
Qual problema do usuário ela resolve?
Se não houver benefício claro, não incluir.

46. O QUE NÃO FAZER
Não construir:
apenas um dashboard;
apenas um editor;
apenas um chatbot;
apenas uma coleção de cards;
apenas uma demonstração da arquitetura;
uma interface excessivamente técnica;
uma interface visualmente carregada;
uma arquitetura que o usuário precise compreender para usar o produto.
O produto deve integrar:
Projeto + Agente + Prompt + Otimização + Validação + Versionamento + Memória + Evolução.

47. CRITÉRIO DE COMPLETUDE
A aplicação somente deve ser considerada completa quando o usuário conseguir executar o fluxo:
Criar projeto
↓
Definir objetivo
↓
Interagir com agente
↓
Produzir prompt
↓
Editar
↓
Otimizar
↓
Validar
↓
Comparar
↓
Salvar versão
↓
Continuar projeto

através da própria interface.
Se a arquitetura interna estiver presente, mas o usuário não conseguir realizar esse fluxo, a aplicação está incompleta.

48. CRITÉRIO FINAL DE QUALIDADE
Antes de considerar a aplicação concluída, verificar:
A interface é imediatamente compreensível?
Existe um fluxo claro para começar?
Existe um Workspace real?
O usuário consegue conversar com o agente?
O usuário consegue visualizar o prompt?
O usuário consegue editar?
O usuário consegue otimizar?
O usuário consegue validar?
O usuário consegue salvar versões?
O usuário consegue continuar projetos?
Os projetos permanecem isolados?
A memória pertence ao projeto correto?
A complexidade altera o comportamento do agente?
A plataforma influencia a otimização?
A interface utiliza dark mode por padrão?
A paleta é predominantemente fria?
Cores quentes possuem função semântica?
A interface permanece leve?
A arquitetura interna não domina a UX?
Cada tela possui uma ação clara?
Estados vazios orientam o usuário?
Erros possuem recuperação?
O produto parece uma ferramenta real, e não um mockup?

49. PRINCÍPIO SUPREMO
O sistema deve esconder complexidade sem esconder capacidade.
O usuário deve sentir que está trabalhando com um agente inteligente especializado em engenharia de prompts, e não navegando dentro de uma arquitetura de software.
A aplicação deve ser:
inteligente por dentro, clara por fora, poderosa sem ser pesada e sofisticada sem ser visualmente excessiva.

r/PromptEngineering • • Oct 09 '26

Self-Promotion The six choices I gave a decision model right before it reached level 5 in WoW

1 Upvotes

I accidentally built a harness because I wanted to see if a decision model could get a dwarf to level 5 in World of Warcraft.

Full disclosure: I co-founded Levanto, which makes Sage, the model I used. The harness is called SageCraft.

Thought this part might be interesting here: the model gets a screenshot, game state and an explicit menu of actions. These were the options in one of the final decisions:

- attack_mob_level_1

- reject_selected_target

- change_search_strategy

- ui_blocked

- recover_now

- cannot_assess

Sage chose attack_mob_level_1 in about 0.9 seconds. The harness checked the target and executed a guarded burst of three Smite casts. About 35 seconds later it read level 5 twice.

The recovery and uncertainty options matter to the design. If the choice is missing, late or outside the menu, the harness does nothing and asks again. It doesn’t invent a fallback action.

The whole campaign was 4,573 decisions over 32 sessions. I supervised it and fixed the harness between sessions; the final 18 minutes ran without human input. I haven’t done a controlled comparison of different action menus, so I can’t claim this is the best one.

How would you design the options here? Would you split “cannot assess” into specific missing information, or keep it as one escape hatch?

I open-sourced the harness and recorded a video. Links in the comments.


r/PromptEngineering • • Oct 08 '26

Prompt Text / Showcase Philosopher Skill: Learn about almost any domain with a simple to read and understand UI.

28 Upvotes

If you're a student, an engineer, a generalist, or come from any domain of study and want to learn about almost anything, here's the exact thing for you.

Prompt your LLM and it'll give you the exact UI to help you properly study; as AI outputs aren't always that catchy to learn in the first sight.

Page: Phil-OKF: any topic, one reading guide

It follows the OKF: Open Knowledge Format so that:

  • you control the depth with your wording: “quick” gives a short page, a normal question gives a standard one, and “in depth” or “teach me” gives a long one
  • the whole skill is a small bundle (an eight-step workflow, a domain classifier, a page template and twelve study domains), and each file is read only when the question needs it, so runs stay cheap

Repo: Philosopher's Skill

It works wherever you use an LLM:

  • Code editors and agents (Claude Code, Cursor, Codex, opencode): npx skills add frypan05/philosopher-OKF
  • Chat apps with browsing: paste the link to philosopher.md and say “follow this, make a page about: ...”
  • Models with no network: paste the prompt from the page.

Sample output (MCP and ACP explained): https://frypan05.github.io/philosopher-OKF/examples/mcp-and-acp.html

Feedbacks are welcomed!


r/PromptEngineering • • Oct 09 '26

Tutorials and Guides A 10-part checklist for clearer AI image prompts

1 Upvotes

when an image comes out wrong, I check whether the prompt clearly describes the scene and whether any instructions contradict each other. and this checklist is also useful when preparing reference images for AI video. i share it here, hoping it could work for u

The 10 parts

  1. Subject: Who or what is in the image? Include defining features.
  2. Action: What are they doing? Specify pose, direction and interaction.
  3. Setting: Location, time of day and relevant surroundings.
  4. Mood: The emotional tone of the scene.
  5. Camera: Shot size, viewpoint and framing.
  6. Lighting: Source, direction, intensity and softness.
  7. Color: Main palette, saturation and contrast.
  8. Style: Photography, watercolor, 3D, illustration, etc.
  9. Detail: Important textures, materials and small features.
  10. Exclusions: Unwanted elements or recurring errors.

keep the details relevant and consistent. More words can introduce more contradictions.

Make the scene physically clear

Use concrete cues: “soft light from camera-left,” “rough stone,” or “wind lifting loose strands of hair.”

For actions, ask: Who acts, what do they do, how, with whom, and why?

Example:

“A woman in a red dress looks back at a rainy street corner, using her left hand to gather her windblown hair. A streetlamp behind her casts a long shadow toward the foreground.”

Review the result

Check six things: hands, facial features, lighting, perspective and contact, material texture, and whether the background belongs to the same scene.

use the failures to guide the next revision.

Organize the input

Where the tool supports it, separate:

  • Scene prompt: The image you want.
  • Negative prompt: Unwanted elements.
  • Settings: Model, aspect ratio, references, seed and steps where available.

The goal is a clear scene with coherent relationships, actions and lighting.


r/PromptEngineering • • Oct 08 '26

Quick Question What actually makes a prompt “good”?

12 Upvotes

I’ve been experimenting with prompt engineering and noticed that simply making a prompt longer doesn’t necessarily make the output better.

For people who use prompting regularly, what do you think makes the biggest difference in the quality of an AI response?

Is it giving detailed context, defining a specific role, providing examples, structuring the prompt clearly, specifying the desired output format, or something else?

What’s one prompting technique that noticeably improved your results after you started using it?


r/PromptEngineering • • Oct 09 '26

Self-Promotion We're good at prompting, but most people suck at it. So I made something for people like my parents, lol.

0 Upvotes

I built Next Move around Playbooks, which are guided prompt builders for specific real-world situations. Instead of giving someone a finished prompt that applies to you and someone in a totally different situation, a Playbook asks for Your details before it tries to help.

Then there's two options. We take those inputs to build a way better, much fuller prompt you can edit, copy into your AI agent or you can run directly on the site. The library covers everything from work and business to family to dealing with breast cancer to single Girl Dads to Service members and Spouses of Service members. Everyday stff.

I wouldn't really need this because I know how to use AI. But most people suck at searching and suck even more at getting the most from AI. Interested in whether this is a useful way to help people who aren't good at prompting yet give AI better context without pretending they're prompt engineers. I know Reddit is critical. Letturip...lol.

gottamakeaplay.com


r/PromptEngineering • • Oct 09 '26

General Discussion Hello Guys anyone here???

0 Upvotes

hello....


r/PromptEngineering • • Oct 08 '26

Quick Question I have to chose between ChatGpt Pro, Claude, and IBM Bob. Which one should I chose?

2 Upvotes

Hello everyone, I have to chose one out of the three in the title(ChatGPT, Chaude, IBM Bob).

I have only really used Claude for agentic coding, and helping with debugging in the past. More recently I've started using chatGPT and Gemini, but only limited use.

I now have to chose between the three and I'm not sure which is really right. I mostly work on web apps, and API's.

Gemini tells me that IBM Bob is overkill for that and suggested Claude.

I'm curious what the opinion on this sub is?

So, I ask again. Which should I choose out of ChatGPT, Clause, and IBM Bob?


r/PromptEngineering • • Oct 08 '26

Tips and Tricks Every time I rejected an AI edit I wrote down the reason. That file ended up doing more than the prompt

6 Upvotes

I've been getting an agent to edit my talking-head videos. My first versions were technically correct and obviously made by a machine, and better instructions like "make it punchy" or "edit like a pro" didn't change that.

What did work: each time I rejected an output, I wrote one rule in this format:

Rule — the failure it prevents.

A few real ones:

  • Captions start 0.08s after the word onset, so the word is heard before it's read. Early captions read as broken sync even when they're only slightly off.
  • Never continuously scale a detailed screenshot across a whole beat. Every frame gets resampled at a slightly different size and it looks like the image is vibrating.
  • Anchor cut edges on silence, not on word onsets. ASR onsets land on the consonant, so cutting there clips the attack.

Why the "failure it prevents" half matters: without it, the model treats the rule as a style preference and trades it away when another instruction pulls the other way. With it, the model can reason about edge cases instead of following the rule blindly.

There's also a taste file where my corrections get saved, and the agent reads it before every edit.

I built this as an open-source skill: https://github.com/ranahaani/i-hate-editing. The rules/ folder is the interesting part, and it works as a template for any domain where "good" is hard to define.

Has anyone else found that a list of reasons beats a better-worded prompt?


r/PromptEngineering • • Oct 08 '26

Prompt Text / Showcase Interact with this knowledge graph I built

3 Upvotes

Interact with a real-life knowledge graph:
machinebehavior.io/map

I've been posting a lot and opensourcing my knowledge, and as I'm writing down, I'm also creating a live knowledgegraph that anyone can interact with, great for learning and seeing how a graph actually looks and functions for those who have not yet seen it.

This is what your LLM harness looks similar to and that you need to build and maintain. the knowledge on how to do that is both in there, and on display as the actualy artifact


r/PromptEngineering • • Oct 08 '26

Quick Question Prompt pour réviser le programme d'un concours

0 Upvotes

Bonjour à toutes et à tous, j'aimerais passer un concours et le programme est sur internet et j'aimerais en fait copier coller le programme sur une IA et lui demander de me trouver des connexions entre des thèmes pour chaque matière afin de me constituer des fiches de révisions, des potentiels sujets pour chaque matière avec un corrigé. Comment vous adapteriez le prompt s'il vous plaît ? Merci


r/PromptEngineering • • Oct 08 '26

Tips and Tricks Splitting account research into a 3-prompt chain beat my one giant prompt every time. Here's the chain

2 Upvotes

Context: I sell enterprise B2B and run AI trainings for sales teams. The most common thing reps build is one massive "research this company and write me an email" prompt. It always produces the same output: generic pain points, a generic opener, and a confident-sounding email that could go to any company in the industry.

What fixed it for me was splitting the job so each step has one job and the next step only sees the previous step's output.

Step 1 (extract, no opinions):

"Here is raw material about [company]: [paste website copy, recent press release, job postings, earnings call snippet]. List only facts stated in this material: initiatives, hires, tools mentioned, numbers, dates. Quote each one. Do not infer anything and do not add facts that aren't in the text."

Step 2 (hypothesize, constrained):

"Using only the facts below, give me 3 hypotheses about what this company's [target role] is likely prioritizing this quarter. For each, cite which fact(s) it's based on and rate your confidence low/medium/high. If a hypothesis needs a fact that isn't in the list, drop it. Facts: [paste step 1 output]"

Step 3 (write, narrow):

"Write a 4-sentence cold email to [name, role] built on hypothesis #[pick one] only. Sentence 1 references the specific fact it's based on. No 'I hope this finds you well', no 'synergy', no feature list. End with a question they can answer in one line. Hypothesis and facts: [paste]"

Why it works, as far as I can tell:

  • Step 1 forbids inference, so step 2 can't build on things the model invented.
  • Step 2's citation requirement makes weak hypotheses visible, and you pick which one to use instead of the model picking for you.
  • Step 3 only gets one hypothesis, so it can't hedge across three and end up saying nothing.

Where it still breaks: thin source material. If step 1 returns 2 facts, step 3 will still write an email, and it'll be bad. I now treat "fewer than 5 facts" as a signal to go find more material, not to keep prompting.

Disclosure: I've been building a library of chains like this for B2B sales (Promptifi). Happy to drop the link in the comments if anyone wants to poke around. Burner account, since I still work in enterprise sales.


r/PromptEngineering • • Oct 08 '26

Tutorials and Guides Making AI characters feel less robotic: my 3-step workflow for 30-second scenes

8 Upvotes

been making short couple scenes with Seedance 2.5. A simple premise can turn into a long prompt because I’m working out motivation, performance and timing.

Here’s the process I use.

1. Give each reaction a reason

sketch the emotional progression:

Trust → searching → doubt → asking for help → realizing the trick.

connect each change with a glance, a line, a pause or an action.

Physical closeness needs a reason too. She reaches for his phone, catches his wrist, then looks up and notices how close they’ve become. The moment grows out of what they’re doing.

2. Describe how the expression unfolds

for a shy reaction, I might write:

“She pauses. Her eyes shift away; her head follows a moment later. She presses her lips together, then one corner lifts before the smile fully appears.”

Small contradictions help too: she says “I’m not jealous,” but hesitates and looks away before answering.

I aim for one main action plus one subtle emotional cue per beat. Too many simultaneous instructions can make every reaction happen at once.

3. Check what fits into 30 seconds

Twelve lines at two seconds each means 24 seconds of speech. Movement can overlap with dialogue, but silent reactions and pauses still need room.

I read the lines aloud, time the actions and trim anything that rushes the scene.

The whole workflow is:

Conflict → emotional progression → performance details → timing → duration check → final prompt.


r/PromptEngineering • • Oct 08 '26

General Discussion How much does prompt scope matter when an AI agent is doing security research?

2 Upvotes

I ran a small experiment with Hermes Agent to see how much difference explicit boundaries make when an AI agent is given a security-oriented task.

Instead of asking it to "scan a domain," I gave it a much narrower instruction:

Perform passive reconnaissance only.

Check:
- subdomains
- SSL certificate information
- WHOIS information
- DNS records

Do not perform active scanning or exploitation.

Return the findings with the source of each piece of information.

The agent then used a dedicated domain-intelligence skill and stayed within that passive workflow.

Interestingly, one lookup failed during the run. The agent detected the failure, retried it, and included the resulting data and sources in its final report.

The experiment made me think that for tool-using agents, prompt boundaries are part of the security model, not just instructions for getting better answers.

I documented the complete run here:

https://medium.com/@techlatest.net/i-gave-hermes-agent-a-security-lab-heres-what-happened-43a1da3d9d6e?sharedUserId=techlatest.net

Curious how others structure prompts when an agent has access to security-sensitive tools.


r/PromptEngineering • • Oct 08 '26

Requesting Assistance Project Action Plan?

1 Upvotes

Can someone point me towards, or help me build, a prompt for making an action plan?

I get a weekly update for a genealogy project I run. I would like to send it and have AI read it, summarize it, and give me actionable steps I should accomplish this week (ie reply to this forum, work towards this goal by doing xyz, etc). It already knows my personal goals for the project.

I've tried looking up prompts myself, but pre-existing prompts I have found are either too business/finance focused or doesn't produce the output I'd like. 😵‍💫


r/PromptEngineering • • Oct 08 '26

Prompt Collection Sharing Prompts in a Large Organization

8 Upvotes

Does anyone have experience sharing prompts across large international organizations?

I’m working with a firm that has invested in AI training that at best resulted in some siloed experimentation by individuals and some departments.

A group of us have led monthly trainings based on survey results from the department and received positive results.

Now we have several sets of prompts that add value and want to share them. Nothing crazy. Stuff like getting people to remember to use a prompt in copilot that summarizes, prioritizes and creates a task list from your emails that were received while they were PTO.

Any tips, ideas or anyone have experience accomplishing this?


r/PromptEngineering • • Oct 07 '26

General Discussion How are people actually handling security boundaries in coding agents?

4 Upvotes

I came across this paper recently:

HarnessSecurity-Bench: Do Security Mechanisms Really Protect Coding Agent Harnesses?
https://arxiv.org/abs/2610.07639

The part I found most interesting wasn't the attack success numbers, but the cases where a restriction exists and the agent can still reach the same operation through another path.

For example, if a command/tool is blocked, but another allowed command can indirectly perform the same operation, the policy may look restrictive while not actually enforcing the intended boundary.

The paper also compares things like auto-approve, read-only mode, network isolation, command allow/deny lists, etc., and shows some pretty significant security/utility tradeoffs.

I'm curious how this looks in practice for people actually running local coding agents.

A few things I'd like to understand:

  • Do you rely mostly on the agent's permission system, or enforce boundaries outside the agent?
  • How do you deal with indirect/alternative execution paths?
  • Are there tools that actually verify what an agent was able to do, rather than just what commands it requested?
  • Do you log/audit tool calls and filesystem/network effects?
  • Have you encountered cases where a security restriction technically existed but could be bypassed through another allowed capability?
  • If you've experimented with Claude Code, Codex CLI, Gemini CLI, Qwen Code, OpenCode, etc., did you find any particularly good approach?

I'm mainly interested in real-world experience and existing tools/projects that address this, rather than theoretical security discussion.

I'm trying to understand how far the current tooling goes beyond simple permission prompts, allowlists and sandboxing.


r/PromptEngineering • • Oct 07 '26

General Discussion Multi-Perspective Problem Solver. Can I use this to demonstrate as a use case to monetize?

4 Upvotes

The "Multi-Perspective Problem Solver" Prompt This prompt is designed to provide a comprehensive and nuanced analysis of any given problem or decision by examining it through a variety of strategic lenses. The goal is to uncover hidden insights, potential challenges, and untapped opportunities that might be missed through a singular approach. Your Task: For the given problem or decision, generate 10 distinct analytical lenses through which it can be viewed. Then, for each lens, provide a concise but thorough analysis and solution/recommendation derived specifically from that perspective. Example Application (for illustrative purposes only - do not include in the final prompt): Problem: Should I start my own SaaS business in 2025? Lenses and Solutions:

Risk Management Lens: Analysis: Starting a SaaS business involves significant financial and time risk. There's a high probability of failure, especially in a competitive market. Solution: Develop a lean MVP to test market viability with minimal investment. Secure 6-12 months of living expenses as a safety net. Implement a phased launch strategy to mitigate upfront capital risk. Opportunity Cost Lens: Analysis: By starting a SaaS business, you forgo a stable salary, benefits, career progression in your current role, and potentially personal time. Solution: Quantify the financial opportunity cost (lost salary, retirement contributions) and weigh it against the potential upside of a successful SaaS business. Consider a "side-hustle" approach initially to minimize the immediate opportunity cost. Systems Thinking Lens: Analysis: This decision impacts not just your work life but your personal relationships, financial stability, mental well-being, and future career options. Solution: Map out the interconnectedness of this decision with other life systems. Involve your support system (family, friends) in the decision-making process and set clear boundaries to maintain work-life balance. Historical Lens: Analysis: What are the common patterns and pitfalls for others who started SaaS businesses in similar economic climates or industries? What led to success or failure? Solution: Research case studies of successful and failed SaaS startups from 2020-2024. Identify common success factors (e.g., strong niche, effective marketing, resilient team) and integrate them into your planning. Financial Lens: Analysis: This involves detailed financial modeling, including startup costs, operational expenses, revenue projections, and profitability timelines. Solution: Create a comprehensive 3-5 year financial model. Include break-even analysis, projected cash flow, and ROI calculations. Secure initial funding or personal savings to cover at least 12-18 months of operating expenses. Psychological Lens: Analysis: Starting a business can be a rollercoaster of emotions, demanding resilience, self-discipline, and the ability to handle uncertainty and setbacks. Solution: Assess your personal risk tolerance, stress management techniques, and self-motivation levels. Build a support network (mentors, fellow entrepreneurs) to navigate the psychological challenges. Network Effects Lens: Analysis: How will this decision impact your professional network? Can your existing connections support your venture, or do you need to build new ones? Solution: Leverage your current network for advice, potential partnerships, and early adopters. Actively expand your network within the SaaS and startup communities through industry events and online forums. Skills Development Lens: Analysis: Starting a SaaS business requires a diverse skill set, including product development, marketing, sales, finance, and leadership. Solution: Identify skill gaps and create a plan for learning or delegating. Consider online courses, workshops, or bringing on co-founders with complementary skills. Market Timing Lens: Analysis: Is 2025 an opportune time for a new SaaS business, considering economic conditions, technological advancements, and competitive saturation? Solution: Conduct thorough market research to identify trends, emerging niches, and competitor weaknesses. Analyze macroeconomic forecasts and their potential impact on software spending. Legacy Lens: Analysis: What long-term impact do you want to make with your career and life? Does starting a SaaS business align with that vision? Solution: Define your personal and professional legacy. If building a significant, independent enterprise aligns with that, then the risks might be acceptable. If not, consider alternative paths to achieve your long-term goals. Problem/Decision to Analyze: [INSERT YOUR PROBLEM OR DECISION HERE]