reviewer:elegant-objects

Analyze PHP code for Elegant Objects principle violations and compliance scores.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps developers ensure their PHP code adheres to the principles of Elegant Objects, improving code quality, maintainability, and design.

Core Features & Use Cases

  • Code Analysis: Automatically checks PHP code against a defined set of Elegant Objects rules.
  • Rule Enforcement: Identifies violations related to classes, methods, and tests.
  • Scoring: Calculates a compliance score and provides detailed feedback.
  • Use Case: Integrate this Skill into your CI pipeline to automatically flag code that deviates from Elegant Objects principles before it gets merged.

Quick Start

Run the reviewer:elegant-objects skill on the file named User.php.

Frequently Asked Questions about reviewer:elegant-objects

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

FAQPage Schema
How do I check if my PHP code follows Elegant Objects principles?

To check if your PHP code follows Elegant Objects principles, you can analyze specific files or modified Git branch files to identify violations in class structure, method design, and test cases, generating a detailed compliance report.

What is the best way to enforce Elegant Objects rules in a PHP pipeline?

The best way to enforce Elegant Objects rules in a PHP pipeline is to run automated code analysis that flags deviations in classes, methods, and tests before merging, providing a compliance score and detailed feedback.

Can I analyze only the modified PHP files in my current Git branch for code quality?

Yes, you can analyze only the modified PHP files in your current Git branch. The analysis automatically excludes vendor and cache directories, targeting your specific changes to calculate an Elegant Objects compliance score.

Does the Elegant Objects code review support TDD and refactoring checks?

Yes, the Elegant Objects code review supports TDD and refactoring checks by identifying violations in test cases and method design, ensuring your test-driven development and refactoring efforts align with strict structural principles.

What does an Elegant Objects PHP compliance report include?

An Elegant Objects PHP compliance report includes a calculated compliance score and detailed feedback on identified violations related to class structure, method design, and test cases within the analyzed PHP codebase.

Are vendor and cache directories excluded from PHP code analysis?

Yes, vendor and cache directories are automatically excluded from the PHP code analysis to ensure the compliance score and reports focus strictly on your project's source code and modified Git branch files.