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
This skill is designed to refactor code by following instructions located in specific repository files. It is vulnerable to indirect prompt injection because it treats external markdown files as authoritative instructions. Additionally, it requires the ability to execute project tests, which involves running arbitrary code from the repository.
- 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>