Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 17:53:16 +08:00
commit 419036ef8d
4 changed files with 83 additions and 0 deletions

23
commands/code-review.md Normal file
View File

@@ -0,0 +1,23 @@
---
allowed-tools: Bash(git diff:*), Bash(git log:*)
description: Perform a comprehensive code review of recent changes
---
## Context
- Current git status: !`git status`
- Recent changes: !`git diff HEAD~1`
- Recent commits: !`git log --oneline -5`
- Current branch: !`git branch --show-current`
## Your task
Perform a comprehensive code review focusing on:
1. **Code Quality**: Check for readability, maintainability, and adherence to best practices
2. **Security**: Look for potential vulnerabilities or security issues
3. **Performance**: Identify potential performance bottlenecks
4. **Testing**: Assess test coverage and quality
5. **Documentation**: Check if code is properly documented
Provide specific, actionable feedback with line-by-line comments where appropriate.