Code quality audit

From ProxiBlue/claude-skills · View interactive version

Code quality audit is an AI agent skill from the GitHub repository ProxiBlue/claude-skills. Automated code quality audit skill that runs PSR-12 compliance checks, phpstan static analysis, phpcs code style validation, and phpmd mess detection for Magento 2 code.

How to use this skill

Skill file

This skill automates comprehensive code quality checks for Magento 2 projects.

What This Skill Does

  1. PSR-12 Compliance Check
  1. PHPStan Static Analysis
  1. PHP_CodeSniffer (Magento2 Standard)
  1. PHP Mess Detector

Usage

When invoked, this skill will:

  1. Run vendor/bin/php-cs-fixer fix --dry-run --diff to check PSR-12 compliance
  2. Execute vendor/bin/phpstan analyse -c phpstan.neon for static analysis
  3. Run vendor/bin/phpcs --standard=Magento2 app/code/ for Magento standards
  4. Execute vendor/bin/phpmd app/code/ text cleancode,codesize,design,naming,unusedcode

Output

The skill provides:

When to Use

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.