Code Review

Run linting, formatting, testing, and documentation checks for Rust and Python projects.

786|79|Updated Jun 6, 2022
One-click install
npx skills add https://github.com/mihai-dinculescu/tapo --skill code-review-mihai-dinculescu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Code Review
Source: https://github.com/mihai-dinculescu/tapo/tree/main/.claude/skills/review
Command: npx skills add https://github.com/mihai-dinculescu/tapo --skill code-review-mihai-dinculescu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of checking code quality, identifying potential issues, and ensuring adherence to coding standards across Rust and Python projects, streamlining the review process.

Core Features & Use Cases

  • Automated Checks: Runs cargo check, clippy, fmt, test, and documentation checks for Rust.
  • Python Validation: Performs type checking (mypy) and formatting (black) for Python code.
  • Consistency Checks: Verifies MCP API changes are reflected in related documentation and skills.
  • Use Case: Before merging a new feature, run this Skill to automatically catch any linting errors, type mismatches, or failing tests, ensuring code quality and reducing manual review time.

Quick Start

Run all Rust and Python checks for the current project.

Frequently Asked Questions about Code Review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate code checks for Rust and Python projects?

Automate code checks by running Cargo, Clippy, MyPy, and Black to perform linting, formatting, type checking, and testing across Rust and Python projects. This identifies potential issues and enforces coding standards automatically before manual review.

What's the best way to run linting and formatting checks before merging a feature?

Run automated linting and formatting checks using Clippy for Rust and MyPy with Black for Python. This process catches type mismatches and style violations early, ensuring code quality and reducing manual review time before a merge.

Can I verify MCP API consistency and documentation together with code validation?

Yes, you can verify MCP API consistency alongside code validation. The automated review process checks that MCP API changes are accurately reflected in related documentation and skills, ensuring comprehensive consistency across project components.

Does this automated review tool work with both Cargo and Black?

Yes, this automated review tool works with both Cargo and Black. It utilizes Cargo for Rust compilation and testing, while leveraging Black for Python formatting, providing deterministic code analysis for both programming environments.

Why does my code review fail after formatting changes?

Code review may fail after formatting changes if the automated checks detect inconsistencies. Running Clippy and Black enforces strict formatting and linting rules, so any deviation from these deterministic standards will trigger an issue identification during the review process.

How do I perform comprehensive testing and documentation validation for Rust?

Perform comprehensive testing and documentation validation for Rust by running cargo check, clippy, fmt, and test commands. This validates code quality, enforces formatting standards, and ensures documentation accuracy across the project.