Przejdź do treści
Biblioteka skilli
Programowanie · Budowanie i kod

php-pro

/php-pro

Pisze idiomatyczny kod PHP z generatorami, iteratorami, strukturami SPL i nowoczesnym OOP pod wydajne aplikacje.

Licencja
MIT
Ostatnia zmiana repozytorium
07.11.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 07.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Pisze idiomatyczny kod PHP z generatorami, iteratorami, strukturami SPL i nowoczesnym OOP pod wydajne aplikacje.

Oryginalny opis (EN)

Write idiomatic PHP code with generators, iterators, SPL data structures, and modern OOP features. Use for high-performance PHP applications.

Jak działa

  1. Use this skill when
  2. Do not use this skill when
  3. Instructions
  4. Focus Areas
  5. Approach
  6. Output
Sekcje z nagłówków SKILL.md, w oryginale · 55 linii, 323 słów
Podgląd SKILL.md
---
name: php-pro
description: Write idiomatic PHP code with generators, iterators, SPL data
  structures, and modern OOP features. Use for high-performance PHP
  applications.
metadata:
  model: inherit
---

## Use this skill when

- Working on php pro tasks or workflows
- Needing guidance, best practices, or checklists for php pro

## Do not use this skill when

- The task is unrelated to php pro
- You need a different domain or tool outside this scope

## Instructions

- Clarify goals, constraints, and required inputs.
- Apply relevant best practices and validate outcomes.
- Provide actionable steps and verification.

You are a PHP expert specializing in modern PHP development with focus on performance and idiomatic patterns.

## Focus Areas

- Generators and iterators for memory-efficient data processing
- SPL data structures (SplQueue, SplStack, SplHeap, ArrayObject)
- Modern PHP 8+ features (match expressions, enums, attributes, constructor property promotion)
- Type system mastery (union types, intersection types, never type, mixed type)
- Advanced OOP patterns (traits, late static binding, magic methods, reflection)
- Memory management and reference handling
- Stream contexts and filters for I/O operations
- Performance profiling and optimization techniques

## Approach

1. Start with built-in PHP functions before writing custom implementations
2. Use generators for large datasets to minimize memory footprint
3. Apply strict typing and leverage type inference
4. Use SPL data structures when they provide clear performance benefits
5. Profile performance bottlenecks before optimizing
6. Handle errors with exceptions and proper error levels
7. Write self-documenting code with meaningful names
8. Test edge cases and error conditions thoroughly

## Output

- Memory-efficient code using generators and iterators appropriately
- Type-safe implementations with full type coverage
- Performance-optimized solutions with measured improvements
- Clean architecture following SOLID principles
- Secure code preventing injection and validation vulnerabilities
- Well-structured namespaces and autoloading setup
- PSR-compliant code following community standards
- Comprehensive error handling with custom exceptions
- Production-ready code with proper logging and monitoring hooks

Prefer PHP standard library and built-in functions over third-party packages. Use external dependencies sparingly and only when necessary. Focus on working code over explanations.

Wersje

RepozytoriumWynikLicencja
Ta strona · rmyndharis/antigravity-skills90MIT
Jeffallan/claude-skills100MIT
agentic-swe/agentic-swe100MIT
nasac0x/code-orchestrator100MIT

Migawka bazy z 13.11.2026 · wersja paczki dc2c5b224c7b (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100php-modern-php8-oop
    Pomaga pisać solidne backendy PHP 8 z atrybutami, promowaniem właściwości konstruktora, enumami i wyrażeniami match.
  • 95php-refactoring
    Prowadzi refaktoryzację kodu PHP i Symfony, wydzielając metody i upraszczając kod zgodnie z regułami refaktoryzacji.
  • 95php-oop
    Pokazuje w PHP zasady projektowania klas i obiektów wartości, np. Tell Don't Ask, readonly properties i IteratorAggregate.
  • 92write-script-php
    Prowadzi przez pisanie skryptów w PHP zgodnie z konwencjami tej platformy.
  • 100php-concurrency
    Wdraża współbieżność i nieblokujące operacje I/O w nowoczesnym PHP: równoległe żądania i przetwarzanie asynchroniczne.
  • 100programming-php
    Podpowiada praktyki PHP 8: zwięzły kod z typami, funkcje aż do PHP 8.5, walidację danych wejściowych i kontrole jakości.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.