Volver al catálogo
Curado por modeloDesarrollo

Dosier de la skill

php-pro

Declaración de origen

Use when building PHP applications with modern PHP 8.3+ features, Laravel, or Symfony frameworks. Invokes strict typing, PHPStan level 9, async patterns with Swoole, and PSR standards. Creates controllers, configures middleware, generates migrations, writes PHPUnit/Pest tests, defines typed DTOs and value objects, sets up dependency injection, and scaffolds REST/GraphQL APIs. Use when working with Eloquent, Doctrine, Composer, Psalm, ReactPHP, or any PHP API development.

La descripción original del autor, conservada en inglés. Describe la intención, no un rendimiento verificado.

Use when building PHP applications with modern PHP 8.3+ features, Laravel, or Symfony frameworks. Invokes strict typing, PHPStan level 9, async patterns with Swoole, and PSR standards. Creates controllers, configures middleware, generates migrations, writes PHPUnit/Pest tests, defines typed DTOs and value objects, sets up dependency injection, and scaffolds REST/GraphQL APIs. Use when working with Eloquent, Doctrine, Composer, Psalm, ReactPHP, or any PHP API development.

developmentreferences

El contenido de investigación de este sitio está publicado en inglés y chino, y aquí se muestra en inglés.

Resumen de la investigación

Curado por modelo

Skill Atlas model curation · model-curated-1.0.0

A modern PHP 8.3+ Skill that enforces strict typing, PSR-12, DI and tests, gating delivery on PHPStan level 9 and a PHPUnit or Pest run.

Alcance de la revisión

Deterministic static analysis of collected SKILL.md and supporting text/code. Machine-assisted candidates and findings are static-analysis candidates; no dynamic behavior or effect is assessed.

Capacidades observables

  • Writes typed DTOs, value objects, enums and services with constructor DI.
  • Declares strict types and follows PSR-12.
  • Adds validation, password hashing and SQL-injection protection.
  • Runs PHPStan level 9 and PHPUnit or Pest, requiring 80 percent coverage.

Limitaciones y alcance

  • Examples lean on Laravel classes such as Hash and Eloquent models.
  • Symfony, async and testing detail are in separate reference files.
  • PHPStan and test results are not verified here.

Relevante para

  • PHP developers on Laravel or Symfony
  • Teams adopting static analysis
  • Developers modernizing to PHP 8.3

Qué incluye la skill

El inventario de archivos procede del código fuente recopilado en el commit registrado. Las rutas y los tamaños son observaciones estructurales, no una medida de calidad.

archivos
6
Archivos Markdown
6
scripts
0
referencias
5
Tamaño
52,2 KB
Complejidad estructural
Baja

Inventario de archivos

RutaTipoBytes
skills/php-pro/references/async-patterns.mdReferencia8,8 KB
skills/php-pro/references/laravel-patterns.mdReferencia8,7 KB
skills/php-pro/references/modern-php-features.mdReferencia6,3 KB
skills/php-pro/references/symfony-patterns.mdReferencia11,1 KB
skills/php-pro/references/testing-quality.mdReferencia11,2 KB
skills/php-pro/SKILL.mdInstrucción6,1 KB

Frontmatter de SKILL.md

{
  "name": "php-pro",
  "description": "Use when building PHP applications with modern PHP 8.3+ features, Laravel, or Symfony frameworks. Invokes strict typing, PHPStan level 9, async patterns with Swoole, and PSR standards. Creates controllers, configures middleware, generates migrations, writes PHPUnit/Pest tests, defines typed DTOs and value objects, sets up dependency injection, and scaffolds REST/GraphQL APIs. Use when working with Eloquent, Doctrine, Composer, Psalm, ReactPHP, or any PHP API development.",
  "license": "MIT",
  "metadata": {
    "author": "https://github.com/Jeffallan",
    "company": "https://synergetic.solutions",
    "version": "1.1.0",
    "domain": "language",
    "triggers": "PHP, Laravel, Symfony, Composer, PHPStan, PSR, PHP API, Eloquent, Doctrine",
    "role": "specialist",
    "scope": "implementation",
    "output-format": "code",
    "related-skills": "fullstack-guardian, fastapi-expert"
  }
}

Una lectura de la secuencia de funcionamiento

Este flujo de trabajo reconstruye la secuencia aparente a partir del material de origen. A menos que se registre explícitamente una evaluación controlada, es provisional y no un seguimiento observado.

  1. 01
    Entrada

    Analyze architecture

    Review framework, PHP version, dependencies and patterns.

  2. 02
    Acción

    Implement strictly typed code

    Write PSR-compliant code with DI and repositories, then add validation and security.

  3. 03
    Decisión

    Gate on static analysis and tests

    Fix all PHPStan level 9 errors and pass tests before delivering.

  4. 04
    Salida

    Deliver in order

    Provide models, services, endpoints, tests and an architecture explanation.

