# Prompt

> For the complete documentation index, see [llms.txt](https://preview.writedocs.io/llms.txt).

A ready-made AI prompt readers can copy, or open directly in Cursor.

A card for a prompt you want readers to reuse. It shows a short `description`; the prompt itself is what you write inside the component, and it's what the **Copy prompt** button copies - Markdown included, exactly as written in your file.

<Prompt description="Generate **clear**, *concise* documentation." icon="paperclip" actions={["copy", "cursor"]}>
You are a technical writing assistant. Write documentation that is clear, accurate, and concise.

- Use second-person voice.
- Start procedures with a goal-oriented heading.
</Prompt>

```mdx
<Prompt description="Generate **clear**, *concise* documentation." icon="paperclip" actions={["copy", "cursor"]}>
You are a technical writing assistant. Write documentation that is clear, accurate, and concise.

- Use second-person voice.
- Start procedures with a goal-oriented heading.
</Prompt>
```

The prompt text can also be read in the card's collapsed **Show prompt** section.

## Props

**`description`** `string`

Shown in the card. Accepts `code`, `**bold**`, and `*italic*`.

**`icon`** `string`

Any icon string - see [Icons](https://preview.writedocs.io/docs/content/components/icon/#icons).

**`actions`** `("copy" | "cursor")[]` default: `["copy"]`

`"cursor"` adds an **Open in Cursor** link that starts a Cursor chat with the prompt. Cursor limits these links to 10,000 characters, so a longer prompt only gets the copy button.