wordpress-pro

Implements WordPress themes, plugins, Gutenberg blocks, and WooCommerce features with security hardening.

1|Updated Jul 2, 2026
One-click install
npx skills add https://github.com/filippolmt/skills --skill wordpress-pro-filippolmt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wordpress-pro
Source: https://github.com/filippolmt/skills/tree/main/skills/wordpress-pro
Command: npx skills add https://github.com/filippolmt/skills --skill wordpress-pro-filippolmt

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Building WordPress themes, plugins, and Gutenberg blocks correctly requires deep knowledge of hooks, nonces, sanitization, escaping, and WPCS coding standards, and mistakes lead to security vulnerabilities or broken sites. ## Core Features & Use Cases - Theme & Plugin Development: Scaffold custom themes and plugins with proper structure, activation hooks, Settings API, and custom post types. - Gutenberg Block Creation: Register static, dynamic, and interactive blocks using block.json, ServerSideRender, and the Interactivity API. - Security & Performance Hardening: Apply nonce verification, input sanitization, output escaping, prepared SQL statements, capability checks, caching, and query optimization. - Use Case: Ask for a dynamic "Recent Posts" Gutenberg block with category filtering and receive a complete block.json, edit.js, and render.php implementation following WordPress coding standards. ## Quick Start Use the wordpress-pro skill to create a custom Gutenberg block that displays recent posts with a featured image toggle.

Frequently Asked Questions about wordpress-pro

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

FAQPage Schema
How do I create a custom Gutenberg block in WordPress?

Use @wordpress/create-block to scaffold the project, define metadata in block.json with apiVersion 3, then implement edit.js and save.js components. Register the block in PHP with register_block_type on the init hook.

How to secure WordPress forms against CSRF attacks?

Add wp_nonce_field to the form and verify submissions with wp_verify_nonce before processing. Combine this with capability checks using current_user_can and sanitize all input with functions like sanitize_text_field.

What is the difference between static and dynamic Gutenberg blocks?

Static blocks save fixed HTML via save.js, while dynamic blocks render on the server through a render.php callback. Dynamic blocks suit content that changes, like recent posts lists, and use ServerSideRender for editor previews.

Does WordPress require prepared statements for database queries?

Yes, all custom queries through $wpdb must use $wpdb->prepare with placeholders like %d and %s to prevent SQL injection. Never interpolate user input directly into SQL strings or hardcode table names without $wpdb->prefix.

Why is my WordPress site slow and how do I fix it?

Common causes include N+1 queries, missing object caching, and unoptimized assets. Use transients for expensive queries, enable Redis or Memcached object caching, defer non-critical scripts, and set no_found_rows on WP_Query when pagination is unneeded.