1. Context Components
  2. Prompts

Use a Prompt when the next step is a task a reader can delegate to an agent. The copy action includes the prompt body, not the description.

​
Example

Check your documentation

Use the DocsAlot CLI to pull my latest documentation, check internal links, and preview the site locally. Show me the changes before publishing.

<Prompt description="Check your documentation" icon="terminal" actions={['copy']}>
  Use the DocsAlot CLI to pull my latest documentation, check internal links,
  and preview the site locally. Show me the changes before publishing.
</Prompt>

To offer both copying and a handoff to Cursor, use actions={['copy', 'cursor']}. The Cursor action opens an external prompt link; it does not run the task automatically. Do not include passwords, tokens or private customer data in reusable prompts.

​
Properties

PropertyDefaultPurpose
descriptionNoneShort heading above the prompt.
childrenNonePrompt text or content.
actions['copy']Supported actions: copy and cursor. An empty array hides both.
iconNoneNamed Font Awesome icon.
iconTypeRenderer defaultFont Awesome style, such as solid or regular.

​
Desktop example

Documentation review prompt with a Copy prompt button

A reusable instruction has its own copy action.