orchestrator:validate

Run PHPStan, PSR-12, and security checks on PHP projects.

Updated Feb 24, 2026
One-click install
npx skills add https://github.com/atournayre/claude-personas --skill orchestrator-validate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: orchestrator:validate
Source: https://github.com/atournayre/claude-personas/tree/main/orchestrator/skills/validate
Command: npx skills add https://github.com/atournayre/claude-personas --skill orchestrator-validate

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the verification of code quality and adherence to best practices, preventing potential issues before they impact development or production.

Core Features & Use Cases

  • Automated Checks: Runs PHPStan, PSR-12 (PHP-CS-Fixer), and counts tests.
  • Code Style & Security: Identifies non-final classes, setters, and potential security vulnerabilities like hardcoded passwords or direct SQL queries.
  • Use Case: Before merging a feature branch, run this Skill to get an immediate report on code quality, ensuring it meets project standards and highlighting areas needing manual review.

Quick Start

Run the orchestrator validate skill with the default PHP checklist.

Frequently Asked Questions about orchestrator:validate

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

FAQPage Schema
How do I automate PHP code quality checks for PHPStan and PSR-12 before merging?

To validate PHP code quality automatically, run automated checks for PHPStan, PSR-12, test coverage, and security vulnerabilities. This process scopes to PHP projects using configurable checklists for general PHP, API, or security reviews, highlighting areas needing manual review.

What is automated PHP security validation and how does it detect vulnerabilities?

Automated PHP security validation scans your code to identify potential security vulnerabilities like hardcoded passwords or direct SQL queries. It also checks for non-final classes and setters, flagging these issues in an immediate report before execution or deployment.

How do I set up a pre-commit hook for PHP test coverage and code style validation?

Set up a pre-commit hook by running an automated validation check that counts tests and verifies PSR-12 code style. This satisfies the requirements for pre-commit hooks and CI/CD pipeline quality gates by preventing potential issues before they impact development.

Can I target a specific directory when running PHPStan and PSR-12 checks?

Yes, you can specify a target directory when running PHPStan and PSR-12 checks. The validation process allows scoping to PHP projects with configurable checklists, ensuring the automated checks only analyze the relevant parts of your codebase.

Does this automated code validation work for API-specific PHP reviews?

Yes, the automated code validation supports API-specific PHP reviews through configurable checklists. It runs PHPStan, checks PSR-12 compliance, counts tests, and identifies security vulnerabilities, providing a tailored quality gate for API endpoints.

What are the limitations of using automated checklists for PHP code validation?

While automated checklists run PHPStan, PSR-12, and security checks effectively, they serve to highlight areas needing manual review rather than replacing human oversight entirely. The validation focuses on known patterns like hardcoded passwords and direct SQL queries, which may not catch all complex architectural flaws.