superpowers-sage:wp-rest-api
OfficialWordPress REST API patterns and endpoints.
Authorcodigodoleo
Version1.0.0
Installs0
System Documentation
What problem does it solve?
WordPress REST API design and debugging often require careful orchestration between native REST endpoints and Acorn Routes, plus consistent authentication and schema practices. This Skill codifies decision matrices, best practices, and patterns to streamline endpoint creation, security, and maintainability in Sage projects.
Core Features & Use Cases
- Guides when to use native REST vs Acorn Routes and how to coexist within a Sage project.
- Details best practices for registering REST endpoints with rest_api_init and always including a permission_callback.
- Outlines authentication patterns (cookie/nonce, Application Passwords, JWT) and how to expose custom fields and CPTs.
- Provides troubleshooting guidance, anti-patterns, and escalation steps for REST API development.
Quick Start
Review the Skill and integrate native REST and Acorn Routes patterns into your WordPress Sage project.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: superpowers-sage:wp-rest-api Download link: https://github.com/codigodoleo/superpowers-sage/archive/main.zip#superpowers-sage-wp-rest-api Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.