ensi-code-style

Enforce Ensi PHP and Laravel code style guidelines and PSR standards.

1|2|Updated Mar 25, 2026
One-click install
npx skills add https://github.com/ensi-platform/skills --skill ensi-code-style
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ensi-code-style
Source: https://github.com/ensi-platform/skills/tree/main/skills/ensi-code-style
Command: npx skills add https://github.com/ensi-platform/skills --skill ensi-code-style

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill ensures that PHP and Laravel code adheres to the Ensi code style guidelines, enhancing readability and maintainability.

Core Features & Use Cases

  • Code Style Enforcement: Enforces PSR standards and Ensi-specific coding conventions.
  • Automated Refactoring: Automatically refactors code to adhere to guidelines.
  • Use Case: When writing or reviewing PHP/Laravel code, this Skill helps maintain consistency with Ensi's coding standards.

Quick Start

Run the ensi-code-style skill to check the code style of your project.

Frequently Asked Questions about ensi-code-style

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

FAQPage Schema
How do I enforce PHP and Laravel coding standards in my project?

To enforce PHP and Laravel coding standards, you can use automated scripts that validate naming conventions, type hints, and constructor property promotion. This ensures code adheres to PSR standards and specific guidelines for readability and maintainability.

What is automated refactoring for Laravel code style?

Automated refactoring for Laravel code style is the process of automatically updating your PHP codebase to adhere to specific coding conventions. It applies rules for naming, type hints, and property promotion without manual intervention.

Can I use this to check constructor property promotion in PHP?

Yes, you can use code style enforcement scripts to check constructor property promotion in PHP. They validate this feature along with naming conventions and type hints to ensure your code aligns with required standards and conventions.

Does this code style checker work with standard Laravel projects?

Yes, code style enforcement scripts work with standard Laravel projects. They apply to PHP/Laravel environments, enforcing PSR standards alongside specific conventions to maintain consistency across your codebase.

How do I automatically refactor PHP code to follow Ensi guidelines?

To automatically refactor PHP code to follow Ensi guidelines, you run code style enforcement scripts. These scripts identify and update non-compliant code structures, applying required naming conventions and type hints.