exec-php
Skill4 starsChanged 4 days agoMITView on GitHub
PHP execution idioms to embed into Codex prompts when the target project is PHP — PSR-12, strict types, error handling, and framework conventions.
In this repository76 other files it gives its agents.
- AGENTS.mdAGENTS.md
- accounting-bookkeepingSkill
- agent-context-persistenceSkill
- asoSkill
- brainstorm-argumentationSkill
- brainstorm-debateSkill
- brainstorm-lensesSkill
- causal-inferenceSkill
- context-disciplineSkill
- creative-briefSkill
- customer-support-opsSkill
- data-quality-checksSkill
- design-fundamentalsSkill
- ecommerce-operationsSkill
- event-taxonomySkill
- exec-coding-standardsSkill
- exec-cppSkill
- exec-csharpSkill
- exec-deliverableSkill
- exec-github-actionsSkill
- exec-goSkill
- exec-jvmSkill
- exec-pythonSkill
- exec-rubySkill
- exec-rustSkill
- exec-self-testingSkill
- exec-swiftSkill
- exec-typescriptSkill
- executor-fallbackSkill
- exec-visualizationSkill
- fast-pathSkill
- final-reviewSkill
- financial-auditSkill
- hr-recruitingSkill
- influencer-strategySkill
- interview-ask-backSkill
- interview-elicitationSkill
- jev-assistSkill
- json-data-wranglingSkill
- legal-contract-basicsSkill
- localization-copySkill
- manufacturing-ops-planningSkill
- marketing-attributionSkill
- media-planningSkill
- okr-planningSkill
- pack-game-analyticsSkill
- parallel-executionSkill
- performance-marketingSkill
- personal-financeSkill
- plan-architectureSkill
- plan-backlogSkill
- plan-research-firstSkill
- preflightSkill
- profile-contentSkill
- profile-designSkill
- profile-pilotSkill
- profile-planSkill
- real-estate-analysisSkill
- review-conformanceSkill
- review-dualSkill
- The first 60 shown.
The file
Files
PHP Idioms (embed when project is PHP)
PHP standards:
- declare(strict_types=1) at the top of every file; type every param, return, and property; use
enums and readonly properties where the version supports them.
- Errors: throw specific exceptions (extend the framework's or SPL types); catch narrowly; never
suppress with @; use finally for cleanup; never return false/null to signal errors that callers
will forget to check.
- Immutability: readonly properties / value objects for data that shouldn't change after construction;
avoid mutating arrays passed by reference unless the API contract says so.
- Follow PSR-12 formatting and PSR-4 autoloading; match Composer package/namespace structure. Add
dependencies only via composer.json.
- Framework (if Laravel/Symfony): use its idioms — Eloquent/Doctrine correctly (no N+1: eager-load
relations), form requests / validators for input, dependency injection over facades in new code,
migrations for schema. Don't hand-roll what the framework provides.
- Security: parameterized queries / query builder only (never interpolate input into SQL); escape
output in templates; validate and sanitize all request input at the boundary.
- Tests: PHPUnit (or Pest if the repo uses it); arrange-act-assert; data providers for case tables;
assert behavior, match existing test namespace/layout.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
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.

