Skip to main content
rule

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.

Install into Cursor · Manually: put the files in place All methods and platforms ↓
.cursor/rules/cursorrules-cursor-ai-wordpress-draft-macos-prompt.mdc
Open on GitHub

What 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.mdc

Frontmatter: description, globs, alwaysApply

Step 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

Similar IDE rules

All IDE rules for Agent setup: memory, context, orchestration →

From the same set68

embedded-stm32-hal A Cursor rule that keeps the agent inside embedded C/C++ conventions: STM32 HAL, interrupts, DMA and tight memory budgets. ★ 41,011repo stars dragonruby-best-practices-cursorrules-prompt-file A Cursor rule that sets Ruby coding style for DragonRuby Game Toolkit: naming, file structure, error handling. ★ 41,011repo stars database A Cursor rule with database practices for Prisma and Supabase: schemas, migrations, queries, RLS policies. Scoped to database files by glob. ★ 41,011repo stars cypress-defect-tracking-cursorrules-prompt-file A Cursor rule that turns the agent into a QA engineer: writes Cypress tests tagged by team, category and case ID, and builds reports through qa-shadow-report. ★ 41,011repo stars cursor-ai-react-typescript-shadcn-ui-cursorrules-p A Cursor rule that pushes the agent toward React and TypeScript code written the way shadcn/ui and Tailwind CSS projects expect. ★ 41,011repo stars code-style-consistency-cursorrules-prompt-file A Cursor rule that makes the agent study your codebase conventions first and write new code to match them. Useful in repos with an established style. ★ 41,011repo stars cloudflare-workers-hono-angular-saas-cursorrules-prompt-file A Cursor rule that pins the stack and conventions for SaaS on Cloudflare Workers: Hono API, Angular, Drizzle, Clerk, Stripe. ★ 41,011repo stars chrome-extension-dev-js-typescript-cursorrules-pro A Cursor rule that points the agent at one set of conventions for building Chrome extensions in JavaScript and TypeScript. ★ 41,011repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor