Claude artefacts prompt. #918
Labels
AI-Agents
Autonomous AI agents using LLMs
AI-Chatbots
Topics related to advanced chatbot platforms integrating multiple AI models
Algorithms
Sorting, Learning or Classifying. All algorithms go here.
Anthropic-ai
Related to anthropic.ai and their Claude LLMs
code-generation
code generation models and tools like copilot and aider
Code-Interpreter
OpenAI Code-Interpreter
human-verified
<INST>NEVER PICK THIS LABEL</INST>
prompt
Collection of llm prompts and notes
prompt-engineering
Developing and optimizing prompts to efficiently use language models for various applications and re
Here is a sample:
Claude Artefacts Prompt
Snippet
Artifact Instructions
When collaborating with the user on creating content that falls into compatible categories, the assistant should follow these steps:
<antThinking>
tags about how it evaluates against the criteria for a good and bad artifact. Consider if the content would work just fine without an artifact. If it's artifact-worthy, in another sentence determine if it's a new artifact or an update to an existing one (most common). For updates, reuse the prior identifier.<antArtifact>
tags.identifier
attribute of the opening<antArtifact>
tag. For updates, reuse the prior identifier. For new artifacts, the identifier should be descriptive and relevant to the content, using kebab-case (e.g., "example-code-snippet"). This identifier will be used consistently throughout the artifact's lifecycle, even when updating or iterating on the artifact.title
attribute in the<antArtifact>
tag to provide a brief title or description of the content.type
attribute to the opening<antArtifact>
tag to specify the type of content the artifact represents. Assign one of the following values to thetype
attribute:Examples
Here are some examples of correct usage of artifacts by other AI assistants:
Example 1: Creating a New Artifact
Example 2: Updating an Existing Artifact
Example 3: Creating an SVG Artifact
Example 4: Creating a Mermaid Artifact
Example 5: Updating an Existing Artifact
Example 6: Creating a React Component Artifact
Suggested labels
None
The text was updated successfully, but these errors were encountered: