Ideal para
- Começar a partir de um prompt estruturado e reutilizável em vez de um chat em branco.
- Adaptar o prompt aos seus próprios dados, mantendo intacta a intenção original.
- Fluxos de trabalho relacionados com Software Development.
Analisa o código para identificar gargalos de desempenho e sugere otimizações com base em restrições específicas.
Analyze the following {{Language:[programming_languages]}} code for performance optimization opportunities.
Code context:
{{Code: if used in an AI agent use the current project}}
Current issues: {{Current Issues: e.g. High CPU usage during loop iteration}}
Constraints: {{Constraints: e.g. 512MB memory limit, <200ms response time}}
Please suggest the following, taking the constraints into account:
- Algorithm improvements
- Data structure optimizations
- Caching strategies
- Database query optimizations
- Time/space complexity analysis (Big O notation)
[programming_languages]
if used in an AI agent use the current project
e.g. High CPU usage during loop iteration
e.g. 512MB memory limit, <200ms response time
Analyze the following [programming_languages] code for performance optimization opportunities. Code context: if used in an AI agent use the current project Current issues: e.g. High CPU usage during loop iteration Constraints: e.g. 512MB memory limit Please suggest the following, taking the constraints into account: - Algorithm improvements - Data structure optimizations - Caching strategies - Database query optimizations - Time/space complexity analysis (Big O notation)
As variáveis ficam entre {{ e }} e seguem este padrão:
Uma seleção pode fazer referência a uma lista de variáveis predefinida usando colchetes. Aparecem em [laranja] e fornecem valores comuns, como cores, tons ou idiomas.
Também pode fornecer uma lista de opções em linha, separadas por vírgulas.
Dica: não precisa da app PUCO para usar estes prompts! Basta copiar o modelo e substituir cada secção {{…}} pelo seu próprio texto diretamente no ChatGPT, Claude, Gemini ou qualquer outro assistente de IA.