New advertisers: 50% off your first month with code FIRSTMONTHSee slots
davepoon avatar

commands-framework-svelte

Svelte and SvelteKit command set covering components, testing, Storybook, accessibility, and migration.

version
1.0.0
GitHub stars
3.8K
View on GitHub

What it does

  • Adds 16 commands, including /svelte-component, /svelte-scaffold, and /svelte-migrate for project setup and changes
  • Covers testing with /svelte-test, /svelte-test-setup, /svelte-test-coverage, and /svelte-test-fix for test runs and repairs
  • Includes Storybook support through /svelte-storybook, /svelte-storybook-setup, /svelte-storybook-story, and /svelte-storybook-mock commands
  • Provides /svelte-a11y, /svelte-debug, and /svelte-optimize for accessibility checks, debugging, and performance work

Specialized commands for Svelte and SvelteKit development

Add marketplace

/plugin marketplace add davepoon/buildwithclaude

Run it inside Claude Code once, then install the plugin below.

Install

/plugin install commands-framework-svelte@buildwithclaude

Run it inside Claude Code after adding the marketplace.

Files

Discovered from source

/svelte-a11y

Audit and improve accessibility in Svelte/SvelteKit applications, ensuring WCAG compliance and inclusive user experiences.

Instructions

You are acting as the Svelte Development Agent focused on accessibility. When improving accessibility:

  1. Accessibility Audit:

    • Run automated accessibility tests
    • Check WCAG 2.1 AA/AAA compliance
    • Test with screen readers
    • Verify keyboard navigation
    • Analyze color contrast
    • Review ARIA usage
  2. Common Issues & Fixes:

    Component Accessibility:

    <!-- Bad -->
    <div onclick={handleClick}>Click me</div>
    
    <!-- Good -->
    <button onclick={handleClick} aria-label="Action description">
      Click me
    </button>
    

    Form Accessibility:

    <label for="email">Email Address</label>
    <input 
      id="email"
      type="email"
      required
      aria-describedby="email-error"
    />
    {#if errors.email}
      <span id="email-error" role="alert">
        {errors.email}
      </span>
    {/if}
    
  3. Navigation & Focus:

    // Skip links
    <a href="#main" class="skip-link">Skip to main content</a>
    
    // Focus management
    onMount(() => {
      if (shouldFocus) {
        element.focus();
      }
    });
    
    // Keyboard navigation
    function handleKeydown(event) {
      if (event.key === 'Escape') {
        closeModal();
      }
    }
    
  4. ARIA Implementation:

    • Use semantic HTML first
    • Add ARIA labels for clarity
    • Implement live regions
    • Manage focus properly
    • Announce dynamic changes
  5. Testing Tools:

    • Svelte a11y warnings
    • axe-core integration
    • Pa11y CI setup
    • Screen reader testing
    • Keyboard navigation testing
  6. Accessibility Checklist:

    • All interactive elements keyboard accessible
    • Proper heading hierarchy
    • Images have alt text
    • Color contrast meets standards
    • Forms have proper labels
    • Error messages announced
    • Focus indicators visible
    • Page has unique title
    • Landmarks properly used
    • Animations respect prefers-reduced-motion

Example Usage

User: "Audit my e-commerce site for accessibility issues"

Assistant will:

  • Run automated accessibility scan
  • Check product cards for proper markup
  • Verify cart keyboard navigation
  • Test checkout form accessibility
  • Review color contrast on CTAs
  • Add ARIA labels where needed
  • Implement focus management
  • Create accessibility test suite
  • Provide WCAG compliance report

From the davepoon/buildwithclaude README

Build with Claude

Claude Skills, Agents, Commands, Hooks, Plugins, Marketplaces collections for and extend Claude Code

Open Source License: MIT PRs Welcome GitHub stars

A plugin marketplace and discovery platform for Claude Code. Browse curated plugins, discover community contributions, and extend your Claude Code workflows.

Quick Start

# Add the Build with Claude marketplace
/plugin marketplace add davepoon/buildwithclaude

# Browse available plugins
/plugin search @buildwithclaude

# Install plugins
/plugin install <plugin-name>@buildwithclaude

What's Included

Build with Claude Plugins

Curated collections maintained in this repository:

TypeCountDescription
Agents117Specialized AI experts (Python, Go, DevOps, Security, etc.)
Commands175Slash commands for automation (/commit, /docs, /tdd)
Hooks28Event-driven automation (notifications, git, formatting)
Skills26Reusable capabilities from plugins
Plugins51Bundled plugin packages by category

Community Discovery

The platform indexes plugins from the broader Claude Code ecosystem:

  • 20k+ Community Plugins from external marketplaces
  • 4,500+ MCP Servers for database, API, and tool connections
  • 1,100+ Plugin Marketplaces from the community

Web UI

Browse, search, and explore everything at buildwithclaude.com

Build with Claude Homepage

Browse Plugins

Browse Skills

Browse MCP Servers

Browse Plugin Marketplaces

Features

  • Browse all plugin types with filtering
  • Search across plugins, agents, commands, hooks, skills
  • Copy install commands with one click
  • View full documentation and usage examples
  • Discover MCP servers and community plugins

Installation Options

Option 1: Plugin Marketplace (Recommended)

# Add marketplace
/plugin marketplace add davepoon/buildwithclaude

# Install specific plugins
/plugin install agents-python-expert@buildwithclaude
/plugin install commands-version-control-git@buildwithclaude
/plugin install hooks-notifications@buildwithclaude

# Or install everything
/plugin install all-agents@buildwithclaude
/plugin install all-commands@buildwithclaude
/plugin install all-hooks@buildwithclaude

Option 2: Manual Installation

# Clone repository
git clone https://github.com/davepoon/buildwithclaude.git
cd buildwithclaude

# Install agents
find plugins/agents-*/agents -name "*.md" -exec cp {} ~/.claude/agents/ \;

# Install commands
find plugins/commands-*/commands -name "*.md" -exec cp {} ~/.claude/commands/ \;

# Restart Claude Code

Available Plugin Categories

Agents (11 categories)

  • Development & Architecture - Backend, frontend, mobile, GraphQL experts
  • Language Specialists - Python, Go, Rust, TypeScript, C/C++ experts
  • Quality & Security - Code review, security audit, debugging
  • Infrastructure & Operations - DevOps, cloud, database optimization
  • Data & AI - ML engineering, data pipelines, AI development
  • Crypto & Blockchain - Trading systems, DeFi, Web3 development

Browse all agents →

Browse Subagents

Commands (22 categories)

  • Version Control - Commit, PR creation, branch management
  • Code Analysis - Testing, review, optimization
  • Documentation - Docs generation, changelogs, API specs
  • Project Management - Todos, PRDs, task tracking

Browse all commands →

Browse Commands

Hooks (8 categories)

  • Notifications - Slack, Discord, Telegram alerts
  • Git - Auto-staging, smart commits
  • Development - Lint on save, auto-format
  • Security - File protection, vulnerability scanning

Browse all hooks →

Browse Hooks

Usage Examples

Using Agents

Agents are automatically invoked based on context, or explicitly called:

"Use the python-pro to optimize this function"
"@agent-security-auditor review this authentication code"
"Have the devops-troubleshooter help debug this deployment"

Using Commands

Commands use the / prefix:

/commit                    # Create conventional commit
/create-pr                 # Create pull request
/docs                      # Generate documentation
/tdd                       # Start test-driven development
/code_analysis             # Analyze code quality

Using Hooks

Hooks run automatically on events like tool calls or session start.

Contributing

We welcome contributions!

Adding Plugins

  1. Create a new directory in plugins/ following the naming convention
  2. Add your plugin files (agents, commands, hooks)
  3. Run npm test to validate
  4. Submit a pull request

Plugin Format

Agent (plugins/agents-*/agents/*.md):

---
name: agent-name
description: When to invoke this agent
category: category-name
tools: Read, Write, Bash
---

You are a [role description]...

Command (plugins/commands-*/commands/*.md):

---
description: What this command does
category: category-name
argument-hint: <args>
---

Command implementation...

Hook (plugins/hooks-*/hooks/*.md):

---
hooks: PreToolUse, PostToolUse
description: What this hook does
---

Hook implementation...

See CONTRIBUTING.md for detailed guidelines.

Contributors

This project exists thanks to all the people who contribute.

Contributors

Contribute on our GitHub

Links

License

MIT License - see LICENSE for details.


Made with ❤️ by Dave Poon

Details

Marketplace
davepoon/buildwithclaude
Source
plugins/commands-framework-svelte
Author
BuildWithClaude Community
Category
Commands
License
MIT
Keywords
commands, slash-commands, framework-svelte, svelte-a11y, svelte-component, svelte-debug, svelte-migrate, svelte-optimize, svelte-scaffold, svelte-storybook, svelte-storybook-migrate, svelte-storybook-mock, svelte-storybook-setup, svelte-storybook-story, svelte-storybook-troubleshoot, svelte-test, svelte-test-coverage, svelte-test-fix, svelte-test-setup
Listed since
Apr 6, 2026

More from davepoon/buildwithclaude

All 237

Similar to commands-framework-svelte

More Frontend & UI Code