name: Code Review
description: A comprehensive guide and checklist for performing code reviews on Vue 3 + TypeScript projects.
Code Review Skill
Use this skill when the user asks you to "review code", "check for bugs", or "perform a code review". This skill ensures consistency and depth in your reviews.
Review Checklist
1. Functional Correctness
2. TypeScript & Type Safety
3. Vue 3 Best Practices
4. Code Quality & Style
5. Performance & Security
Workflow
- Analyze: Read the files provided by the user or identified in the task.
- Evaluate: check the code against the checklist above.
- Report:
- Summary: A high-level overview of the code quality.
- Issues: List specific issues found, grouped by severity (Critical, Major, Minor). Include line numbers.
- Example:
src/views/Home.vue:45 - Destructuring props causes loss of reactivity. Use props.propName or toRefs(props).
- Suggestions: Improvement suggestions (refactoring, better approaches).
- Fix (Optional): If the user requests, apply the fixes based on the review.