cursorrules-cursor-ai-wordpress-draft-macos-prompt — Cursor rule
A Cursor rule that describes the PressThat project: a system tray app that connects to WordPress and creates draft posts. Useful if you work on that app in Cursor.
.cursor/rules/cursorrules-cursor-ai-wordpress-draft-macos-prompt.mdcWhat cursorrules-cursor-ai-wordpress-draft-macos-prompt does
The file gives Cursor's agent context about the project. Inside is a description of PressThat: the app sits in the system tray and connects to your WordPress site to create draft posts. Then comes the first-run setup flow — the user supplies the site URL, a username and a generated Application Password.
That password is created in the WordPress dashboard at the bottom of the "Users -> Profile" page. It is separate from the main account password and can be revoked at any time. The rule is scoped with the **/* glob, but alwaysApply is set to false, so it reaches the context only when you decide it should.
Worth adding if you are actually building PressThat. On any other WordPress project it describes someone else's architecture, and the agent will lean on it for no reason.
What it helps with
- tell the agent what PressThat is and how it is put together
- connect the app to a WordPress site with URL and username
- generate an Application Password on the user profile page
- revoke site access when the password is no longer needed
- keep the first-run setup flow in front of the agent
Example prompts for the agent
- Describe how a new user sets up PressThat for the first time
- Where in the WordPress dashboard do I generate an Application Password?
- What happens after the PressThat app is installed?
How to install cursorrules-cursor-ai-wordpress-draft-macos-prompt
Manually: put the files in place
.cursor/rules/cursorrules-cursor-ai-wordpress-draft-macos-prompt.mdcFrontmatter: description, globs, alwaysApply
Manually: put the files in place
.claude/rules/cursorrules-cursor-ai-wordpress-draft-macos-prompt.mdThe paths frontmatter field limits the files: move globs from the source into paths
AGENTS.md
Codex reads AGENTS.md: paste the rule text there
Manually: put the files in place
.github/instructions/cursorrules-cursor-ai-wordpress-draft-macos-prompt.instructions.mdThe applyTo field sets which files it applies to: move globs from the source into applyTo
Manually: put the files in place
.devin/rules/cursorrules-cursor-ai-wordpress-draft-macos-prompt.mdManually: put the files in place
.clinerules/cursorrules-cursor-ai-wordpress-draft-macos-prompt.mdStep by step, with commands for each platform: Cursor rules: .mdc files, four modes and what replaced .cursorrules
Questions about cursorrules-cursor-ai-wordpress-draft-macos-prompt
How do I install cursorrules-cursor-ai-wordpress-draft-macos-prompt in Cursor?
Create the file .cursor/rules/cursorrules-cursor-ai-wordpress-draft-macos-prompt.mdc at the root of your project and paste the rule contents into it.
What does cursorrules-cursor-ai-wordpress-draft-macos-prompt do?
It hands Cursor's agent a description of the PressThat project and its first-run setup: WordPress site URL, username and Application Password.
Does the rule apply to every file automatically?
The **/* glob covers all files, but alwaysApply is set to false, so the rule is attached by your choice rather than on its own.
Source text
cursorrules-cursor-ai-wordpress-draft-macos-prompt.mdc · CC0-1.0
--- description: "Cursor rules for WordPress development on macOS." globs: **/* alwaysApply: false --- This project is called PressThat. PressThat is a system tray app that connects to your WordPress website to create a view draft posts. After first installing the app, you need to configure it with your website details. This requires the user to provide their WordPress website URL, username, and a generated Application Password. Users can generate an Application Password in their WordPress dashboard at the bottom of the "Users -> Profile" page. This password is unique and can be easily revoked at any time. Here's a quick flow for how the new user experience (NUX) will work:
© PatrickJS · CC0-1.0 · PatrickJS/awesome-cursorrules