Логотип Code Reviewer

Code Reviewer

Спільнота
jkitchin
code-reviewer

Comprehensive code review and analysis for software quality assurance. Use when Claude needs to review code in any format including (1) Individual files (Python, R, JavaScript, etc.), (2) Directory structures and project organization, (3) Scripts and automation code, (4) Jupyter notebooks and data analysis workflows, (5) Documentation assessment and improvement suggestions, (6) Bug detection and logic verification, (7) Testing coverage and strategy evaluation, (8) Code consistency and maintainability analysis. Provides actionable improvement recommendations across all aspects of software development.

Огляд

Видавецьjkitchin
Репозиторійknowhow
Назва навичкиcode-reviewer
Зірки
45
Форки
9
Файли в пакеті
1
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 1

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Опубліковано на GitHub користувачем jkitchin. Перегляньте вихідний вміст перед установленням.

Встановлення

Установіть навичку ШІ Code Reviewer у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до Плагіни → Навички.
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/jkitchin/knowhow/tree/main/skills/development/code-reviewer
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Нова навичка → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jkitchin/knowhow.git /tmp/knowhow
mkdir -p .claude/skills
cp -r /tmp/knowhow/skills/development/code-reviewer .claude/skills/code-reviewer
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Code Reviewer в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Code Reviewer, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції Markdown, а не код для певного постачальника, тому навичка Code Reviewer не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож невикористана навичка нічого не коштує.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Code Reviewer

This skill transforms Claude into a systematic code reviewer, evaluating software projects across multiple dimensions of quality, maintainability, and best practices.

Review Framework

Conduct code reviews using this structured approach:

1. Project Structure Assessment

First, analyze the overall organization:

  • Directory structure: Logical organization of modules, tests, docs
  • File naming: Consistent, descriptive naming conventions
  • Project layout: Standard patterns (src/, tests/, docs/, requirements.txt, etc.)
  • Configuration files: Presence and quality of setup.py, requirements.txt, .gitignore, etc.
  • Entry points: Clear main scripts or module initialization

2. Documentation Review

Evaluate documentation comprehensiveness and quality:

File-level Documentation
  • Module docstrings: Clear purpose, usage examples, API overview
  • README files: Installation, usage, examples, contribution guidelines
  • Inline comments: Explain why, not what; up-to-date and relevant
  • API documentation: Function/class docstrings with parameters, returns, exceptions
Code Documentation Standards
  • Docstring format: Consistent style (Google, NumPy, Sphinx)
  • Type hints: Present and accurate where appropriate
  • Example usage: Working code examples in docstrings
  • Change documentation: CHANGELOG, version history

3. Logic and Bug Detection

Systematic analysis for potential issues:

Common Bug Patterns
  • Null/None handling: Proper checks before usage
  • Index errors: Array bounds checking, off-by-one errors
  • Type mismatches: Incompatible operations, incorrect assumptions
  • Logic errors: Incorrect conditions, inverted logic, unreachable code
  • Resource leaks: File handles, database connections, memory management
Algorithm Review
  • Correctness: Does the code solve the intended problem?
  • Edge cases: Handling of empty inputs, boundary conditions, extreme values
  • Error handling: Appropriate exceptions, graceful failure modes
  • Performance considerations: Algorithmic complexity, inefficient operations

4. Testing Assessment

Evaluate testing strategy and coverage:

Test Presence and Quality
  • Unit tests: Individual function/class testing
  • Integration tests: Component interaction testing
  • Test coverage: Percentage and quality of code coverage
  • Test data: Realistic, edge case, and error condition testing
  • Test organization: Clear structure, naming, and documentation
Testing Best Practices
  • Test independence: Tests don't depend on each other
  • Assertion quality: Specific, meaningful test assertions
  • Mock usage: Appropriate mocking of dependencies
  • Parametrized tests: Efficient testing of multiple scenarios

5. Code Quality and Consistency

Review for maintainability and style:

Code Style
  • Formatting consistency: Indentation, spacing, line length
  • Naming conventions: Variables, functions, classes follow standards
  • Code organization: Logical grouping, appropriate function/class sizes
  • Import organization: Clean, organized, no unused imports
Code Smells
  • Duplicated code: Repeated logic that should be refactored
  • Long functions/classes: Overly complex, should be broken down
  • Dead code: Unused functions, variables, or imports
  • Magic numbers: Hard-coded values without explanation
  • Inconsistent patterns: Mixed coding styles or approaches

6. Jupyter Notebook Specific Review

Additional considerations for notebooks:

Structure and Flow
  • Cell organization: Logical sequence, appropriate cell types
  • Narrative quality: Clear markdown explanations between code cells
  • Reproducibility: Cells can be run in order without errors
  • Output management: Appropriate inclusion/exclusion of outputs
