
from superpowers-sage13
Implements Laravel-style HTTP middleware, JWT authentication, and request filtering within WordPress using Acorn and Sage.
This skill enables the agent to implement and manage HTTP middleware within a WordPress environment powered by Acorn. It allows for the creation of request filters, authentication guards, and response post-processors, bringing Laravel's robust middleware pipeline to WordPress/Sage/Bedrock sites.
Use this skill when protecting Acorn routes with authentication (JWT, API tokens), implementing rate limiting, CSRF validation, locale detection, or performing role and capability checks before a controller is executed.
create-middleware.sh for generating middleware classes via Lando.wp_set_current_user calls for auth, and strict JSON error returns for API middleware.Primarily designed for Claude Code and agents integrated with Lando/WordPress development environments.
This skill has not been reviewed by our automated audit pipeline yet.
Design Tool Integration — Superpowers Sage
Route design links (Paper, Figma, Stitch, local assets) to the correct extractor, extract per-section layout and assets, and save structured design notes for im
WordPress Security Hardening (Sage/Acorn)
Comprehensive security patterns for WordPress development using Sage and Acorn, focusing on sanitization, escaping, and authorization.
WordPress REST API Patterns
Expert patterns for creating, modifying, and debugging WordPress REST API endpoints, ensuring secure and performant API surfaces.