livewire-principles

Community

Keep Laravel/Livewire code simple.

Authorsuperdejooo
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Writing Laravel/Livewire apps can devolve into over-engineering, making components hard to maintain and tests brittle. This guide provides a concise mindset and practices to keep code simple, predictable, and maintainable across components, tests, and Blade views.

Core Features & Use Cases

  • Trust the Framework: Leverage Laravel/Livewire built-in validation and state management instead of duplicating logic.
  • Test Behavior, Not Implementation: Validate outcomes and user-visible changes rather than internal mechanics.
  • Let Errors Surface: Fail loudly when something goes wrong to surface actionable feedback for developers.
  • Simple Over Clever: Favor straightforward solutions over premature abstractions.
  • The Happy Path is Usually Enough: Prioritize realistic usage scenarios and avoid testing every edge case.
  • Questions Before You Code: Pause to challenge assumptions before implementing.

Quick Start

Apply these principles when designing Livewire components, tests, and Blade views to keep code clean and maintainable.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: livewire-principles
Download link: https://github.com/superdejooo/gsd-one-by-one/archive/main.zip#livewire-principles

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.