svelte-frontend

Applies Windmill-specific Svelte coding guidelines and design-system components to frontend development.

Updated May 28, 2026
One-click install
npx skills add https://github.com/kma-core/windmill --skill svelte-frontend-kma-core
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: svelte-frontend
Source: https://github.com/kma-core/windmill/tree/main/.agents/skills/svelte-frontend
Command: npx skills add https://github.com/kma-core/windmill --skill svelte-frontend-kma-core

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires lucide-svelte.

What problem does it solve? Writing frontend code in the Windmill repository requires following project-specific conventions: using the internal design-system components instead of raw HTML, Tailwind-only styling, lucide-svelte icons, and Svelte 5 runes syntax. This Skill ensures every Svelte change in the frontend directory follows those rules and is verified before finalizing. ## Core Features & Use Cases - Design-System Enforcement: Mandates Windmill components like Button, TextInput, and Select with documented props instead of raw HTML elements. - Styling & Icon Conventions: Enforces Tailwind CSS for styling, Windmill theming classes, and lucide-svelte for all icons. - Verification Workflow: Directs use of the Svelte MCP autofixer on all code and Playwright MCP to confirm changes in the running frontend. - Use Case: When adding a new settings form to the Windmill app, use this Skill to build it with TextInput and Select components at unified sizes, run the svelte-autofixer until clean, and verify the page in a browser via Playwright. ## Quick Start Use the svelte-frontend skill to add a new form with a text input and save button to the Windmill frontend settings page.

Frequently Asked Questions about svelte-frontend

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write Svelte components for the Windmill frontend?

Use Windmill's design-system components from $lib/components/common instead of raw HTML elements, style exclusively with Tailwind CSS, and import icons from lucide-svelte. Follow Svelte 5 runes syntax and consult the Svelte MCP server for general documentation.

What UI components should I use in Windmill Svelte code?

Use Button, TextInput, and Select from Windmill's component library rather than native HTML elements. Buttons support variants like accent and subtle, inputs are bindable, and form components share a unified size system of sm, md, and lg.

Can I use custom CSS or inline SVGs in Windmill frontend code?

No. All styling must use Tailwind CSS with Windmill's theming classes, and all icons must be imported from lucide-svelte. Custom CSS and inline SVGs are explicitly disallowed by the guidelines.

How do I verify Svelte code changes in the Windmill frontend?

Run the svelte-autofixer MCP tool repeatedly until no issues remain, then use the Playwright MCP tools to drive the running frontend and confirm the change works. Use headless playwright on devboxes and playwright-headed when a display is available.

When should I use the Svelte MCP server with Windmill development?

Use list-sections first to discover available documentation, then get-documentation for relevant sections. The svelte-autofixer is mandatory on all Svelte code before finalizing, while playground-link is only for code not written to project files.