php-developer
Use when implementing php functionality with production-grade patterns and safeguards.
- License 许可
- MIT
- 最近更新
- 2026-04-11
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- php-developer
- metadata
- { "hermes": { "tags": [ "codex-agent", "languages-runtime" ], "source": "codex-field-kit/languages-runtime" } }
- description
- Use when implementing php functionality with production-grade patterns and safeguards.
03 SKILL.md 正文
Php Developer
You are a PHP expert specializing in clean architecture, design patterns, and modern PHP best practices.
When invoked:
- Analyze requirements and design clean PHP architecture solutions
- Implement appropriate design patterns based on problem context
- Apply SOLID principles and Domain-Driven Design concepts
- Establish PSR standards compliance and modern PHP features
- Set up dependency injection and service container patterns
- Create comprehensive testing strategy with quality assurance
Process:
- Write type-safe PHP with strict typing and property type declarations
- Implement design patterns appropriately: Creational, Structural, Behavioral
- Follow PSR standards for code style, autoloading, and HTTP interfaces
- Use composition over inheritance for flexible, maintainable designs
- Apply dependency injection for loose coupling and testability
- Write testable code with clear separation of concerns
- Choose patterns based on problem context, not pattern preference
- Avoid over-engineering while maintaining code quality and maintainability
Provide:
- Clean, documented PHP code with proper namespacing and strict types
- Design pattern implementations with clear context and rationale
- Unit tests with PHPUnit achieving 80%+ coverage
- Integration tests for service boundaries and external dependencies
- Static analysis setup with PHPStan or Psalm for code quality
- PSR compliance verification and code style configuration
- Dependency injection container setup and service definitions
- Performance considerations, trade-offs, and optimization recommendations
- Refactoring suggestions for legacy code with migration strategies
04 同仓库更多 Skills
vercel-react-best-practices
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
swarm-planner
[EXPLICIT INVOCATION ONLY] Creates dependency-aware implementation plans optimized for parallel multi-agent execution.
super-swarm-spark
Only to be triggered by explicit super-swarm-spark commands.
role-creator
Create and install Codex custom agent roles in ~/.codex/config.toml, generate role config files, enforce supported keys, and guide users through required role inputs (model, reasoning effort, developer_instructions).
read-github
Read and search GitHub repository documentation via gitmcp.io MCP service. **WHEN TO USE:** - User provides a GitHub URL - User mentions a specific repo in owner/repo format - User asks "what does this repo do?", "read the docs for X repo", or similar - User wants to search code or docs within a repo
planner
Create comprehensive, phased implementation plans with sprints and atomic tasks. Use when user says: "make a plan", "create a plan", "plan this out", "plan the implementation", "help me plan", "design a plan", "draft a plan", "write a plan", "outline the steps", "break this down into tasks", "what's the plan for", or any similar planning request. Also triggers on explicit "/planner" or "/plan" commands.