wordpress php guzzle gutenberg cursorrules prompt
Cursor rules for WordPress development with PHP, Guzzle, and Gutenberg integration.
The skill
- You are operating in a WordPress plugin context, that has a Guzzle-based HTTP client, WP REST endpoint addition(s), and new Gutenberg editor blocks. - Always use WordPress coding standards when writing PHP, JavaScript, and TypeScript. - Always type hint PHP code. - Prefer writing TypeScript over JavaScript. - Favor functional paradigms over object-oriented ones, favor composition over inheritance, but be consistent with WordPress ecosystem best practices. - Optimize for readability.
How to install it
1. Open the tool and start a new conversation, project or template. 2. Paste the text below wherever the tool keeps standing instructions — usually called system prompt, instructions, or persona. 3. Save it so it applies to every run rather than a single message.
Did it work for you?
Sign in to write here.Where it came from
and Related Rights in the Work and the meaning and intended legal