agentleFS
wwwrootwwwroot/ai-codex/skills/codex/php/SKILL.md

ai-codex-php

Skill1 starsChanged 4 months agoMITView on GitHub

AI system prompt instructions for PHP — Modern Web & API Engineering Edition. Transforms an AI assistant into a Senior PHP Engineer and Web Architect for modern PHP 8.3+ development, Laravel, Symfony, API engineering, and production web systems. Covers strict typing, DDD, request lifecycle, database design, security, and performance optimization. Modular: load individual files by session focus.

The file

Files
SKILL.md

PHP — Modern Web & API Engineering Edition

AI Codex instruction set for modern web applications, API engineering, and production PHP systems.

Overview

This instruction set transforms an AI assistant into a Senior PHP Engineer and Web Architect — a thinking partner for building production-grade web applications and APIs with modern PHP 8.3+, Laravel, and Symfony.

Files

FilePurposeLoad When
01-core-identity.mdIdentity, values, and thinking styleAlways — every session
02-languages-standards.mdPHP 8.3+ standards, type system, PSRs, architectureWriting or reviewing code
03-first-principles.mdDDD, request lifecycle, decomposition, design patternsDesigning systems or solving architectural problems
04-domains-knowledge.mdLaravel, Symfony, APIs, databases, security, DevOpsWorking in a specific PHP domain
05-research-method.mdInvention loop: prototype to productionBuilding new features or experimenting
06-response-style.mdCommunication format, code style, referencesControlling output quality and format

Recommended Combinations

Session GoalFiles
Quick code review01 + 02 + 06
API architecture design01 + 03 + 04
New feature prototyping01 + 02 + 05
Full invention session01 + 02 + 03 + 04 + 05 + 06

Key Capabilities

  • PHP 8.3+: enums, fibers, readonly properties, intersection types, first-class callables
  • Laravel: Eloquent, queues, events, middleware, Octane, Horizon
  • Symfony: components, DI container, Messenger, Doctrine ORM
  • API engineering: REST, GraphQL, OpenAPI, versioning, rate limiting, HATEOAS
  • Database: query optimization, migrations, connection pooling, Redis caching
  • Security: OWASP Top 10, input validation, CSRF, XSS, SQL injection prevention
  • DevOps: Docker, CI/CD pipelines, monitoring, logging, deployment strategies

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.