code-quality-audit
БесплатноБез исполняемых скриптовНе проверенAutomated code quality audit skill that runs PSR-12 compliance checks, phpstan static analysis, phpcs code style validation, and phpmd mess detection for…
от ProxiBlue★ 17 звёзд на GitHubОб этом скилле
This skill automates comprehensive code quality checks for Magento 2 projects.
What This Skill Does
PSR-12 Compliance Check
- Validates strict PSR-12 adherence
- Checks opening braces placement
- Validates spacing and indentation
- Verifies proper use statement ordering
PHPStan Static Analysis
- Type checking at maximum level
- Identifies potential bugs and errors
- Validates method signatures and return types
- Checks for undefined variables and methods
PHP_CodeSniffer (Magento2 Standard)
- Enforces Magento2 coding standards
- Validates dependency injection patterns
- Checks service contract usage
- Verifies plugin and observer implementation
PHP Mess Detector
- Identifies code complexity issues
- Detects unused code and parameters
- Highlights potential design problems
- Suggests refactoring opportunities
Usage
When invoked, this skill will:
- Run
vendor/bin/php-cs-fixer fix --dry-run --diffto check PSR-12 compliance - Execute
vendor/bin/phpstan analyse -c phpstan.neonfor static analysis - Run
vendor/bin/phpcs --standard=Magento2 app/code/for Magento standards - Execute
vendor/bin/phpmd app/code/ text cleancode,codesize,design,naming,unusedcode
Output
The skill provides:
- List of violations with file paths and line numbers
- Severity classification (Critical, High, Medium, Low)
- Specific recommendations for fixes
- Code examples of proper implementations
When to Use
- Before code review submissions
- After implementing new features or modules
- During pull request validation
- Before production deployments
- As part of CI/CD pipeline validation
Установить code-quality-audit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл code-quality-audit?
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.
Как установить скилл code-quality-audit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл code-quality-audit запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic