ensure-code-quality-plus

Review and fix Python code quality violations in current git changes.

11|Updated Mar 19, 2019
One-click install
npx skills add https://github.com/lukoshkin/evangelist --skill ensure-code-quality-plus
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ensure-code-quality-plus
Source: https://github.com/lukoshkin/evangelist/tree/main/conf/ai/claude/skills/ensure-code-quality-plus
Command: npx skills add https://github.com/lukoshkin/evangelist --skill ensure-code-quality-plus

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Stricter variant of the code-quality workflow: reviews the quality violations introduced in the current session's changes and fixes them with extra guardrails.

Core Features & Use Cases

  • Enforces guard-clauses and forbids in-function / mid-module imports
  • Focuses on changes staged in the current session (git diff) with an optional extend mode for full-file analysis
  • Applies to Python projects and tests to ensure comprehensive quality

Quick Start

Run ensure-code-quality-plus on your current git changes to review and fix all in-scope quality violations.

Frequently Asked Questions about ensure-code-quality-plus

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

FAQPage Schema
How do I enforce guard clauses and prevent in-function imports in my Python code?

You can enforce guard clauses and prevent in-function imports by running automated static analysis on your Python changes to detect and fix quality violations based on predefined rules.

Can I run static analysis on only the git diff instead of the full Python file?

Yes, static analysis can target only the staged git diff by default to review current session changes, with an optional extend mode available to analyze the full Python file scope.

What is the best way to automatically fix code quality violations in staged changes?

The best way to automatically fix code quality violations is using a review tool that operates on your git diff, reports actionable violations, and applies fixes to enforce guard clauses and import rules.

Does this automated code review work with Python tests as well as source files?

Yes, the automated code review applies to both Python source files and tests to ensure comprehensive quality coverage and enforce guard clauses across all project changes.

Why should I use a focused git diff analysis instead of full-file static analysis?

Focused git diff analysis isolates newly introduced quality violations in your current session, ensuring faster reviews and preventing unintended modifications to existing code, with an optional extend mode for full-file checks.