Toolverse
All skills

model

by JaguarJack

Generate Eloquent model for CatchAdmin module with full CatchModel features.

Installation

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

Installation

Quick info

Category
Backend
Views
1

About this skill

Generate Eloquent model for CatchAdmin module with full CatchModel features.

How to use

  1. Umieść skill w katalogu .claude/skills/03-model w repozytorium CatchAdmin. Skill będzie dostępny jako krok 3 w procesie generowania modułu.

  2. Przygotuj informacje o module: nazwę modułu (np. Products), nazwę modelu (np. Product) oraz nazwę tabeli w bazie danych (np. products).

  3. Uruchom skill, podając parametry: moduł, model i tabelę. Skill wygeneruje plik modelu w lokalizacji modules/{Module}/Models/{Model}.php.

  4. Zdefiniuj pola przeszukiwalne w tablicy $searchable, określając dla każdego pola operator (like, =, in, between). Na przykład: 'name' => 'like' dla wyszukiwania po nazwie.

  5. Skonfiguruj pola wyświetlane w liście poprzez tablicę $fields oraz pola formularza w $form. Dodaj relacje wiele-do-wielu w $formRelations jeśli model ma powiązania.

  6. Opcjonalnie skonfiguruj sortowanie (pole $sortField, kierunek $sortDesc) oraz strukturę drzewa (kolumna $parentIdColumn) jeśli model wymaga hierarchii.

Related skills

dotnet-backend

by anton-abyzov

.NET/C# backend developer for ASP.NET Core APIs with Entity Framework Core. Builds REST APIs, minimal APIs, gRPC services, authentication with Identity/JWT, authorization, database operations, background services, SignalR real-time features. Activates for: .NET, C#, ASP.NET

Backend
92296

humanizer

by davila7

Remove signs of AI-generated writing from text. Use when editing or reviewing\ntext to make it sound more natural and human-written. Based on Wikipedia's\ncomprehensive \

Backend
2873

postgresql-psql

by timelessco

Comprehensive guide for PostgreSQL psql - the interactive terminal client for PostgreSQL. Use when connecting to PostgreSQL databases, executing queries, managing databases/tables, configuring connection options, formatting output, writing scripts, managing transactions, and

Backend
34173

youtube-transcribe-skill

by feiskyer

Extract subtitles/transcripts from a YouTube video URL and save as a local file. Use when you need to extract subtitles from a YouTube video.

Backend
24178

sql-optimization-patterns

by wshobson

Master SQL query optimization, indexing strategies, and EXPLAIN analysis to dramatically improve database performance and eliminate slow queries. Use when debugging slow queries, designing database schemas, or optimizing application performance.

Backend
40163

supabase-developer

by daffy0208

Build full-stack applications with Supabase (PostgreSQL, Auth, Storage, Real-time, Edge Functions). Use when implementing authentication, database design with RLS, file storage, real-time features, or serverless functions.

Backend
78170