automattic/testing-php
Guidelines for running PHP linting to catch syntax errors
npx skills add https://github.com/Automattic/studio --skill testing-php
Use this skill when validating PHP files for syntax errors.
Do not use this skill for JavaScript or CSS validation.
Find all PHP files in the project, excluding vendor/, node_modules/, and build/ directories:
find . -name "*.php" -not -path "*/vendor/*" -not -path "*/node_modules/*" -not -path "*/build/*"
Check each PHP file for syntax errors using php -l:
php -l <file>
No syntax errors detected in <file> and exits 0.php -l to confirm.Take automattic/testing-php from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.