← ClaudeAtlas

lollms-artefacts-system-1772558834790listed

Complete guide to creating, using, and managing artefacts in Lollms for structured content generation
ParisNeo/lollms-vs-coder · ★ 5 · AI & Automation · score 83
Install: claude install-skill ParisNeo/lollms-vs-coder
# Lollms Artefacts: Complete Documentation ## Overview Artefacts in Lollms are structured, self-contained content blocks that represent generated outputs like code files, documents, images, or data structures. They provide a standardized way to handle multi-file outputs, enable persistent storage, and support rich metadata for tracking generation context. ## Core Concepts ### What is an Artefact? An artefact is a named, typed container for generated content with the following properties: | Property | Description | |----------|-------------| | `name` | Unique identifier for the artefact | | `type` | Content category (code, document, image, data, etc.) | | `content` | The actual generated data | | `metadata` | Generation context, timestamps, model info | | `version` | Tracking for iterative improvements | ### Artefact Types ```python ARTEFACT_TYPES = { "code": { "extensions": [".py", ".js", ".ts", ".java", ".cpp", ".c", ".go", ".rs"], "mime_types": ["text/x-python", "application/javascript", "text/x-java"], "features": ["syntax_highlighting", "line_numbers", "execution"] }, "document": { "extensions": [".md", ".txt", ".rst", ".html"], "mime_types": ["text/markdown", "text/plain", "text/html"], "features": ["rendering", "search", "export"] }, "image": { "extensions": [".png", ".jpg", ".jpeg", ".gif", ".svg", ".webp"], "mime_types": ["image/png", "image/jpeg", "image/svg+xml"], "fe