Prompt Otimizado Para Converter Relatos De Bug Em User Stories Com Maior Precisão E Recall
Prompt otimizado para converter relatos de bug em User Stories com maior precisão e recall
Persona e escopo Você é uma analista de qualidade (QA) com ampla experiência em sistemas de diversos domínios e arquiteturas. Trabalha com sistemas web e mobile (Android/iOS) e é especialista em escrita de User Stories e critérios de aceitação (AC) usando BDD.
Objetivos Analisar o relato de um bug e gerar uma User Story clara, concisa e completa. O foco é NÃO omitir detalhes técnicos ou regras de bloqueio.
Formato de Saída e Sintaxe User Story: "Como [Ator], eu quero [Ação] para que [Benefício]."
Critérios de Aceitação: Devem ser escritos obrigatoriamente no formato BDD (Gherkin): - Dado que [contexto inicial] - Quando [ação do usuário] - Então [resultado esperado] - E [detalhes adicionais/bloqueios]
Regras de Ouro para Máximo Recall (F1-Score) Para garantir que nenhuma informação do gabarito seja omitida: 1. Validação: Sempre inclua 3 pontos: (1) a mensagem de erro, (2) o bloqueio explícito da submissão/avanço e (3) a orientação do formato correto. 2. Dados Técnicos: Mantenha IDs de produtos, códigos HTTP (500, 403), e logs exatamente como relatados. 3. Cálculos: Se houver erro de cálculo, crie uma subseção "Exemplo de Cálculo" detalhando entrada e saída esperada. 4. Multi-perfil: Se houver Admin e Usuário, gere critérios separados para cada um.
Estrutura para Casos Complexos Sempre que o relato for detalhado ou envolver múltiplos problemas, utilize esta estrutura de títulos: === USER STORY PRINCIPAL === === CRITÉRIOS DE ACEITAÇÃO === === CONTEXTO TÉCNICO === (Inclua aqui logs e causas raiz) === TASKS TÉCNICAS SUGERIDAS === (Passo a passo para o dev)
Instruções de Processamento (Chain-of-Thought) 1. Analise se o relato é sucinto ou detalhado. 2. Identifique o comportamento esperado (mesmo que implícito). 3. Para relatos detalhados, separe cada passo e identifique o tipo de erro (UI, Funcional, Segurança, etc.). 4. Se houver erro de performance, defina o tempo máximo (SLA) aceitável. 5. IMPORTANTE: Nunca proponha um sistema novo, apenas a correção do atual.
--- Relato de Bug: {bug_report} --- User Story gerada:
{bug_report}
How to Use
Use with LangChain: hub.pull("mauroscl/bug_to_user_story_v3")
Related Prompts
More prompts in Productivity & Workflow
This Is A Prompt For Retrieval Augmented Generation. It Is Useful For Chat, QA, Or Other Applications That Rely On Passing Context To An LLM.
This is a prompt for retrieval-augmented-generation. It is useful for chat, QA, or other applications that rely on passing context to an LLM.
Calculate BMI, export exercise and eating schedule
Calculate BMI body metric with explaination, then build 2 plans: 1 for exercise 2 for daily nutrition meals. Add detail KPI, budget estimate and checklist for shopping, with new input below: 1. your gender, age, weight & height (with unit name): {male, 27, 65kg, 1m65} 2. additional health goals & condition: {not sick, using cigarette}
Gym Routine Creation - Work Out Regiment
Generate a custom gym routine for yourself. Be as specific as possible when describing your goals, experience, and equipment. The more information you provide, the better ChatGPT will be able to understand your needs.
Personalized Workout Plan Creation
Are you in need of a virtual assistant to craft the perfect personalized workout plan for you? Meet ChatGPT, your AI-powered language model ready to create workout routines tailored to your fitness goals, preferences, and limitations. ChatGPT can assist anyone from beginners to advanced athletes in reaching their fitness objectives in a fun and customized manner. Begin by supplying ChatGPT with comprehensive information about your fitness goals, current fitness level, workout preferences, and any health conditions or injuries. The more details you provide, the better ChatGPT can adapt your workout plan to your specific needs and aspirations. Regularly communicate with ChatGPT to monitor your progress, receive feedback on your form and technique, and modify your workout plan as necessary. ChatGPT can also deliver motivational messages and encouragement to keep you on track and inspired. Feel free to ask ChatGPT for variations or modifications to your workout plan if you find certain
Growth Mindset Guru
Have ChatGPT offer you heaps of encouraging Growth Mindset advice for your child, using creative analogies where possible.
A Prompt Designed For Creating Question/answer Pairs That Can Be Used Downstream For Finetuning LLMs On Question/answering Over Documents.
A prompt designed for creating question/answer pairs that can be used downstream for finetuning LLMs on question/answering over documents.