Our review
Lints and auto-fixes JavaScript, CSS, and PHP files to ensure code quality and adherence to coding standards (WordPress, ESLint, Stylelint).
Strengths
- Enforces WordPress coding standards across JS, CSS, and PHP
- Auto-fix saves time by correcting many issues automatically
- Covers multiple languages with a single skill
- Works seamlessly with existing npm scripts
Limitations
- Relies on lint scripts being defined in package.json
- Requires a Node.js and npm environment
- Does not catch logical or runtime errors
Before committing to automatically catch style issues and enforce code quality standards.
When you need to temporarily bypass specific lint rules or when the project does not use these linters.
Security analysis
SafeThe skill only instructs running linting commands (npm run lint:*) which are safe development scripts. No destructive, exfiltration, or obfuscated actions are performed.
No concerns found
Examples
Run all linters (JS, CSS, PHP) on the project and show results.Run JavaScript linting with auto-fix enabled.Lint and auto-fix all JavaScript, CSS, and PHP files before preparing the commit.name: lint description: Lint and auto-fix JavaScript, CSS, and PHP files disable-model-invocation: true allowed-tools: Bash(npm run *), Bash(npx wp-env *), Bash(git *), Read, Glob
Lint JavaScript, CSS, and PHP files for code quality and standards compliance.
Lint Commands
JavaScript:
npm run lint:js
Auto-fix JavaScript:
npm run lint:js -- --fix
CSS/SCSS:
npm run lint:css
Auto-fix CSS:
npm run lint:css -- --fix
PHP (WordPress Coding Standards):
npm run lint:php
Run all linters:
npm run lint:js && npm run lint:css && npm run lint:php
What Gets Checked
JavaScript:
- ESLint with @wordpress/eslint-plugin
- WordPress coding standards
- No deprecated APIs
- Proper i18n usage
CSS:
- Stylelint
- BEM naming conventions
- No duplicate selectors
- Property ordering
PHP:
- WordPress PHP Coding Standards (WPCS)
- Security best practices
- Proper escaping and sanitization
- Documentation standards
Before Committing
Always lint before committing:
npm run lint:js -- --fix && npm run lint:css -- --fix
Next.js App Router Expert
Development
A skill that turns Claude into a Next.js App Router expert.
README Generator
Development
Creates professional and comprehensive README.md files for your projects.
API Documentation Writer
Development
Generates comprehensive API documentation in OpenAPI/Swagger format.