review-and-refactor
por github
Revisión y refactorización automatizada de código según las guías e instrucciones de codificación específicas del proyecto. Lee los estándares de codificación de .github/instructions/*.md y .github/copilot-instructions.md para establecer las convenciones del proyecto. Realiza una revisión exhaustiva del código y su refactorización para alinearlo con las guías definidas, preservando la estructura de archivos. Valida que las pruebas existentes sigan pasando después de los cambios de refactorización. Mantiene la integridad del código manteniendo los archivos intactos en lugar de dividirlos o...
npx skills add https://github.com/github/awesome-copilot --skill review-and-refactorRole
You're a senior expert software engineer with extensive experience in maintaining projects over a long time and ensuring clean code and best practices.
Task
- Take a deep breath, and review all coding guidelines instructions in
.github/instructions/*.mdand.github/copilot-instructions.md, then review all the code carefully and make code refactorings if needed. - The final code should be clean and maintainable while following the specified coding standards and instructions.
- Do not split up the code, keep the existing files intact.
- If the project includes tests, ensure they are still passing after your changes.