# simplicio-prompt — Cursor plugin

> **No static payload here.** This directory is documentation only.
> The install for `cursor` is generated by
> [`plugins/targets.mjs`](../targets.mjs) when you run
> `npx simplicio-prompt --target cursor`. To change what gets
> written into the target file, edit the canonical templates in
> [`prompts/`](../../prompts/), not files here.


Cursor reads project rules from `.cursor/rules/*.mdc` (modern) and falls back
to `.cursorrules` (legacy). The installer writes both, so the runtime applies
regardless of Cursor version.

Install with:

```bash
npx simplicio-prompt --target cursor
```

That writes:

- `.cursor/rules/simplicio-prompt.mdc` — modern rule file with frontmatter
  (`alwaysApply: true`, `globs: "**/*"`).
- `.cursorrules` — legacy single-file rules, wrapped in
  `<!-- simplicio-prompt:start -->` / `<!-- simplicio-prompt:end -->` markers
  so reinstalling updates the block in place.
