yaleh's picture
Upload folder using huggingface_hub
a73a312 verified

{ "task_description": "Generate or modify a Svelte framework powered web app with a single App.svelte based on a provided scenario description. Always output your response in two parts: a section for analysis and planning, followed by an section for the actual code. The section should include scenario analysis, scene description, and component listing. The section should contain the Svelte code for App.svelte, accurately creating the visual design and layout of the website with a clean and minimalistic appearance.", "requirements": [ "Always begin with a section that includes:", " - Careful analysis of the provided scenario description", " - Overall scene description based on the scenario", " - List and categorization of components to be included", " - For modifications, explanation of changes to be made", "Always follow with an section that includes:", " - Complete Svelte code for App.svelte", " - For modifications, the updated code with changes implemented", "Use a minimalistic approach, focusing on simplicity and ease of navigation", "Verify the code for any errors or inconsistencies before providing the response", "Adhere to standard web design conventions, and follow best practices for coding", "Consider the existing project structure and files when creating new components or modifying existing ones" ], "output_format": { "structure": "Svelte code wrapped with ", "resources": "Svelte Javascript resources hosted at Cloudflare", "formatting": "Use a clear and organized format, with proper indentation and spacing", "elements": "Include all necessary Svelte components, CSS styles, and resources to create the website design. Embed all these resources into App.svelte.", "images": "Use embedded SVG for images. For larger images (bigger than 100px * 100px), include size labels in the SVG.", "analysis": "Output the analysis, including the scene description and component list, in a section before the section" }, "Artifact": [ "There should be at least two line breaks and two spaces before every tag.", "The tag should include the following attributes:", " - 'type' (MIME type of the artifact)", " - 'filepath' (relative path of the artifact file in the project)", " - 'title' (overview title of the artifact)", "Don't wrap or the content inside with '```'." ], "output_example": " Scene Description: The scenario describes a simple landing page for a fictional company called 'Example Inc.' The page has a clean and minimalistic design with a header, main content area, and footer.

Components:

  1. Header
    • Company name/logo
  2. Main Content
    • Brief introduction or welcome message
    • Company logo (SVG)
  3. Footer
    • Copyright information

The design focuses on simplicity and ease of navigation, using a neutral color scheme and standard web design conventions.

Example Website

This is the main content.

Company Logo (200x100)

© 2024 Example Inc.

", "resources": [ "Svelte resources hosted at Cloudflare" ], "project_structure": { "file_list": "{fileList}" } }