Toolverse
All skills

php-guidelines-from-spatie

by freekmurze

Describes PHP and Laravel guidelines provided by Spatie. These rules result in more maintainable, and readable code.

Installation

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

Installation

Quick info

Category
Security
Views
20

About this skill

Describes PHP and Laravel guidelines provided by Spatie. These rules result in more maintainable, and readable code.

How to use

  1. Zainstaluj umiejętność w Claude'a, dodając plik z wytycznymi do katalogu skills w konfiguracji Claude'a (zazwyczaj ~/.config/claude/skills/).

  2. Podczas pisania lub recenzji kodu PHP/Laravel, odwołaj się do tej umiejętności, aby Claude przestrzegał wytycznych Spatie dotyczących struktury klas, deklaracji typów i docbloków.

  3. Pamiętaj o głównej zasadzie: najpierw stosuj konwencje Laravel – jeśli Laravel ma udokumentowany sposób na coś, użyj go, a od konwencji odchodź tylko gdy masz jasne uzasadnienie.

  4. Przy definiowaniu właściwości klasy używaj typed properties zamiast docbloków, a gdy to możliwe, skorzystaj z constructor property promotion.

  5. W docblockach zawsze importuj nazwy klas (nigdy nie używaj w pełni kwalifikowanych nazw) i dokumentuj typy iterowalne z kluczami i wartościami, np. @return Collection<int, User>.

  6. Dla metod w pełni type-hintowanych pomijaj docbloki, chyba że potrzebujesz dodać opis – zamiast tego używaj notacji ?Type dla nullable types zamiast Type|null.

Related skills

google-analytics

by davila7

Analyze Google Analytics data, review website performance metrics, identify traffic patterns, and suggest data-driven improvements. Use when the user asks about analytics, website metrics, traffic analysis, conversion rates, user behavior, or performance optimization.

Security
1260

security-compliance

by davila7

Guides security professionals in implementing defense-in-depth security architectures, achieving compliance with industry frameworks (SOC2, ISO27001, GDPR, HIPAA), conducting threat modeling and risk assessments, managing security operations and incident response, and embedding

Security
1172

better-auth-best-practices

by novuhq

Skill for integrating Better Auth - the comprehensive TypeScript authentication framework.

Security
1148

brand-voice

by anthropics

Apply and enforce brand voice, style guide, and messaging pillars across content. Use when reviewing content for brand consistency, documenting a brand voice, adapting tone for different audiences, or checking terminology and style guide compliance.

Security
48158

obsidian

by gapmiss

Comprehensive guidelines for Obsidian.md plugin development including all 27 ESLint rules, TypeScript best practices, memory management, API usage (requestUrl vs fetch), UI/UX standards, and submission requirements. Use when working with Obsidian plugins, main.ts files,

Security
14111

zendesk

by vm0-ai

Zendesk Support REST API for managing tickets, users, organizations, and support operations. Use this skill to create tickets, manage users, search, and automate customer support workflows.

Security
11100