Skip to content
This repository was archived by the owner on May 25, 2026. It is now read-only.

Latest commit

 

History

History
34 lines (27 loc) · 2.21 KB

File metadata and controls

34 lines (27 loc) · 2.21 KB

Coding Standards

Coding standards and workflow guides used across Weblabor projects.

This repository is the single source of truth for shared coding rules, assistant workflow guidance, and feature-analysis documentation.


Core Guides

Guide Description
Installation Global installation for Codex, Claude, and OpenCode without copying files into projects
AI Assistants Shared workflow, command system, and agent responsibilities
Feature Analysis How to write and validate feature analysis documents
Documentation How project documentation should be organized and maintained
How to Generate a CRUD How to create CRUDs with Laravel Front, policies, observers, and optional Livewire overrides

Code Standards

Section Description
PHP Language, code cleanliness, class declarations
Laravel Blade Blade templates, frontend view rules, custom inputs
Laravel Routes Route definitions, route file separation, route naming
Laravel Migrations Migration foreign key behavior
Laravel Models Laravel models, relationships, casts, enums, domain logic
Laravel Notifications Notification base class, required methods, channels
Laravel Policies Policy location, BasePolicy usage, observer pairing
Laravel Observers Observer ownership, event ordering, side effects
Laravel Traits Trait reuse, trait organization, trait self-containment
Services Service responsibilities, read-only model access, call patterns
Livewire Livewire components and validation rules
Tailwind CSS Colors, dark mode, hover states, cursor, nesting, responsive design