Refactor this code.
Goals:
- Reduce complexity
- Improve readability
- Remove unnecessary state or logic
- Keep behavior unchanged
Constraints:
- Do not introduce new libraries
- Do not add new architectural patterns
Refactor is an AI agent skill from the GitHub repository xuanye/Vulcan. Refactor code to reduce complexity and improve readability
.claude/skills/refactor/SKILL.md.cursor/rules/refactor.md.agents/skills/refactor/SKILL.mdRefactor this code.
Goals:
Constraints: