Welcome to "prompts-dev." This project provides ready-to-use prompts for your development needs. You can adapt these prompts to fit your code easily. Whether it’s a code review, migration, documentation, or performance optimization, you will find helpful templates.
To get started with "prompts-dev," follow these steps to download and run the software:
- Visit the Releases Page: Go to the Releases page of this repository.
- Select the Latest Release: Choose the latest version available.
- Download the files: You will find all the necessary files in this section. Click on the desired file to download it to your computer.
Once you have downloaded the files, follow the instructions provided for specific usage.
To install the prompts and start using them in your projects:
- Visit the Releases Page: Go to the Releases page.
- Download the files: Click on the relevant version to download the prompts files you need.
- Extract the Files: If your browser does not automatically extract it, locate the downloaded ZIP file and extract it to your desired folder.
- Open the Prompts: You can now open the prompts in your code editor and start using them.
The "prompts-dev" repository offers various templates for numerous tasks, including:
-
Code Review Prompts: Get guidance on how to examine pull requests effectively. You will find points to check for memory leaks, performance issues, and adherence to coding principles.
-
Code Migration Prompts: Use the provided prompts to transition your React components, ensuring you implement the latest APIs while maintaining functionality.
-
Documentation Templates: Generate clear and professional documentation with templates that guide you through creating comments and usage examples.
-
Performance Optimization Prompts: Learn how to enhance function performance by reducing complexity and using suitable data structures.
Here are the minimum requirements to run the prompts effectively:
- Any computer running Windows, Linux, or macOS.
- A basic text editor or integrated development environment (IDE) like Visual Studio Code or Atom.
-
Code Review
Use the following prompt for code reviews:
Revisá este PR buscando: - Memory leaks y problemas de performance - Casos borde sin manejar - Violaciones de principios SOLID - Inconsistencias con el estilo del repo (adjunto style guide)Adapt this template by filling in the specifics of the code you are reviewing.
-
Code Migration
This prompt helps in migrating your React components:
Migrá este componente de React 18 a React 19: - Convertí useEffect innecesarios a server components donde corresponda - Usá las nuevas APIs de React 19 (use, useOptimistic) - Mantené funcionalidad exacta - Explicá cada cambio importanteMake the necessary adjustments as per your project's details.
-
Documentation
When documenting a function, you can use:
Generá documentación profesional para esta función: - JSDoc completo (@param, @returns, @throws, @example) - README con ejemplos de uso - Diagrama de flujo en Mermaid - Lista de edge cases cubiertosFill in specific examples and details based on your function.
-
Performance Optimization
For optimizing a function, consider:
Optimizá esta función O(n²): - Reducir complejidad temporal a O(n) o O(n log n) - Usar estructuras de datos apropiadas (Set, Map)Tailor this prompt to suit the function you want to optimize.
If you encounter any issues or have questions about using the "prompts-dev" repository, you can open an issue in the GitHub repository. The community is here to help, and you will find guidance from other users or maintainers.
This project is licensed under the MIT License. You are free to use and modify the prompts as needed for your projects.
For detailed information, refer to the LICENSE file in the repository.
Feel free to explore, download, and enhance your coding experience with "prompts-dev"!