[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75BD9WBMSV3NXECVCGT1A0Z":3,"skill-same:01M75BD9WBMSV3NXECVCGT1A0Z":55},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":31,"ownerHtmlUrl":32,"ownerBlogUrl":33,"ownerDescription":6,"updatedAt":34,"install":35,"resources":48},"01M75BD9WBMSV3NXECVCGT1A0Z","livewire-development",null,"Use for any task or question involving Livewire. Activate if user mentions Livewire, wire: directives, or Livewire-specific concepts like wire:model, wire:click, wire:sort, or islands, invoke this skill. Covers building new components, debugging reactivity issues, real-time form validation, drag-and-drop, loading states, migrating from Livewire 3 to 4, converting component formats (SFC\u002FMFC\u002Fclass-based), and performance optimization. Do not use for non-Livewire reactive UI (React, Vue, Alpine-only, Inertia.js) or standard Laravel forms without Livewire.","karuhun-developer\u002Fecommerce","karuhun-developer","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F169523822?v=4","01M6BX5G1VG24QZX7D5GJBT0NG","Karuhun Developer","01M75B5QEG8TNPBPN9TZST77HA",54,"MIT","https:\u002F\u002Fgithub.com\u002Fkaruhun-developer\u002Fecommerce\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Flivewire-development\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: livewire-development\ndescription: \"Use for any task or question involving Livewire. Activate if user mentions Livewire, wire: directives, or Livewire-specific concepts like wire:model, wire:click, wire:sort, or islands, invoke this skill. Covers building new components, debugging reactivity issues, real-time form validation, drag-and-drop, loading states, migrating from Livewire 3 to 4, converting component formats (SFC\u002FMFC\u002Fclass-based), and performance optimization. Do not use for non-Livewire reactive UI (React, Vue, Alpine-only, Inertia.js) or standard Laravel forms without Livewire.\"\nlicense: MIT\nmetadata:\n  author: laravel\n---\n\n# Livewire Development\n\n## Documentation\n\nUse `search-docs` for detailed Livewire 4 patterns and documentation.\n\n## Basic Usage\n\n### Creating Components\n\n```bash\n\n# Single-file component (default in v4)\n\nphp artisan make:livewire create-post\n\n# Multi-file component\n\nphp artisan make:livewire create-post --mfc\n\n# Class-based component (v3 style)\n\nphp artisan make:livewire create-post --class\n\n# With namespace\n\nphp artisan make:livewire Posts\u002FCreatePost\n```\n\n### Converting Between Formats\n\nUse `php artisan livewire:convert create-post` to convert between single-file, multi-file, and class-based formats.\n\n### Choosing a Component Format\n\nBefore creating a component, check `config\u002Flivewire.php` for directory overrides, which change where files are stored. Then, look at existing files in those directories (defaulting to `app\u002FLivewire\u002F` and `resources\u002Fviews\u002Flivewire\u002F`) to match the established convention.\n\n### Component Format Reference\n\n| Format | Flag | Class Path | View Path |\n|--------|------|------------|-----------|\n| Single-file (SFC) | default | — | `resources\u002Fviews\u002Flivewire\u002Fcreate-post.blade.php` (PHP + Blade in one file) |\n| Multi-file (MFC) | `--mfc` | `app\u002FLivewire\u002FCreatePost.php` | `resources\u002Fviews\u002Flivewire\u002Fcreate-post.blade.php` |\n| Class-based | `--class` | `app\u002FLivewire\u002FCreatePost.php` | `resources\u002Fviews\u002Flivewire\u002Fcreate-post.blade.php` |\n| View-based | ⚡ prefix | — | `resources\u002Fviews\u002Flivewire\u002Fcreate-post.blade.php` (Blade-only with functional state) |\n\nNamespaced components map to subdirectories: `make:livewire Posts\u002FCreatePost` creates files at `app\u002FLivewire\u002FPosts\u002FCreatePost.php` and `resources\u002Fviews\u002Flivewire\u002Fposts\u002Fcreate-post.blade.php`.\n\n### Single-File Component Example\n\n\u003C!-- Single-File Component Example -->\n```php\n\u003C?php\nuse Livewire\\Component;\n\nnew class extends Component {\n    public int $count = 0;\n\n    public function increment(): void\n    {\n        $this->count++;\n    }\n}\n?>\n\n\u003Cdiv>\n    \u003Cbutton wire:click=\"increment\">Count: @{{ $count }}\u003C\u002Fbutton>\n\u003C\u002Fdiv>\n```\n\n## Livewire 4 Specifics\n\n### Key Changes From Livewire 3\n\nThese things changed in Livewire 4, but may not have been updated in this application. Verify this application's setup to ensure you follow existing conventions.\n\n- Use `Route::livewire()` for full-page components (e.g., `Route::livewire('\u002Fposts\u002Fcreate', CreatePost::class)`); config keys renamed: `layout` → `component_layout`, `lazy_placeholder` → `component_placeholder`.\n- `wire:model` now ignores child events by default (use `wire:model.deep` for old behavior); `wire:scroll` renamed to `wire:navigate:scroll`.\n- Component tags must be properly closed; `wire:transition` now uses View Transitions API (modifiers removed).\n- JavaScript: `$wire.$js('name', fn)` → `$wire.$js.name = fn`; `commit`\u002F`request` hooks → `interceptMessage()`\u002F`interceptRequest()`.\n\n### New Features\n\n- Component formats: single-file (SFC), multi-file (MFC), view-based components.\n- Islands (`@island`) for isolated updates; async actions (`wire:click.async`, `#[Async]`) for parallel execution.\n- Deferred\u002Fbundled loading: `defer`, `lazy.bundle` for optimized component loading.\n\n| Feature | Usage | Purpose |\n|---------|-------|---------|\n| Islands | `@island(name: 'stats')` | Isolated update regions |\n| Async | `wire:click.async` or `#[Async]` | Non-blocking actions |\n| Deferred | `defer` attribute | Load after page render |\n| Bundled | `lazy.bundle` | Load multiple together |\n\n### New Directives\n\n- `wire:sort`, `wire:intersect`, `wire:ref`, `.renderless`, `.preserve-scroll` are available for use.\n- `data-loading` attribute automatically added to elements triggering network requests.\n\n| Directive | Purpose |\n|-----------|---------|\n| `wire:sort` | Drag-and-drop sorting |\n| `wire:intersect` | Viewport intersection detection |\n| `wire:ref` | Element references for JS |\n| `.renderless` | Component without rendering |\n| `.preserve-scroll` | Preserve scroll position |\n\n## Best Practices\n\n- Always use `wire:key` in loops\n- Use `wire:loading` for loading states\n- Use `wire:model.live` for instant updates (default is debounced)\n- Validate and authorize in actions (treat like HTTP requests)\n\n## Configuration\n\n- `smart_wire_keys` defaults to `true`; new configs: `component_locations`, `component_namespaces`, `make_command`, `csp_safe`.\n\n## Alpine & JavaScript\n\n- `wire:transition` uses browser View Transitions API; `$errors` and `$intercept` magic properties available.\n- Non-blocking `wire:poll` and parallel `wire:model.live` updates improve performance.\n\nFor interceptors and hooks, see [reference\u002Fjavascript-hooks.md](reference\u002Fjavascript-hooks.md).\n\n## Testing\n\n\u003C!-- Testing Example -->\n```php\nLivewire::test(Counter::class)\n    ->assertSet('count', 0)\n    ->call('increment')\n    ->assertSet('count', 1);\n```\n\n## Verification\n\n1. Browser console: Check for JS errors\n2. Network tab: Verify Livewire requests return 200\n3. Ensure `wire:key` on all `@foreach` loops\n\n## Common Pitfalls\n\n- Missing `wire:key` in loops → unexpected re-rendering\n- Expecting `wire:model` real-time → use `wire:model.live`\n- Unclosed component tags → syntax errors in v4\n- Using deprecated config keys or JS hooks\n- Including Alpine.js separately (already bundled in Livewire 4)","# Livewire Development\n\n## Documentation\n\nUse `search-docs` for detailed Livewire 4 patterns and documentation.\n\n## Basic Usage\n\n### Creating Components\n\n```bash\n\n# Single-file component (default in v4)\n\nphp artisan make:livewire create-post\n\n# Multi-file component\n\nphp artisan make:livewire create-post --mfc\n\n# Class-based component (v3 style)\n\nphp artisan make:livewire create-post --class\n\n# With namespace\n\nphp artisan make:livewire Posts\u002FCreatePost\n```\n\n### Converting Between Formats\n\nUse `php artisan livewire:convert create-post` to convert between single-file, multi-file, and class-based formats.\n\n### Choosing a Component Format\n\nBefore creating a component, check `config\u002Flivewire.php` for directory overrides, which change where files are stored. Then, look at existing files in those directories (defaulting to `app\u002FLivewire\u002F` and `resources\u002Fviews\u002Flivewire\u002F`) to match the established convention.\n\n### Component Format Reference\n\n| Format | Flag | Class Path | View Path |\n|--------|------|------------|-----------|\n| Single-file (SFC) | default | — | `resources\u002Fviews\u002Flivewire\u002Fcreate-post.blade.php` (PHP + Blade in one file) |\n| Multi-file (MFC) | `--mfc` | `app\u002FLivewire\u002FCreatePost.php` | `resources\u002Fviews\u002Flivewire\u002Fcreate-post.blade.php` |\n| Class-based | `--class` | `app\u002FLivewire\u002FCreatePost.php` | `resources\u002Fviews\u002Flivewire\u002Fcreate-post.blade.php` |\n| View-based | ⚡ prefix | — | `resources\u002Fviews\u002Flivewire\u002Fcreate-post.blade.php` (Blade-only with functional state) |\n\nNamespaced components map to subdirectories: `make:livewire Posts\u002FCreatePost` creates files at `app\u002FLivewire\u002FPosts\u002FCreatePost.php` and `resources\u002Fviews\u002Flivewire\u002Fposts\u002Fcreate-post.blade.php`.\n\n### Single-File Component Example\n\n\u003C!-- Single-File Component Example -->\n```php\n\u003C?php\nuse Livewire\\Component;\n\nnew class extends Component {\n    public int $count = 0;\n\n    public function increment(): void\n    {\n        $this->count++;\n    }\n}\n?>\n\n\u003Cdiv>\n    \u003Cbutton wire:click=\"increment\">Count: @{{ $count }}\u003C\u002Fbutton>\n\u003C\u002Fdiv>\n```\n\n## Livewire 4 Specifics\n\n### Key Changes From Livewire 3\n\nThese things changed in Livewire 4, but may not have been updated in this application. Verify this application's setup to ensure you follow existing conventions.\n\n- Use `Route::livewire()` for full-page components (e.g., `Route::livewire('\u002Fposts\u002Fcreate', CreatePost::class)`); config keys renamed: `layout` → `component_layout`, `lazy_placeholder` → `component_placeholder`.\n- `wire:model` now ignores child events by default (use `wire:model.deep` for old behavior); `wire:scroll` renamed to `wire:navigate:scroll`.\n- Component tags must be properly closed; `wire:transition` now uses View Transitions API (modifiers removed).\n- JavaScript: `$wire.$js('name', fn)` → `$wire.$js.name = fn`; `commit`\u002F`request` hooks → `interceptMessage()`\u002F`interceptRequest()`.\n\n### New Features\n\n- Component formats: single-file (SFC), multi-file (MFC), view-based components.\n- Islands (`@island`) for isolated updates; async actions (`wire:click.async`, `#[Async]`) for parallel execution.\n- Deferred\u002Fbundled loading: `defer`, `lazy.bundle` for optimized component loading.\n\n| Feature | Usage | Purpose |\n|---------|-------|---------|\n| Islands | `@island(name: 'stats')` | Isolated update regions |\n| Async | `wire:click.async` or `#[Async]` | Non-blocking actions |\n| Deferred | `defer` attribute | Load after page render |\n| Bundled | `lazy.bundle` | Load multiple together |\n\n### New Directives\n\n- `wire:sort`, `wire:intersect`, `wire:ref`, `.renderless`, `.preserve-scroll` are available for use.\n- `data-loading` attribute automatically added to elements triggering network requests.\n\n| Directive | Purpose |\n|-----------|---------|\n| `wire:sort` | Drag-and-drop sorting |\n| `wire:intersect` | Viewport intersection detection |\n| `wire:ref` | Element references for JS |\n| `.renderless` | Component without rendering |\n| `.preserve-scroll` | Preserve scroll position |\n\n## Best Practices\n\n- Always use `wire:key` in loops\n- Use `wire:loading` for loading states\n- Use `wire:model.live` for instant updates (default is debounced)\n- Validate and authorize in actions (treat like HTTP requests)\n\n## Configuration\n\n- `smart_wire_keys` defaults to `true`; new configs: `component_locations`, `component_namespaces`, `make_command`, `csp_safe`.\n\n## Alpine & JavaScript\n\n- `wire:transition` uses browser View Transitions API; `$errors` and `$intercept` magic properties available.\n- Non-blocking `wire:poll` and parallel `wire:model.live` updates improve performance.\n\nFor interceptors and hooks, see [reference\u002Fjavascript-hooks.md](reference\u002Fjavascript-hooks.md).\n\n## Testing\n\n\u003C!-- Testing Example -->\n```php\nLivewire::test(Counter::class)\n    ->assertSet('count', 0)\n    ->call('increment')\n    ->assertSet('count', 1);\n```\n\n## Verification\n\n1. Browser console: Check for JS errors\n2. Network tab: Verify Livewire requests return 200\n3. Ensure `wire:key` on all `@foreach` loops\n\n## Common Pitfalls\n\n- Missing `wire:key` in loops → unexpected re-rendering\n- Expecting `wire:model` real-time → use `wire:model.live`\n- Unclosed component tags → syntax errors in v4\n- Using deprecated config keys or JS hooks\n- Including Alpine.js separately (already bundled in Livewire 4)",{"name":5,"license":15,"metadata":24,"description":7},{"author":25},"laravel","main","16fa184743838e52ac5ca477ae3ab6d0eb51f713",".cursor\u002Fskills\u002Flivewire-development",22,"https:\u002F\u002Fgithub.com\u002Fkaruhun-developer\u002Fecommerce","https:\u002F\u002Fyoutu.be\u002FnrtPMjPXYbQ?si=3EKTdAxlgjC4MIc2","https:\u002F\u002Fgithub.com\u002Fkaruhun-developer","https:\u002F\u002Fkaruhundeveloper.com","2026-11-13 13:30:12",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add karuhun-developer\u002Fecommerce --skill livewire-development",{"tool":41,"command":42},"bunx","bunx skills add karuhun-developer\u002Fecommerce --skill livewire-development",{"tool":44,"command":45},"pnpm","pnpm dlx skills add karuhun-developer\u002Fecommerce --skill livewire-development","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkaruhun-developer\u002Fecommerce\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Flivewire-development\u002FSKILL.md",true,[49],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"reference\u002Fjavascript-hooks.md","REFERENCE","参考文档",1072,"https:\u002F\u002Fgithub.com\u002Fkaruhun-developer\u002Fecommerce\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Flivewire-development\u002Freference\u002Fjavascript-hooks.md",[56,63,70,77,84,89],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M75BFEPHT94TX3M5H39F2YCP","tailwindcss-development","Always invoke when the user's message includes 'tailwind' in any form. Also invoke for: building responsive grid layouts (multi-column card grids, product grids), flex\u002Fgrid page structures (dashboards with sidebars, fixed topbars, mobile-toggle navs), styling UI components (cards, tables, navbars, pricing sections, forms, inputs, badges), adding dark mode variants, fixing spacing or typography, and Tailwind v3\u002Fv4 work. The core use case: writing or fixing Tailwind utility classes in HTML templates (Blade, JSX, Vue). Skip for backend PHP logic, database queries, API routes, JavaScript with no HTML\u002FCSS component, CSS file audits, build tool configuration, and vanilla CSS.","https:\u002F\u002Fgithub.com\u002Fkaruhun-developer\u002Fecommerce\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ftailwindcss-development\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M75BFB5K40XFB0969WXDN223","pulse-development","Handles Laravel Pulse setup, configuration, and custom card development. Activates when installing Pulse; configuring the dashboard or authorization gate; setting up recorders and filtering; building custom Livewire cards; optimizing with Redis ingest or sampling; or when the user mentions \u002Fpulse, pulse:check, pulse:work, Pulse::record(), or application monitoring.","https:\u002F\u002Fgithub.com\u002Fkaruhun-developer\u002Fecommerce\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fpulse-development\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M75BF61014JMZFCRTZ3PZZ8D","pest-testing","Use this skill for Pest PHP testing in Laravel projects only. Trigger whenever any test is being written, edited, fixed, or refactored — including fixing tests that broke after a code change, adding assertions, converting PHPUnit to Pest, adding datasets, and TDD workflows. Always activate when the user asks how to write something in Pest, mentions test files or directories (tests\u002FFeature, tests\u002FUnit, tests\u002FBrowser), or needs browser testing, smoke testing multiple pages for JS errors, or architecture tests. Covers: test()\u002Fit()\u002Fexpect() syntax, datasets, mocking, browser testing (visit\u002Fclick\u002Ffill), smoke testing, arch(), Livewire component tests, RefreshDatabase, and all Pest 4 features. Do not use for factories, seeders, migrations, controllers, models, or non-test PHP code.","https:\u002F\u002Fgithub.com\u002Fkaruhun-developer\u002Fecommerce\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fpest-testing\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M75BF2VAS9CGPFAA3Y66VY39","medialibrary-development","Build and work with spatie\u002Flaravel-medialibrary features including associating files with Eloquent models, defining media collections and conversions, generating responsive images, and retrieving media URLs and paths.","https:\u002F\u002Fgithub.com\u002Fkaruhun-developer\u002Fecommerce\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fmedialibrary-development\u002FSKILL.md",[],[],{"skillNo":85,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M75BEYP73MKT73HG4C1NTPXC","https:\u002F\u002Fgithub.com\u002Fkaruhun-developer\u002Fecommerce\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Flivewire-development\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M75BEQHKGCEZ0KQCZC6BYFAN","laravel-best-practices","Apply this skill whenever writing, reviewing, or refactoring Laravel PHP code. This includes creating or modifying controllers, models, migrations, form requests, policies, jobs, scheduled commands, service classes, and Eloquent queries. Triggers for N+1 and query performance issues, caching strategies, authorization and security patterns, validation, error handling, queue and job configuration, route definitions, and architectural decisions. Also use for Laravel code reviews and refactoring existing Laravel code to follow best practices. Covers any task involving Laravel backend PHP code patterns.","https:\u002F\u002Fgithub.com\u002Fkaruhun-developer\u002Fecommerce\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Flaravel-best-practices\u002FSKILL.md",[],[]]