// Provides WordPress coding standards, PHP/CSS style guide, code linting and static analysis (phpcs, phpstan, rector, phpcbf). Use before writing or editing PHP or CSS code, when fixing lint errors, running code quality tools, or reviewing code style compliance.
| name | code-quality |
| description | Provides WordPress coding standards, PHP/CSS style guide, code linting and static analysis (phpcs, phpstan, rector, phpcbf). Use before writing or editing PHP or CSS code, when fixing lint errors, running code quality tools, or reviewing code style compliance. |
This skill provides comprehensive code quality guidelines for the Simple History WordPress plugin, including PHP and CSS standards, tooling commands, and best practices.
IMPORTANT: Invoke this skill proactively BEFORE writing any PHP or CSS code to ensure compliance with project standards.
Invoke this skill:
[] not array(){}, never colon syntaxsh, simplehistory, or simple_historyshsh-ComponentName (e.g., sh-HelpSection, sh-LogEntry)sh-ComponentName-subpart (e.g., sh-LogEntry-author)simple-historySee php-standards.md for detailed PHP style guide including:
See tooling.md for:
See css-standards.md for SuitCSS naming conventions and examples.
See js-standards.md for JavaScript code style.
sh, simplehistory, or simple_historyphpcs.xml.dist - PHP_CodeSniffer configurationphpstan.neon - PHPStan configurationpackage.json - npm scripts for code quality