code-standards-checker

Detect project type and run PHPCS or ESLint to report coding standard violations.

16|4|Updated Oct 13, 2025
One-click install
npx skills add https://github.com/kanopi/cms-cultivator --skill code-standards-checker
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-standards-checker
Source: https://github.com/kanopi/cms-cultivator/tree/main/skills/code-standards-checker
Command: npx skills add https://github.com/kanopi/cms-cultivator --skill code-standards-checker

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps developers automatically verify that their code adheres to established coding standards, reducing review cycles and style-related bugs.

Core Features & Use Cases

  • Detects Drupal, WordPress PHP standards via PHPCS or ESLint for JavaScript projects.
  • Applies the appropriate standard based on project type and user input, and reports violations with suggested fixes.
  • Useful for quick on-demand checks or CI-friendly project-wide audits to maintain consistent code quality.

Quick Start

Ask me to run a standards check on your project to verify PHP and JavaScript code against Drupal, WordPress, or generic coding standards.

Frequently Asked Questions about code-standards-checker

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check my code against Drupal and WordPress PHP coding standards?

To check PHP coding standards, the skill detects your project type and runs PHPCS against Drupal or WordPress standards, reporting violations with suggested fixes. You can trigger an on-demand check or a project-wide audit.

Can I use ESLint for static analysis on JavaScript projects?

Yes, you can use ESLint for static analysis on JavaScript projects. The skill detects the project type and runs ESLint to report style guide violations and provide auto-fix guidance.

How do I automatically enforce coding standards in a PHP project?

You can automatically enforce coding standards by running a standards check on your PHP project. The skill identifies the project type and applies the relevant PHPCS ruleset to report violations.

Does this coding standards checker work for both PHP and JavaScript?

Yes, the coding standards checker works for both PHP and JavaScript. It applies PHPCS for PHP projects like Drupal and WordPress, and ESLint for JavaScript projects, based on detected configuration.

What is the best way to run a project-wide coding standards audit?

The best way to run a project-wide audit is to ask the skill to check your project. It detects the project type, runs the appropriate static analysis tools, and reports violations with optional auto-fix guidance.

Why does my code fail the PHPCS coding standards check?

Your code fails the PHPCS check because it contains style guide violations. The skill identifies the specific coding standards violations and provides suggested fixes to help you resolve the issues.