wordpress-app

Scaffold WordPress themes, plugins, and blocks for on-device PHP 8.x runtimes.

5.5k|794|Updated Nov 26, 2025
One-click install
npx skills add https://github.com/shiaho777/web-to-app --skill wordpress-app
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wordpress-app
Source: https://github.com/shiaho777/web-to-app/tree/main/app/src/main/assets/skills/wordpress-app
Command: npx skills add https://github.com/shiaho777/web-to-app --skill wordpress-app

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Build WordPress themes and plugins that run on the on-device WordPress runtime, enabling offline, self-contained WordPress experiences on mobile devices.

Core Features & Use Cases

  • Theme and plugin scaffolding for on-device WordPress (PHP 8.x backend, SQLite). Create a <theme-name>/ folder with style.css frontmatter, functions.php, and templates; or a <plugin-name>/ folder with a main PHP file and hooks/filters; or a Block (editor) shape with block.json and a small JS/CSS pair.
  • Enforce WordPress best practices: sanitize outputs, use add_action/add_filter, and avoid shipping vendor files.
  • Use cases include developing local WordPress sites, theme/plugin demos, and offline WP experiences.

Quick Start

Choose a shape (theme, plugin, or block) and scaffold the corresponding package with the required WP files.

Frequently Asked Questions about wordpress-app

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

FAQPage Schema
How do I scaffold a WordPress theme or plugin for an on-device runtime?

To scaffold a WordPress theme or plugin for on-device use, choose a shape and generate the required folder structure, including style.css frontmatter and functions.php for themes, or a main PHP file with hooks for plugins.

Can I develop WordPress blocks for offline or isolated mobile environments?

Yes, you can develop WordPress blocks for offline environments by scaffolding a block shape with block.json and a small JS/CSS pair, designed to run within a self-contained on-device WordPress runtime using PHP 8.x and SQLite.

Does this WordPress scaffolding approach enforce PHP 8.x compatibility and coding standards?

Yes, this scaffolding approach enforces PHP 8.x compatibility and WordPress coding standards by requiring developers to sanitize outputs, escape data, use add_action/add_filter, and avoid shipping vendor files in the generated theme or plugin packages.

What files are required to create an on-device WordPress block?

Creating an on-device WordPress block requires scaffolding a block.json file alongside a small JavaScript and CSS pair to ensure the editor block functions correctly within the self-contained mobile runtime environment.

What is the best way to build self-contained WordPress experiences for mobile devices?

The best way to build self-contained WordPress experiences for mobile devices is using an on-device runtime that scaffolds themes and plugins offline, utilizing a PHP 8.x backend and SQLite to function without external server dependencies.

Are there limitations when developing WordPress plugins for an on-device runtime?

A key limitation when developing plugins for an on-device runtime is avoiding shipping vendor files, while strictly adhering to WordPress best practices like sanitizing outputs and using add_action or add_filter to maintain isolation.