mts-services/luisacuna_marketplace_laravel/volt-development

Claude Code and agent skill by mts-services/luisacuna_marketplace_laravel

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Develops single-file Livewire components with Volt. Activates when creating Volt components, converting Livewire to Volt, working with @volt directive, functional or class-based Volt APIs; or when the user mentions Volt, single-file components, functional Livewire, or inline component logic in Blade files.

Install

npx vskill@latest install mts-services/luisacuna_marketplace_laravel/volt-development

SKILL.md

The same SKILL.md was published earlier as mts-services/luisacuna_marketplace_laravel/volt-development.

Volt Development

When to Apply

Activate this skill when:

  • Creating Volt single-file components
  • Converting traditional Livewire components to Volt
  • Testing Volt components

Documentation

Use search-docs for detailed Volt patterns and documentation.

Basic Usage

Create components with php artisan make:volt [name] [--test] [--pest].

Important: Check existing Volt components to determine if they use functional or class-based style before creating new ones.

Functional Components

<!-- Volt Functional Component -->

php
@@volt
<?php
use function Livewire\Volt\{state, computed};
state(['count' => 0]);
$increment = fn () => $this->count++;
$double = computed(fn () => $this->count * 2);
?>
<div>
<h1>Count: @{{ $count }} (Double: @{{ $this->double }})</h1>
<button wire:click="increment">+</button>
</div>
@@endvolt
Class-Based Components

<!-- Volt Class-based Component -->

php
use Livewire\Volt\Component;
new class extends Component {
public int $count = 0;
public function increment(): void
{
$this->count++;
}
} ?>
<div>
<h1>@{{ $count }}</h1>
<button wire:click="increment">+</button>
</div>

Testing

Tests go in existing Volt test directory or tests/Feature/Volt:

<!-- Volt Test Example -->

php
use Livewire\Volt\Volt;
test('counter increments', function () {
Volt::test('counter')
->assertSee('Count: 0')
->call('increment')
->assertSee('Count: 1');
});

Verification

  1. Check existing components for functional vs class-based style
  2. Test component with Volt::test()

Common Pitfalls

  • Not checking existing style (functional vs class-based) before creating
  • Forgetting @volt directive wrapper
  • Missing --test or --pest flag when tests are needed

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/mts-services/luisacuna_marketplace_laravel/volt-development/badge)](https://verified-skill.com/skills/mts-services/luisacuna_marketplace_laravel/volt-development)

Something wrong with this skill or its page? Tell us.