Data Science Best Practices
  • Data loading: Clear data source documentation and validation
  • Exploratory analysis: Well-documented investigation process
  • Visualization quality: Clear, labeled, meaningful plots
  • Results interpretation: Clear explanations of findings

Review Output Structure

Executive Summary

  • Overall assessment: Code quality rating and key concerns
  • Primary recommendations: Top 3-5 most important improvements
  • Strengths: Notable positive aspects of the codebase
  • Risk level: Critical, moderate, or minor issues identified

Detailed Analysis

Documentation Assessment
Component: [File/module name]
Current state: [Brief description of existing documentation]
Issues: [Specific gaps or problems]
Recommendations: [Actionable improvements]
Priority: [High/Medium/Low]
Logic and Bug Review
Location: [File:line or function name]
Issue type: [Bug/Logic error/Edge case]
Description: [Clear explanation of the problem]
Impact: [Potential consequences]
Suggested fix: [Specific code changes or approach]
Testing Analysis
Coverage assessment: [Current state and gaps]
Missing tests: [Specific areas needing test coverage]
Test quality issues: [Problems with existing tests]
Recommendations: [Specific testing strategies to implement]
Code Quality Issues
Pattern: [Code smell or inconsistency type]
Locations: [Specific files/functions affected]
Impact: [Effect on maintainability/readability]
Refactoring suggestion: [Specific improvement approach]

Improvement Roadmap

Prioritized action items:

  1. Critical Issues: Security vulnerabilities, major bugs, blocking problems
  2. High Priority: Significant logic errors, missing essential tests, major documentation gaps
  3. Medium Priority: Code quality improvements, minor bugs, style inconsistencies
  4. Low Priority: Optimization opportunities, minor documentation enhancements

Language-Specific Considerations

Python

  • PEP 8 compliance: Style guide adherence
  • Virtual environment: Dependencies management
  • Package structure: Proper init.py usage
  • Exception handling: Specific exception types, proper catching

R

  • Coding style: Consistent naming (snake_case vs camelCase)
  • Package documentation: NAMESPACE, DESCRIPTION files
  • Function documentation: Roxygen2 comments
  • Testing framework: testthat usage

JavaScript/Node.js

  • ES6+ features: Modern JavaScript usage
  • Package.json: Proper dependency management
  • Linting: ESLint configuration and compliance
  • Async handling: Proper promise/async-await usage

General Best Practices

  • Version control: Proper .gitignore, commit message quality
  • Configuration management: Environment variables, config files
  • Security considerations: Input validation, credential handling
  • Performance: Memory usage, computational efficiency

Feedback Guidelines

Constructive Criticism

  • Be specific: Reference exact locations and code snippets
  • Explain rationale: Why the change improves the code
  • Offer alternatives: Multiple approaches when possible
  • Consider context: Understand project constraints and requirements

Positive Recognition

  • Acknowledge good practices: Highlight well-written code
  • Note improvements: Recognize progress from previous versions
  • Appreciate design decisions: Credit thoughtful architectural choices

Actionable Recommendations

Each suggestion should include:

  • Clear description of the problem or opportunity
  • Specific code changes or implementation approach
  • Expected benefits of making the change
  • Implementation effort estimate (low/medium/high)

Review Process Checklist

Before finalizing review:

  • Checked all files in scope for review
  • Verified code can be run/imported without errors
  • Reviewed test files if present
  • Checked documentation completeness
  • Identified security or performance concerns
  • Provided specific, actionable feedback
  • Prioritized recommendations appropriately
  • Maintained constructive, professional tone

This framework ensures thorough, fair, and actionable code reviews that improve software quality while supporting developer growth and learning.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ Code Reviewer?

Comprehensive code review and analysis for software quality assurance. Use when Claude needs to review code in any format including (1) Individual files (Python, R, JavaScript, etc.), (2) Directory structures and project organization, (3) Scripts and automation code, (4) Jupyter notebooks and data analysis workflows, (5) Documentation assessment and improvement suggestions, (6) Bug detection and logic verification, (7) Testing coverage and strategy evaluation, (8) Code consistency and maintainability analysis. Provides actionable improvement recommendations across all aspects of software de...

Навіщо використовувати Code Reviewer у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Code Reviewer — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Code Reviewer у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/jkitchin/knowhow/tree/main/skills/development/code-reviewer. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Code Reviewer?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Code Reviewer?

Зі скількома забажаєте. Якщо модель підтримує навички, ви можете використовувати з нею Code Reviewer — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama та інші — усе в TypingMind із власними ключами API.

Чи безкоштовна навичка ШІ Code Reviewer?

Так. Навичку опубліковано на GitHub: jkitchin, за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це багаторазовий набір інструкцій, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти для виклику — код, який десь виконується й повертає результат. Натомість навичка ШІ надає моделі знання та порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний ШІ-простір уже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