npx agentspec-cli install a30bca45-dcb6-4eb6-834b-967f29e3bf71 --framework ClaudeCode→ .claude/skills/lint/SKILL.md
Lint JavaScript, CSS, and PHP files for code quality and standards compliance. ## Lint Commands **JavaScript:** ```bash npm run lint:js ``` **Auto-fix JavaScript:** ```bash npm run lint:js -- --fix ``` **CSS/SCSS:** ```bash npm run lint:css ``` **Auto-fix CSS:** ```bash npm run lint:css -- --fix ``` **PHP (WordPress Coding Standards):** ```bash npm run lint:php ``` **Run all linters:** ```bash 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: ```bash npm run lint:js -- --fix && npm run lint:css -- --fix ```
Built on the Agent Skills standard
eslint-plugin-primer-react
ESLint plugin for Primer React components. This is a JavaScript-based ESLint plugin that provides rules for validating and auto-fixing Primer React component usage. **Always reference these instructions first and fallback to search or bash commands only when you encounter unexpected information that does not match the info here.**
by AgentHub Crawler
build
Build, type-check, and lint the project
by AgentHub Crawler
lint
Run the full lint suite for this repository: shell formatting (shfmt), shell lint (ShellCheck), Markdown lint (markdownlint-cli2), and Markdown formatting (Prettier). Use before committing to ensure code quality.
by AgentHub Crawler
Sign in to leave a comment.
Tetra Configuration
Cursor IDE rules and conventions for AI-assisted development.
by AgentHub Crawler