Toolverse
All skills

developing-shopper

by shopperlabs

Provides coding standards and patterns for Laravel Shopper development. Use when creating or modifying Models, Actions, Enums, Livewire components, migrations, or tests in any Shopper package.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Category
Frontend
Views
5

About this skill

Provides coding standards and patterns for Laravel Shopper development. Use when creating or modifying Models, Actions, Enums, Livewire components, migrations, or tests in any Shopper package.

How to use

  1. Zainstaluj skill w swoim projekcie Laravel Shopper — dodaj go do konfiguracji agenta lub MCP servera obsługującego skill'e Shopper.
  2. Gdy tworzysz nowy plik PHP w projekcie, zacznij od wymaganego nagłówka: <?php declare(strict_types=1); — skill przypomni ci o tej konwencji.
  3. Podczas definiowania klasy (Model, Action, Enum lub Livewire component) zapoznaj się z kolejnością elementów: cechy (traits), przypadki (cases), stałe, właściwości, konstruktor, metody magiczne, a następnie metody publiczne, chronione i prywatne.
  4. Dla modeli: implementuj interfejs kontraktu (np. ProductContract), używaj cech HasFactory i HasModelContract, zdefiniuj configKey() i getTable() z funkcją shopper_table(), oraz dodaj rzutowania w metodzie casts().
  5. Dla akcji: utwórz klasę final z metodą execute() realizującą jedną odpowiedzialność — skill pomoże ci utrzymać czystość kodu.
  6. Dla enumów: implementuj interfejsy HasColor, HasLabel, HasIcon, używaj cech ArrayableEnum i HasEnumStaticMethods, oraz zwracaj przetłumaczone etykiety z __() w getLabel().

Related skills

2d-games

by davila7

2D game development principles. Sprites, tilemaps, physics, camera.

Frontend
2674

senior-fullstack

by davila7

Comprehensive fullstack development skill for building complete web applications with React, Next.js, Node.js, GraphQL, and PostgreSQL. Includes project scaffolding, code quality analysis, architecture patterns, and complete tech stack guidance. Use when building new projects,

Frontend
2896

apple-reminders

by openclaw

Manage Apple Reminders via the `remindctl` CLI on macOS (list, add, edit, complete, delete). Supports lists, date filters, and JSON/plain output.

Frontend
2085

react

by lobehub

React component development guide. Use when working with React components (.tsx files), creating UI, using @lobehub/ui components, implementing routing, or building frontend features. Triggers on React component creation, modification, layout implementation, or navigation tasks.

Frontend
2058

angular

by sickn33

Modern Angular (v20+) expert with deep knowledge of Signals, Standalone Components, Zoneless applications, SSR/Hydration, and reactive patterns. Use PROACTIVELY for Angular development, component architecture, state management, performance optimization, and migration to modern

Frontend
2656

brainstorming

by obra

Use when creating or developing, before writing code or implementation plans - refines rough ideas into fully-formed designs through collaborative questioning, alternative exploration, and incremental validation. Don't use during clear 'mechanical' processes

Frontend
49170