php
Skill2 starsChanged 6 days agoMITView on GitHub
PHP implementation, review, tests, runtime compatibility, and feature or library-floor decisions across PHP5.6,7.4,8.x. Use for language/runtime tasks and mixed-floor packages. Not for frontend-only work or Yii framework security/development ownership. Output: compatibility-safe code or decisions with runtime-matched verification.
11 other projects use a version of this.
Adopted by
Most recently taken up by
- TheLunchTrae/claude-code-configstheir own version, first seen Nov 8, 2026
- AnyOrgName/php-skillstheir own version, first seen Nov 8, 2026
- rogue-dev-studio/ai-agents-roguetheir own version, first seen Nov 1, 2026
- turkeryildirim/ai-skillstheir own version, first seen Nov 1, 2026
- bsene/skillstheir own version, first seen Oct 25, 2026
- G1Joshi/Agent-Skillstheir own version, first seen Oct 13, 2026
Other versions11 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 11
- nimadorostkar/Claude-Skills-collection★ 33same name
- G1Joshi/Agent-Skills★ 15same name
- bsene/skills★ 7same name
- AnyOrgName/php-skills★ 4same name
- turkeryildirim/ai-skills★ 4same name
- kimtth/agent-skill-100-lines-or-less★ 2same name
- rogue-dev-studio/ai-agents-rogue★ 2same name
- cocart-headless/cocart-skills★ 1same name
- 1tomany/agent-skills★ 0same name
- sudarshanpjadhav/finggu-skills★ 0same name
1 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository39 other files it gives its agents.
- AGENTS.mdAGENTS.md
- change-verdictSkill
- code-simplifySkill
- code-traceSkill
- create-prSkill
- deploy-listSkill
- doc-maintainSkill
- feature-verifySkill
- flow-driveSkill
- flow-guideSkill
- git-smart-commitSkill
- git-worktreeSkill
- harness-setupSkill
- issue-analyzeSkill
- js-static-checksSkill
- laravelSkill
- legacy-characterization-testsSkill
- library-authorSkill
- merge-prepSkill
- module-designSkill
- nextjsSkill
- openspec-artifact-guardSkill
- opsx-apply-resumeSkill
- phpunitSkill
- precommitSkill
- project-auditSkill
- project-briefSkill
- proposal-analyzeSkill
- pr-summarySkill
- pythonSkill
- reactSkill
- release-creatorSkill
- repo-intakeSkill
- repo-verifySkill
- swiftSkill
- tdd-workflowSkill
- ui-ux-verifySkill
- vue-2-notesSkill
- yii1Skill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 1 is distinctive, and 3 are very specific to this project.
0
Common
Most of the 10 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Use $php <task> for language/runtime implementation, review, testing, or a feature decision.
- Very specific: line 25
Ask and wait for missing/conflicting/incompatible evidence or unspecified monorepo scope before version-specific resources or dependent …
- Very specific: line 44
All named resources above live in references/.
- Distinctive: line 62
Use the project's test-first workflow for changed behavior.
“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
PHP
Use $php <task> for language/runtime implementation, review, testing, or a
feature decision. Yii framework behavior and framework-security tasks belong to
yii1; this folder remains independently usable for PHP runtime work.
Resolve before versioned loads
- Identify the target package/subproject and task. An intentional explicit target/version override wins; report it separately from observed constraints.
- Inspect target composer.json PHP constraint, lock, platform emulation, CI and
deployment configuration at their actual precision. The lowest supported
floor governs syntax for a shared file.
^7.4 || ^8.0retains7.4 compatibility; a broad>=5.6does not authorize8.x syntax. A lock or config.platform.php value andphp --versiondo not alone prove deployment or package floor. - Ask and wait for missing/conflicting/incompatible evidence or unspecified monorepo scope before version-specific resources or dependent edits. A migration needs an explicit destination. For multiple targets, group references, compatibility decisions and verification evidence per target.
Select only the matching local references
| Target/task | Local resources |
| PHP5.6 language/service compatibility | legacy |
| PHP5.6 + PHPUnit5.7 tests | legacy testing and relevant test quality |
| PHP7.4 baseline, API shape, mixed-floor library | 7.4 |
| PHP8.x feature/minimum-version decision | 8.x, selected section of feature catalog |
| Static analysis/style setup | static checks |
| Generic test design | test quality |
| Resolved Laravel application | laravel-projects, laravel-patterns; version-specific laravel-v10 or laravel-v11-v12 only after exact major evidence |
| Resolved Symfony or async/event-loop work | symfony-patterns or async-patterns only when applicable |
| PHP8.3+ general idioms | modern-php-features only when the floor permits |
All named resources above live in references/. Local framework examples are
starting points, not a substitute for the actual installed major and test
harness. Unsupported or uncertain framework APIs require the matching official
source/tool capability or an explicit NOT_VERIFIED boundary. No external peer
skill or dhpk module is required to perform the runtime task. Missing bundled
resources are BLOCKED.
Compatibility and authority
PHP5.6 uses PHPDoc and compatible test APIs: no strict_types, scalar/return syntax, ??, typed properties, arrows or8.x features. PHP7.4 supports typed properties, arrows and ??=; string-key array spread needs8.1. PHP8.x features must satisfy each catalog minimum. A same-file runtime guard cannot conceal a parser error on an older floor. Attribute use on7.x also requires safe comment layout and a compatible metadata consumer; do not infer general8.x support. Public parameter names matter to named-argument callers. A floor bump is an explicit compatibility/semver decision, not an automatic fix.
Use the project's test-first workflow for changed behavior; isolate dependencies and preserve parameter binding, authorization-before-side-effects, thin adapters, and transaction/idempotency boundaries. Implementation requests authorize scoped code/tests/configuration edits; review/advice requests stay read-only. A design or local test request grants no shared database mutation, DDL, package release, commit or push permission. Optional consumer hooks are background integrations, not required bundled runners.
Completion
Return target floor and evidence/override, selected resource set, resulting
code or feature/floor decision, framework-specific design where relevant,
runtime-matched test recommendations/results, and residual risks. Record parser,
static-analysis and focused tests separately for every target. An unavailable
legacy runtime is NOT_RUN; running a new PHP binary does not prove5.6
compatibility. Preserve local, DB/provider and release evidence separately.
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.

