code-review

Review Python source code for style violations and security issues.

2|Updated May 20, 2026
One-click install
npx skills add https://github.com/Dianshu-Liao/SkilLGuard --skill code-review-dianshu-liao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review
Source: https://github.com/Dianshu-Liao/SkilLGuard/tree/main/data/skills/code-review
Command: npx skills add https://github.com/Dianshu-Liao/SkilLGuard --skill code-review-dianshu-liao

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

It helps you review code for correctness, security risks, and maintainability so issues are caught before they reach production or get merged.

Core Features & Use Cases

  • Style and naming checks: Detects common style problems such as overly long lines, trailing whitespace, potential camelCase usage, and unclear single-letter variables.
  • Structured, severity-based feedback: Organizes review findings into Critical, Important, and Suggestion levels to guide what to fix first.
  • Best-practice review: Focuses on bugs, security issues, and performance problems while ensuring guidance aligns with a referenced style guide.

Quick Start

Use the code-review skill to review the target codebase and generate a severity-ranked checklist of style, security, and correctness concerns.

Frequently Asked Questions about code-review

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

FAQPage Schema
How do I review Python pull requests for style and security issues?

Review Python pull requests by running a style-guide reference and check script to detect style violations, security risks, and likely bugs before merging. The process generates a structured checklist of issues ranked by severity to guide your fixes.

What is automated code review and how does it find bugs before merge?

Automated code review analyzes source code against a style guide and check script to identify style violations, security vulnerabilities, and bugs before changes are merged. It produces structured issue results with a passed or failed outcome to ensure maintainability.

Can I use this code review tool for large-scale refactoring tasks?

This code review tool is suitable for small-to-medium code changes and refactoring guidance. It focuses on Python-centric development workflows, ensuring that style, security, and correctness concerns are caught during pull request reviews before production deployment.

How do I catch naming conventions and style violations in Python code?

Catch naming conventions and style violations by executing the check_style.py script against your source code. It detects common style problems like overly long lines, trailing whitespace, potential camelCase usage, and unclear single letter variables based on a loaded style-guide reference.

What's the best way to prioritize code review findings for maintainability?

Prioritize code review findings using severity-based feedback that organizes issues into Critical, Important, and Suggestion levels. This structured ranking guides you to fix security risks and correctness bugs first, then address maintainability and style improvements.

Why does my Python code review report both style issues and security risks?

A Python code review reports both style issues and security risks because it performs a best-practice review focusing on bugs, security vulnerabilities, and performance problems while simultaneously ensuring guidance aligns with a referenced style guide for overall maintainability.