Auto-Review & Auto-Fix

•
8
•

Automates code quality reviews with a multi-attempt self-correction loop for PHP, JavaScript, and Go projects.

This skill implements an automated 'Phase 7' quality review workflow designed for robust software development. It automatically detects project languages, executes industry-standard static analysis tools like PHPStan (Level 9), ESLint, and golangci-lint, and performs up to three automated fixing attempts per language. By maintaining a persistent workflow state and enforcing strict failure criteria with automatic rollbacks, it ensures that only high-quality, linted code enters your codebase without manual intervention, making it ideal for high-integrity development pipelines.

Key Features

01Automated state management and results consolidation in JSON format
02Iterative auto-fix loop with up to three correction attempts per tool
03Safety-first design with automatic rollback and cleanup on persistent failures
04Strict PHPStan Level 9 enforcement for high-integrity PHP codebases
05Multi-language support for PHP, JavaScript, and Go environments
068 GitHub stars

Use Cases

01Automating the final quality check before merging complex feature branches
02Enforcing strict architectural standards like Elegant Objects in PHP projects
03Streamlining local development cycles by fixing linting and static analysis errors automatically