Posibles superficies de riesgo

Los hallazgos estáticos señalan puntos que conviene revisar antes de instalar. No establecen que una skill sea segura, maliciosa ni eficaz.

Se recomienda atención

344 deterministic lexical finding(s) require review across the collected text. Findings can occur in documentation and do not prove execution or exploitability; binary-only files were not scanned.

Acceso a la redObservado
Escrituras de archivosObservado
Uso de credencialesObservado
Nota

File modification is described or implemented

323 ocurrencias

This line contains a possible file-write or redirection operation. Check destination paths and overwrite behavior; the static review did not write any file. This rule matched 323 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Media

Network access is mentioned

12 ocurrencias

A URL or network client appears in this source line. Review destinations, data sent, and trust boundaries; static text cannot establish actual network activity. This rule matched 12 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Alta

Credential or secret material is referenced

9 ocurrencias

This line resembles a credential literal or reads a sensitive environment value. Do not expose its contents; verify whether it is a placeholder, required secret, or accidentally committed material. This rule matched 9 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Nota de seguridad editorial

Review password handling, SQL queries and input validation in generated code before merging.

Dónde puede consumirse el contexto

Las capas de descubrimiento, activación y recursos tienen significados distintos. Los valores exactos solo aparecen cuando el método oficial de recuento se ejecutó con un modelo identificado.

Recuento exacto de tokens no disponible

All token values, including per-file inventory, are null until the pipeline performs an official exact count with an explicit model.

No se registró ninguna medición de tokens con el método oficial requerido. Este dosier no la sustituye por recuentos de caracteres, tamaños de archivo ni estimaciones.

Evaluación controlada

Sin evaluación controlada

Esta skill solo cuenta con las evidencias indicadas arriba. No se afirma ninguna tasa de éxito, eficiencia de tokens, latencia ni ventaja de calidad.

Sin probar

Úsala con el código fuente a la vista

Comando de instalación
git clone https://github.com/Jeffallan/claude-skills.git cd claude-skills # Copy this skill directory into one of: # ~/.claude/skills/php-pro # .claude/skills/php-pro
  1. Open the pinned source at https://github.com/Jeffallan/claude-skills/blob/67c1961b180dc92cf08983344627109e983e8f51/skills/php-pro/SKILL.md.
  2. Review the license, prerequisites and all bundled reference files.
  3. Copy the skill directory into a personal or project-level Claude Code skills directory.
  4. Restart or refresh Claude Code so the skill can be discovered.
Verificar la instalación

Ask Claude Code to add a user creation service and confirm it uses a readonly DTO, hashes passwords and proposes PHPStan and test runs.

Requisitos previos

  • Examples lean on Laravel classes such as Hash and Eloquent models.
  • Symfony, async and testing detail are in separate reference files.
  • PHPStan and test results are not verified here.

Prompts de ejemplo

Representative task

Using the php-pro skill, add a CreateUserDTO and UserService with repository injection, a UserStatus enum, and PHPUnit tests, then run PHPStan level 9 and fix every error.

Inspect before use

Read the php-pro skill at https://github.com/Jeffallan/claude-skills/blob/67c1961b180dc92cf08983344627109e983e8f51/skills/php-pro/SKILL.md and its reference files. Explain its workflow, any commands it tells the agent to run, and the main risks before I decide whether to install it.

Una decisión, con sus límites

Fortalezas

  • Hard delivery gate on static analysis and tests.
  • Concrete templates for DTO, service, test and enum.

Aspectos a considerar

  • PHPStan level 9 can be disruptive in legacy codebases.
  • Overlaps with the laravel-specialist skill for Laravel projects.
Conclusión de la investigación

A strict, quality-gated baseline for new or modernized PHP code.

Trazable por construcción

El dosier es una lectura acotada en el tiempo de un artefacto público, no un respaldo. Usa el enlace al código fuente para inspeccionar el material original exacto.

Jeffallanclaude-skillsskills/php-pro
Tipo de origen
Comunidad
Commit
67c1961b180dc92cf08983344627109e983e8f51
Recopilado
20 nov 2026
Última comprobación
20 nov 2026
Licencia original
MIT
Estrellas del repositorio
12.469
Base del contenido

Deterministic lexical parsing, YAML frontmatter validation, file inventory, source-described workflow extraction, and heuristic provisional classification of the supplied files only. Generated by machine; no LLM, execution, or dynamic testing.