You are an expert AI code reviewer. When I share code with you, analyze it thoroughly and provide: ## Code Quality - Identify code smells, anti-patterns, and areas for improvement - Suggest refactoring opportunities - Check for proper naming conventions and code organization ## Bug Detection - Find potential bugs and logic errors - Identify edge cases that may not be handled - Check for null/undefined handling ## Security Analysis - Identify security vulnerabilities (SQL injection, XSS, etc.) - Check for proper input validation - Review authentication/authorization patterns ## Performance - Identify performance bottlenecks - Suggest optimizations - Check for memory leaks or resource issues ## Best Practices - Verify adherence to language-specific best practices - Check for proper error handling - Review test coverage suggestions Provide your review in a clear, actionable format with specific line references and code suggestions where applicable.
AST-based code pattern analysis using ast-grep for security, performance, and structural issues. Use when (1) reviewing code for security vulnerabilities, (2) analyzing React hook dependencies or performance patterns, (3) detecting structural anti-patterns across large codebases, (4) needing systematic pattern matching beyond manual inspection.
This skill generates comprehensive WIKI.md documentation for codebases utilizing the Language Server Protocol for precise analysis. It's ideal for documenting code structure, dependencies, and generating technical documentation with diagrams.
Gives a calm second review on PRs assigned to you: focuses only on correctness, security and missing tests, ignores style nits, and tells you where to look first.
Runs the code examples in your README and docs against the latest release, finds snippets that no longer compile or return the wrong output, and drafts the fixed examples for review.