🧐 Code Critic
This skill helps maintain code quality by identifying potential issues, technical debt, and complexity.
Tasks
1. Review Changes
- Diff Review: Run
scripts/review_diff.sh <base_branch>to get a clean diff of changes between the current branch and the base branch (e.g.,main).
2. Technical Debt
- Find TODOs: Run
scripts/find_todos.shto locateTODO,FIXME, andXXXmarkers in the codebase.
3. Complexity Analysis
- Long Files: Run
scripts/check_complexity.sh <max_lines>to find files that might be getting too large and are candidates for refactoring.
Workflow: Code Review
- Run
review_diff.shto see what has changed. - Run
find_todos.shto see if any new technical debt was introduced. - Run
check_complexity.shto ensure no files have grown beyond manageable limits. - (Optional) Use the LLM to analyze the diff for logic errors or security vulnerabilities.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.