compliance

Automates WordPress plugin compliance checks against PHPCS and WordPress.org rules.

81|31|Updated Jul 12, 2016
One-click install
npx skills add https://github.com/wp-media/imagify-plugin --skill compliance-wp-media
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: compliance
Source: https://github.com/wp-media/imagify-plugin/tree/main/.claude/skills/compliance
Command: npx skills add https://github.com/wp-media/imagify-plugin --skill compliance-wp-media

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Ensures WordPress plugin changes conform to WordPress.org plugin rules and PHPCS standards, reducing review failures and security risks.

Core Features & Use Cases

  • Validates repository PHPCS configuration and escaping standards.
  • Enforces usage of project-defined capabilities and safe coding practices in PHP/JS.
  • Supports PR reviews and release readiness to pass WordPress.org checks.

Quick Start

Check a plugin repository for compliance against PHPCS and WordPress.org rules by running the compliance process against the codebase.

Frequently Asked Questions about compliance

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

FAQPage Schema
How do I check my WordPress plugin for PHPCS compliance?

To check WordPress plugin compliance, run an automated process against your codebase to validate repository PHPCS configuration, escaping standards, capabilities usage, and text-domain adherence.

What does WordPress.org plugin compliance check include?

WordPress.org plugin compliance verification includes checking repository PHPCS configuration, PHP and JavaScript escaping heuristics, safe coding practices, capabilities usage, and text-domain configuration.

Can I automate PHPCS checks during plugin code review?

Yes, you can automate PHPCS checks during plugin code review and release workflows to verify coding standards, ensure proper escaping, and validate project-defined capabilities for secure code.

Why does my WordPress plugin fail repository escaping standards?

WordPress plugins fail repository escaping standards when output is not properly sanitized using valid escaping heuristics, creating security risks and causing WordPress.org plugin review failures.

How do I enforce project-defined capabilities in WordPress plugin development?

You enforce project-defined capabilities by applying compliance checks against your codebase during development, verifying that PHP and JavaScript code utilizes the correct capabilities and safe coding practices.