wordpress-blocks

Community

Craft dynamic WordPress blocks with modern APIs.

Authormikkelkrogsholm
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill empowers developers to build interactive and seamlessly integrated WordPress blocks, leveraging the latest APIs to enhance user experience and content management without relying on outdated methods. It streamlines block development and ensures future compatibility.

Core Features & Use Cases

  • Block Hooks API: Dynamically inject blocks into specific theme locations or post content, enabling flexible and non-invasive plugin integration without modifying template files.
  • Interactivity API: Add rich, client-side interactivity to blocks using a declarative JavaScript approach, simplifying complex frontend features like toggles, tabs, and dynamic content.
  • Custom Post Types & Starter Content: Define custom content structures and provide default block templates for new posts, streamlining content creation and ensuring consistency.
  • Use Case: Create a "Product Carousel" block. This Skill guides you to use the Interactivity API to add dynamic navigation (next/previous buttons) and the Block Hooks API to automatically inject this carousel into product pages without manual template edits, saving development time and improving user engagement.

Quick Start

Outline the steps to create a new interactive WordPress block that uses the Interactivity API to toggle content visibility.

Dependency Matrix

Required Modules

@wordpress/interactivity

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: wordpress-blocks
Download link: https://github.com/mikkelkrogsholm/wp-plugins/archive/main.zip#wordpress-blocks

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.