lint
Lint and auto-fix JavaScript, CSS, and PHP files
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Menü
Lint and auto-fix JavaScript, CSS, and PHP files
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Basierend auf der SOC-Berufsklassifikation
Create a new Gutenberg block with scaffolding
Use when working with the WordPress Abilities API (wp_register_ability, wp_register_ability_category, /wp-json/wp-abilities/v1/*, @wordpress/abilities) including defining abilities, categories, meta, REST exposure, and permissions checks for clients.
Prepare plugin for WordPress.org deployment
Use when generating responses containing factual claims, API details, configuration specifics, version compatibility, or recalled knowledge that could be hallucinated - especially when not working directly from source code or command output
Use when executing implementation plans with independent tasks in the current session
Create a block extension to enhance core WordPress blocks
| 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.
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
JavaScript:
CSS:
PHP:
Always lint before committing:
npm run lint:js -- --fix && npm run lint:css -- --fix