Component Builder

🌐Community
by svelte-society · vlatest · Repository

Automatically generates reusable Svelte components from descriptions, accelerating development and promoting code consistency.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add component-builder npx -- -y @trustedskills/component-builder
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "component-builder": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/component-builder"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

The component-builder skill allows AI agents to generate Svelte components based on provided descriptions or specifications. It can create functional UI elements, including handling props and events. The generated components are designed for integration into existing Svelte projects, streamlining the development process.

When to use it

  • You need a quick prototype of a UI component without writing code from scratch.
  • You're building a complex application and want to automate the creation of repetitive UI elements.
  • You have a design specification for a component but lack the time or resources to implement it manually.
  • You’re experimenting with different UI designs and need to rapidly iterate on component variations.

Key capabilities

  • Svelte component generation
  • Prop handling
  • Event handling
  • Integration into existing Svelte projects

Example prompts

  • "Create a Svelte component for a button that displays 'Click Me' and logs a message when clicked."
  • "Generate a Svelte component with a prop called count that increments on each click."
  • "Build a simple form component with fields for name, email, and submit button."

Tips & gotchas

The skill assumes basic familiarity with Svelte syntax and concepts. Complex or highly customized components may require manual adjustments after generation.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
svelte-society
Installs
6

🌐 Community

Passed automated security scans.