Toolverse
All skills

laravel-architecture

by HoangNguyen0403

Core architectural standards for scalable Laravel applications.

Installation

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

Installation

Quick info

Category
Backend
Views
20

About this skill

Core architectural standards for scalable Laravel applications.

How to use

  1. Zainstaluj skill w swoim projekcie Laravel, dodając go do konfiguracji agent skills lub klonując repozytorium do folderu skills w projekcie.

  2. Podczas tworzenia nowego kontrolera pamiętaj, aby ograniczyć go wyłącznie do obsługi żądań i odpowiedzi — nie umieszczaj logiki biznesowej w metodach kontrolera.

  3. Wyodrębnij logikę biznesową do dedykowanych klas: użyj Service classes dla bardziej złożonych operacji lub Action classes dla operacji jednostkowych (preferowane podejście).

  4. Dla każdego formularza lub punktu wejścia danych utwórz Form Request za pomocą polecenia php artisan make:request, a całą walidację umieść w tej klasie zamiast w kontrolerze.

  5. Wstrzykuj wszystkie zależności przez konstruktor lub method injection — nigdy nie używaj słowa kluczowego new do tworzenia instancji klas, polegaj na Service Container.

  6. W trasach nigdy nie umieszczaj logiki biznesowej — deleguj wszystkie operacje do kontrolerów, a te z kolei do serwisów lub akcji. Dla integracji z bibliotekami trzecich stron definiuj interfejsy (kontrakty) w celu oddzielenia implementacji.

Related skills

architecture-decision-records

by wshobson

Write and maintain Architecture Decision Records (ADRs) following best practices for technical decision documentation. Use when documenting significant technical decisions, reviewing past architectural choices, or establishing decision processes.

Backend
29130

find-skills

by openstatusHQ

Helps users discover and install agent skills when they ask questions like \

Backend
150111

openspec

by ruan-cat

OpenSpec 中文版规范助手 - 规范驱动的 AI 编程开发,帮助初始化、创建提案、编写规格、校验格式并归档变更。触发条件: 当用户提及 openspec、规范文档、需求管理、变更提案、spec-driven development 等关键词时主动调用。

Backend
27122

literature-review

by K-Dense-AI

Conduct comprehensive, systematic literature reviews using multiple academic databases (PubMed, arXiv, bioRxiv, Semantic Scholar, etc.). This skill should be used when conducting systematic literature reviews, meta-analyses, research synthesis, or comprehensive literature

Backend
238507

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