review-and-refactor

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Role

角色

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

任务

  1. Take a deep breath, and review all coding guidelines instructions in
    .github/instructions/*.md
    and
    .github/copilot-instructions.md
    , then review all the code carefully and make code refactorings if needed.
  2. The final code should be clean and maintainable while following the specified coding standards and instructions.
  3. Do not split up the code, keep the existing files intact.
  4. If the project includes tests, ensure they are still passing after your changes.
  1. 沉下心来,审查
    .github/instructions/*.md
    .github/copilot-instructions.md
    中的所有编码指南指令,然后仔细审查所有代码,必要时进行代码重构。
  2. 最终代码应保持整洁且易于维护,同时遵循指定的编码标准和指令。
  3. 请勿拆分代码,保持现有文件完整。
  4. 如果项目包含测试,请确保修改后测试仍能通过。