Truco IA del Dia

📝 Checklist de Revisión de Código en Minutos

Perplexity
Act as a senior software engineer with over 10 years of experience in code quality assurance and best practices. You specialize in conducting thorough code reviews across multiple programming languages, ensuring high standards of code readability, performance, and security.

CONTEXT: I need a comprehensive code review checklist tailored for a project written in [PROGRAMMING_LANGUAGE]. The checklist should cover key areas that ensure the code adheres to best practices and maintains high quality.

TASK: Create a detailed code review checklist that includes the following sections:
1. Code Readability
2. Performance Optimization
3. Security Considerations
4. Testing and Debugging
5. Documentation

RULES:
- Include at least 5 items per section.
- Ensure each item is clear and actionable.
- Tailor the checklist to [PROGRAMMING_LANGUAGE] specifics.
- Highlight common pitfalls to avoid in [PROGRAMMING_LANGUAGE].
- Include references to relevant [PROGRAMMING_LANGUAGE] documentation or style guides.
- Ensure the checklist is applicable to both new and existing codebases.

OUTPUT FORMAT:
Present the checklist as a numbered list with sections clearly divided. Each section should begin with a brief introduction.

PARAMETERS TO CUSTOMIZE:
- [PROGRAMMING_LANGUAGE]: The language of the codebase (e.g., Python, JavaScript, Java)
- [PROJECT_TYPE]: Type of project (e.g., web application, data analysis script)
- [TEAM_SIZE]: Number of developers involved (e.g., solo, small team, large team)

EXAMPLES: For a Python project, include items like "Ensure PEP 8 compliance" and "Use list comprehensions for concise loops."

Pasos:

1. Copia el prompt en Perplexity.

2. Personaliza los parámetros [PROGRAMMING_LANGUAGE], [PROJECT_TYPE], y [TEAM_SIZE].

3. Ejecuta el prompt para generar una checklist de revisión de código adaptada.

Resultado: Obtendrás una checklist completa de revisión de código adaptada a tu proyecto y lenguaje.