ensi-code-style

Installation
SKILL.md

Ensi Code Style Guide

This skill ensures that PHP and Laravel code follows the official Ensi code style guidelines. Apply these rules consistently when writing, reviewing, or refactoring code in Ensi projects.

Core Principles

Always follow these priorities:

  1. Existing codebase conventions override these guidelines
  2. Code should be readable and maintainable
  3. Follow PSR-1, PSR-2, and PSR-12
  4. Use type hints and modern PHP features
  5. Favor early returns over deep nesting
  6. Minimize comments by writing self-documenting code

PHP Style Rules

Return Types and Properties

Use void return type for methods that don't return anything:

Related skills

More from ensi-platform/skills

Installs
9
GitHub Stars
1
First Seen
Mar 25, 2026