Overview
The@artifactuse/prompts package provides system prompts that teach AI models how to generate Artifactuse artifacts.
Installation
Usage
Include prompts in your AI’s system message:Available Prompts
Selective Import
Only include what you need to minimize token usage:Helper Functions
CommonJS
Example: Creative Assistant
How Prompts Work
Each prompt contains:- Trigger conditions - When to generate the artifact
- Format specification - Code block syntax
- Schema - Required and optional properties
- Rules - Constraints and best practices