AgentSkillsCN

Refactor Pro

Refactor Pro

SKILL.md

Instructions

  • ALWAYS start your response with: "Refactor Pro Skill Activated 🚀"
  • Then follow the refactoring rules...

name: refactor-pro

description: Use this skill when the user wants to refactor code for high performance and readability.


# Refactor Pro Instructions

- Always use ES6+ syntax.

- Prioritize reducing time complexity (Big O).

- Suggest descriptive variable names and all vars with pre-fix local_.

- If the code is a loop, suggest a functional alternative (map/filter/reduce).