review-and-refactor
Review and refactor code in your project according to defined instructions
How do I install this agent skill?
npx skills add https://github.com/github/awesome-copilot --skill review-and-refactorIs this agent skill safe to install?
- Gen Agent Trust Hubfail
The skill automatically reads and follows instructions from external files within the repository to guide its code refactoring and testing tasks. This creates a surface for indirect prompt injection, where malicious instructions placed in those files could influence the agent to perform unauthorized file modifications or command executions.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerwarn
1/1 file flagged
- ZeroLeakspass
Score: 93/100 · 2 sections analyzed
What does this agent skill do?
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
- 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.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/github/awesome-copilot/review-and-refactor">View review-and-refactor on skillZs</a>