+ "prompt": "# Snippet Component Task\n\nCreate a simple Svelte 5 component that demonstrates the basic use of snippets.\n\n## Requirements:\n\n1. Create a component with a hardcoded array of 3 book titles (strings) - \"The Lord of the Rings\", \"To Kill a Mockingbird\", and \"1984\"\n2. Create a snippet called `title` that takes a book title string as a parameter\n3. The snippet should display the book title in a `<span>` element with `data-testid=\"book-title\"`\n4. Use the `{@render ...}` syntax to render the snippet for each book title in a list\n5. Each rendered title should be wrapped in a `<li>` element with `data-testid=\"book-item\"`\n\n## Example HTML structure:\n\n```html\n<ul>\n <li data-testid=\"book-item\">The Lord of the Rings</li>\n <li data-testid=\"book-item\">To Kill a Mockingbird</li>\n <li data-testid=\"book-item\">1984</li>\n</ul>\n```\n\nPlease implement this component using Svelte 5 runes.\n",
0 commit comments