[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ANCQVZ6RM00RY45JHAGYBX":3,"skill-same:01M7ANCQVZ6RM00RY45JHAGYBX":195},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":26,"commitSha":27,"skillDirectory":5,"forksCount":13,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7ANCQVZ6RM00RY45JHAGYBX","laravel-database-optimization",null,"Laravel database optimization patterns. Use when writing Eloquent queries, creating migrations, configuring caching, debugging slow queries, or optimizing database performance. Triggers on tasks involving N+1 queries, indexing, Redis caching, pagination, or database transactions.","davidanthonyn\u002Fclaude-skills","davidanthonyn","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F55152980?v=4","01M7AJ4MY8S5C2RJCGX6626J0G","01M7AJ7JE1K98GRPH9Z57Z0R0W",0,"MIT","https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Flaravel-database-optimization\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: laravel-database-optimization\ndescription: Laravel database optimization patterns. Use when writing Eloquent queries, creating migrations, configuring caching, debugging slow queries, or optimizing database performance. Triggers on tasks involving N+1 queries, indexing, Redis caching, pagination, or database transactions.\nlicense: MIT\nmetadata:\n  author: agent-skills\n  version: \"1.1.1\"\n---\n\n# Laravel Database Optimization\n\nComprehensive database optimization guide for Laravel 13 applications. Contains 33 rules across 9 categories for writing performant database queries, proper indexing, efficient caching, naming conventions, and debugging slow queries in Laravel 13.\n\n## Metadata\n\n- **Version:** 1.1.0\n- **Framework:** Laravel 13.x\n- **PHP:** 8.3+\n\n## When to Apply\n\nReference these guidelines when:\n- Writing Eloquent queries or using the query builder\n- Diagnosing and fixing N+1 query problems\n- Adding database indexes to migrations\n- Implementing Redis or cache-based optimizations\n- Paginating or processing large datasets\n- Wrapping operations in database transactions\n- Creating or modifying migrations for production databases\n- Debugging slow queries with EXPLAIN or Laravel Debugbar\n\n## Rule Categories by Priority\n\n| Priority | Category | Impact | Prefix |\n|----------|----------|--------|--------|\n| 1 | Query Performance & N+1 | CRITICAL | `query-` |\n| 2 | Indexing Strategies | CRITICAL | `index-` |\n| 3 | Eloquent Optimization | HIGH | `eloquent-` |\n| 4 | Caching with Redis | HIGH | `cache-` |\n| 5 | Pagination & Large Datasets | HIGH | `data-` |\n| 6 | Transactions & Locking | HIGH | `lock-` |\n| 7 | Migrations | HIGH | `migrate-` |\n| 8 | Query Debugging | MEDIUM | `debug-` |\n| 9 | Naming & Structure | HIGH | `naming-` |\n\n## Quick Reference\n\n### 1. Query Performance & N+1 (CRITICAL)\n\n- `query-eager-loading` - Use eager loading to eliminate N+1 queries\n- `query-prevent-lazy-loading` - Prevent lazy loading in development\n- `query-auto-eager-loading` - Configure automatic eager loading on models\n- `query-select-columns` - Select only needed columns instead of SELECT *\n\n### 2. Indexing Strategies (CRITICAL)\n\n- `index-foreign-keys` - Index all foreign key columns\n- `index-composite-indexes` - Create composite indexes for multi-column queries\n- `index-covering-indexes` - Use covering indexes for read-heavy queries\n- `index-full-text` - Use full-text indexes for search functionality\n\n### 3. Eloquent Optimization (HIGH)\n\n- `eloquent-query-builder-hot-paths` - Use query builder for performance-critical paths\n- `eloquent-with-count-aggregates` - Use withCount instead of loading relations to count\n- `eloquent-subquery-selects` - Use subquery selects to avoid extra queries\n- `eloquent-where-has-optimization` - Optimize whereHas with whereIn subqueries\n\n### 4. Caching with Redis (HIGH)\n\n- `cache-remember` - Use Cache::remember for expensive queries\n- `cache-invalidation` - Invalidate cache on model changes\n- `cache-tags` - Use cache tags for group invalidation\n- `cache-ttl` - Set appropriate TTL values for cached data\n\n### 5. Pagination & Large Datasets (HIGH)\n\n- `data-cursor-pagination` - Use cursor pagination for large datasets\n- `data-chunk-by-id` - Process large datasets with chunkById\n- `data-cursor-iteration` - Use lazy cursors for memory-efficient iteration\n- `data-avoid-unbounded` - Never use unbounded queries on large tables\n\n### 6. Transactions & Locking (HIGH)\n\n- `lock-short-transactions` - Keep transactions short and focused\n- `lock-deadlock-retry` - Implement deadlock retry logic\n- `lock-pessimistic-locking` - Use pessimistic locking for critical updates\n\n### 7. Migrations (HIGH)\n\n- `migrate-zero-downtime` - Write zero-downtime migrations\n- `migrate-concurrent-indexes` - Create indexes concurrently in production\n- `migrate-safe-column-additions` - Add columns safely without locking tables\n\n### 8. Query Debugging (MEDIUM)\n\n- `debug-explain-analyze` - Use EXPLAIN ANALYZE to understand query plans\n- `debug-laravel-debugbar` - Use Laravel Debugbar to find query bottlenecks\n- `debug-slow-query-log` - Enable and monitor slow query logs\n\n### 9. Naming & Structure (HIGH)\n\n- `naming-tables` - Table naming conventions (plural snake_case, pivot alphabetical)\n- `naming-columns` - Column naming conventions (FKs, booleans, timestamps, polymorphic)\n- `naming-relationships` - Relationship method naming (singular\u002Fplural matching)\n- `naming-migrations` - Migration and index naming conventions\n\n## Essential Patterns\n\n### Prevent Lazy Loading in Development\n\n```php\n\u003C?php\n\nnamespace App\\Providers;\n\nuse Illuminate\\Database\\Eloquent\\Model;\nuse Illuminate\\Support\\ServiceProvider;\n\nclass AppServiceProvider extends ServiceProvider\n{\n    public function boot(): void\n    {\n        Model::preventLazyLoading(!app()->isProduction());\n    }\n}\n```\n\n### Cache Expensive Queries with Redis\n\n```php\n\u003C?php\n\nuse Illuminate\\Support\\Facades\\Cache;\n\n\u002F\u002F Cache a query result for 1 hour (3600 seconds)\n$popularPosts = Cache::remember('posts:popular', 3600, fn () =>\n    Post::query()\n        ->withCount('comments')\n        ->orderByDesc('comments_count')\n        ->take(10)\n        ->get()\n);\n```\n\n### Cursor Pagination for Large Datasets\n\n```php\n\u003C?php\n\n\u002F\u002F Cursor pagination — efficient for infinite scroll and large tables\n$posts = Post::query()\n    ->where('published_at', '\u003C=', now())\n    ->orderByDesc('published_at')\n    ->cursorPaginate(15);\n```\n\n### Aggregate Counts Without Loading Relations\n\n```php\n\u003C?php\n\n\u002F\u002F Instead of loading all posts just to count them\n$users = User::withCount('posts')->get();\n\nforeach ($users as $user) {\n    echo \"{$user->name} has {$user->posts_count} posts\";\n}\n```\n\n### Process Large Datasets with chunkById\n\n```php\n\u003C?php\n\n\u002F\u002F Memory-efficient processing of large tables\nUser::query()\n    ->where('last_login_at', '\u003C', now()->subYear())\n    ->chunkById(1000, function ($users) {\n        foreach ($users as $user) {\n            $user->update(['status' => 'inactive']);\n        }\n    });\n```\n\n### Short Database Transactions\n\n```php\n\u003C?php\n\nuse Illuminate\\Support\\Facades\\DB;\n\n\u002F\u002F Keep transactions short and focused\nDB::transaction(function () {\n    $order = Order::create([\n        'user_id' => auth()->id(),\n        'total' => $this->calculateTotal(),\n    ]);\n\n    $order->items()->createMany($this->cartItems());\n\n    $order->user->decrement('credits', $order->total);\n});\n```\n\n## How to Use\n\nRead individual rule files for detailed explanations and code examples:\n\n```\nrules\u002Fquery-eager-loading.md\nrules\u002Findex-composite-indexes.md\nrules\u002Fcache-remember.md\nrules\u002F_sections.md\n```\n\nEach rule file contains:\n- YAML frontmatter with metadata (title, impact, tags)\n- Brief explanation of why it matters\n- Bad Example with explanation\n- Good Example with explanation\n- Laravel 13 and PHP 8.3 specific context and references\n\n## References\n\n- [Laravel Eloquent](https:\u002F\u002Flaravel.com\u002Fdocs\u002F13.x\u002Feloquent)\n- [Laravel Queries](https:\u002F\u002Flaravel.com\u002Fdocs\u002F13.x\u002Fqueries)\n- [Laravel Cache](https:\u002F\u002Flaravel.com\u002Fdocs\u002F13.x\u002Fcache)\n- [Laravel Pagination](https:\u002F\u002Flaravel.com\u002Fdocs\u002F13.x\u002Fpagination)\n- [Laravel Migrations](https:\u002F\u002Flaravel.com\u002Fdocs\u002F13.x\u002Fmigrations)\n- [Laravel Redis](https:\u002F\u002Flaravel.com\u002Fdocs\u002F13.x\u002Fredis)\n\n## Full Compiled Document\n\nFor the complete guide with all rules expanded: `AGENTS.md`\n","# Laravel Database Optimization\n\nComprehensive database optimization guide for Laravel 13 applications. Contains 33 rules across 9 categories for writing performant database queries, proper indexing, efficient caching, naming conventions, and debugging slow queries in Laravel 13.\n\n## Metadata\n\n- **Version:** 1.1.0\n- **Framework:** Laravel 13.x\n- **PHP:** 8.3+\n\n## When to Apply\n\nReference these guidelines when:\n- Writing Eloquent queries or using the query builder\n- Diagnosing and fixing N+1 query problems\n- Adding database indexes to migrations\n- Implementing Redis or cache-based optimizations\n- Paginating or processing large datasets\n- Wrapping operations in database transactions\n- Creating or modifying migrations for production databases\n- Debugging slow queries with EXPLAIN or Laravel Debugbar\n\n## Rule Categories by Priority\n\n| Priority | Category | Impact | Prefix |\n|----------|----------|--------|--------|\n| 1 | Query Performance & N+1 | CRITICAL | `query-` |\n| 2 | Indexing Strategies | CRITICAL | `index-` |\n| 3 | Eloquent Optimization | HIGH | `eloquent-` |\n| 4 | Caching with Redis | HIGH | `cache-` |\n| 5 | Pagination & Large Datasets | HIGH | `data-` |\n| 6 | Transactions & Locking | HIGH | `lock-` |\n| 7 | Migrations | HIGH | `migrate-` |\n| 8 | Query Debugging | MEDIUM | `debug-` |\n| 9 | Naming & Structure | HIGH | `naming-` |\n\n## Quick Reference\n\n### 1. Query Performance & N+1 (CRITICAL)\n\n- `query-eager-loading` - Use eager loading to eliminate N+1 queries\n- `query-prevent-lazy-loading` - Prevent lazy loading in development\n- `query-auto-eager-loading` - Configure automatic eager loading on models\n- `query-select-columns` - Select only needed columns instead of SELECT *\n\n### 2. Indexing Strategies (CRITICAL)\n\n- `index-foreign-keys` - Index all foreign key columns\n- `index-composite-indexes` - Create composite indexes for multi-column queries\n- `index-covering-indexes` - Use covering indexes for read-heavy queries\n- `index-full-text` - Use full-text indexes for search functionality\n\n### 3. Eloquent Optimization (HIGH)\n\n- `eloquent-query-builder-hot-paths` - Use query builder for performance-critical paths\n- `eloquent-with-count-aggregates` - Use withCount instead of loading relations to count\n- `eloquent-subquery-selects` - Use subquery selects to avoid extra queries\n- `eloquent-where-has-optimization` - Optimize whereHas with whereIn subqueries\n\n### 4. Caching with Redis (HIGH)\n\n- `cache-remember` - Use Cache::remember for expensive queries\n- `cache-invalidation` - Invalidate cache on model changes\n- `cache-tags` - Use cache tags for group invalidation\n- `cache-ttl` - Set appropriate TTL values for cached data\n\n### 5. Pagination & Large Datasets (HIGH)\n\n- `data-cursor-pagination` - Use cursor pagination for large datasets\n- `data-chunk-by-id` - Process large datasets with chunkById\n- `data-cursor-iteration` - Use lazy cursors for memory-efficient iteration\n- `data-avoid-unbounded` - Never use unbounded queries on large tables\n\n### 6. Transactions & Locking (HIGH)\n\n- `lock-short-transactions` - Keep transactions short and focused\n- `lock-deadlock-retry` - Implement deadlock retry logic\n- `lock-pessimistic-locking` - Use pessimistic locking for critical updates\n\n### 7. Migrations (HIGH)\n\n- `migrate-zero-downtime` - Write zero-downtime migrations\n- `migrate-concurrent-indexes` - Create indexes concurrently in production\n- `migrate-safe-column-additions` - Add columns safely without locking tables\n\n### 8. Query Debugging (MEDIUM)\n\n- `debug-explain-analyze` - Use EXPLAIN ANALYZE to understand query plans\n- `debug-laravel-debugbar` - Use Laravel Debugbar to find query bottlenecks\n- `debug-slow-query-log` - Enable and monitor slow query logs\n\n### 9. Naming & Structure (HIGH)\n\n- `naming-tables` - Table naming conventions (plural snake_case, pivot alphabetical)\n- `naming-columns` - Column naming conventions (FKs, booleans, timestamps, polymorphic)\n- `naming-relationships` - Relationship method naming (singular\u002Fplural matching)\n- `naming-migrations` - Migration and index naming conventions\n\n## Essential Patterns\n\n### Prevent Lazy Loading in Development\n\n```php\n\u003C?php\n\nnamespace App\\Providers;\n\nuse Illuminate\\Database\\Eloquent\\Model;\nuse Illuminate\\Support\\ServiceProvider;\n\nclass AppServiceProvider extends ServiceProvider\n{\n    public function boot(): void\n    {\n        Model::preventLazyLoading(!app()->isProduction());\n    }\n}\n```\n\n### Cache Expensive Queries with Redis\n\n```php\n\u003C?php\n\nuse Illuminate\\Support\\Facades\\Cache;\n\n\u002F\u002F Cache a query result for 1 hour (3600 seconds)\n$popularPosts = Cache::remember('posts:popular', 3600, fn () =>\n    Post::query()\n        ->withCount('comments')\n        ->orderByDesc('comments_count')\n        ->take(10)\n        ->get()\n);\n```\n\n### Cursor Pagination for Large Datasets\n\n```php\n\u003C?php\n\n\u002F\u002F Cursor pagination — efficient for infinite scroll and large tables\n$posts = Post::query()\n    ->where('published_at', '\u003C=', now())\n    ->orderByDesc('published_at')\n    ->cursorPaginate(15);\n```\n\n### Aggregate Counts Without Loading Relations\n\n```php\n\u003C?php\n\n\u002F\u002F Instead of loading all posts just to count them\n$users = User::withCount('posts')->get();\n\nforeach ($users as $user) {\n    echo \"{$user->name} has {$user->posts_count} posts\";\n}\n```\n\n### Process Large Datasets with chunkById\n\n```php\n\u003C?php\n\n\u002F\u002F Memory-efficient processing of large tables\nUser::query()\n    ->where('last_login_at', '\u003C', now()->subYear())\n    ->chunkById(1000, function ($users) {\n        foreach ($users as $user) {\n            $user->update(['status' => 'inactive']);\n        }\n    });\n```\n\n### Short Database Transactions\n\n```php\n\u003C?php\n\nuse Illuminate\\Support\\Facades\\DB;\n\n\u002F\u002F Keep transactions short and focused\nDB::transaction(function () {\n    $order = Order::create([\n        'user_id' => auth()->id(),\n        'total' => $this->calculateTotal(),\n    ]);\n\n    $order->items()->createMany($this->cartItems());\n\n    $order->user->decrement('credits', $order->total);\n});\n```\n\n## How to Use\n\nRead individual rule files for detailed explanations and code examples:\n\n```\nrules\u002Fquery-eager-loading.md\nrules\u002Findex-composite-indexes.md\nrules\u002Fcache-remember.md\nrules\u002F_sections.md\n```\n\nEach rule file contains:\n- YAML frontmatter with metadata (title, impact, tags)\n- Brief explanation of why it matters\n- Bad Example with explanation\n- Good Example with explanation\n- Laravel 13 and PHP 8.3 specific context and references\n\n## References\n\n- [Laravel Eloquent](https:\u002F\u002Flaravel.com\u002Fdocs\u002F13.x\u002Feloquent)\n- [Laravel Queries](https:\u002F\u002Flaravel.com\u002Fdocs\u002F13.x\u002Fqueries)\n- [Laravel Cache](https:\u002F\u002Flaravel.com\u002Fdocs\u002F13.x\u002Fcache)\n- [Laravel Pagination](https:\u002F\u002Flaravel.com\u002Fdocs\u002F13.x\u002Fpagination)\n- [Laravel Migrations](https:\u002F\u002Flaravel.com\u002Fdocs\u002F13.x\u002Fmigrations)\n- [Laravel Redis](https:\u002F\u002Flaravel.com\u002Fdocs\u002F13.x\u002Fredis)\n\n## Full Compiled Document\n\nFor the complete guide with all rules expanded: `AGENTS.md`\n",{"name":5,"license":14,"metadata":23,"description":7},{"author":24,"version":25},"agent-skills","1.1.1","main","45d5ac830c3e238eeba6d0b4e6fd7cf6b56bf380","https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills","https:\u002F\u002Fgithub.com\u002Fdavidanthonyn","2026-09-09 16:05:56",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add davidanthonyn\u002Fclaude-skills --skill laravel-database-optimization",{"tool":37,"command":38},"bunx","bunx skills add davidanthonyn\u002Fclaude-skills --skill laravel-database-optimization",{"tool":40,"command":41},"pnpm","pnpm dlx skills add davidanthonyn\u002Fclaude-skills --skill laravel-database-optimization","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Flaravel-database-optimization\u002FSKILL.md",true,[45,51,55,59,63,67,71,75,79,83,87,91,95,99,103,107,111,115,119,123,127,131,135,139,143,147,151,155,159,163,167,171,175,179,183,187,191],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"AGENTS.md","REFERENCE","参考文档",95837,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Flaravel-database-optimization\u002FAGENTS.md",{"path":52,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":53,"sourceHtmlUrl":54},"README.md",2560,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Flaravel-database-optimization\u002FREADME.md",{"path":56,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":57,"sourceHtmlUrl":58},"rules\u002F_sections.md",3271,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Flaravel-database-optimization\u002Frules\u002F_sections.md",{"path":60,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":61,"sourceHtmlUrl":62},"rules\u002F_template.md",1812,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Flaravel-database-optimization\u002Frules\u002F_template.md",{"path":64,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":65,"sourceHtmlUrl":66},"rules\u002Fcache-invalidation.md",3448,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Flaravel-database-optimization\u002Frules\u002Fcache-invalidation.md",{"path":68,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":69,"sourceHtmlUrl":70},"rules\u002Fcache-remember.md",2633,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Flaravel-database-optimization\u002Frules\u002Fcache-remember.md",{"path":72,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":73,"sourceHtmlUrl":74},"rules\u002Fcache-tags.md",3678,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Flaravel-database-optimization\u002Frules\u002Fcache-tags.md",{"path":76,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":77,"sourceHtmlUrl":78},"rules\u002Fcache-ttl.md",3587,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Flaravel-database-optimization\u002Frules\u002Fcache-ttl.md",{"path":80,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":81,"sourceHtmlUrl":82},"rules\u002Fdata-avoid-unbounded.md",2669,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Flaravel-database-optimization\u002Frules\u002Fdata-avoid-unbounded.md",{"path":84,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":85,"sourceHtmlUrl":86},"rules\u002Fdata-chunk-by-id.md",2766,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Flaravel-database-optimization\u002Frules\u002Fdata-chunk-by-id.md",{"path":88,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":89,"sourceHtmlUrl":90},"rules\u002Fdata-cursor-iteration.md",2336,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Flaravel-database-optimization\u002Frules\u002Fdata-cursor-iteration.md",{"path":92,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":93,"sourceHtmlUrl":94},"rules\u002Fdata-cursor-pagination.md",2223,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Flaravel-database-optimization\u002Frules\u002Fdata-cursor-pagination.md",{"path":96,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":97,"sourceHtmlUrl":98},"rules\u002Fdebug-explain-analyze.md",3303,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Flaravel-database-optimization\u002Frules\u002Fdebug-explain-analyze.md",{"path":100,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":101,"sourceHtmlUrl":102},"rules\u002Fdebug-laravel-debugbar.md",2800,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Flaravel-database-optimization\u002Frules\u002Fdebug-laravel-debugbar.md",{"path":104,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":105,"sourceHtmlUrl":106},"rules\u002Fdebug-slow-query-log.md",3507,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Flaravel-database-optimization\u002Frules\u002Fdebug-slow-query-log.md",{"path":108,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":109,"sourceHtmlUrl":110},"rules\u002Feloquent-query-builder-hot-paths.md",2099,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Flaravel-database-optimization\u002Frules\u002Feloquent-query-builder-hot-paths.md",{"path":112,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":113,"sourceHtmlUrl":114},"rules\u002Feloquent-subquery-selects.md",2510,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Flaravel-database-optimization\u002Frules\u002Feloquent-subquery-selects.md",{"path":116,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":117,"sourceHtmlUrl":118},"rules\u002Feloquent-where-has-optimization.md",2698,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Flaravel-database-optimization\u002Frules\u002Feloquent-where-has-optimization.md",{"path":120,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":121,"sourceHtmlUrl":122},"rules\u002Feloquent-with-count-aggregates.md",2425,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Flaravel-database-optimization\u002Frules\u002Feloquent-with-count-aggregates.md",{"path":124,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":125,"sourceHtmlUrl":126},"rules\u002Findex-composite-indexes.md",2972,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Flaravel-database-optimization\u002Frules\u002Findex-composite-indexes.md",{"path":128,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":129,"sourceHtmlUrl":130},"rules\u002Findex-covering-indexes.md",2616,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Flaravel-database-optimization\u002Frules\u002Findex-covering-indexes.md",{"path":132,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":133,"sourceHtmlUrl":134},"rules\u002Findex-foreign-keys.md",2737,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Flaravel-database-optimization\u002Frules\u002Findex-foreign-keys.md",{"path":136,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":137,"sourceHtmlUrl":138},"rules\u002Findex-full-text.md",2751,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Flaravel-database-optimization\u002Frules\u002Findex-full-text.md",{"path":140,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":141,"sourceHtmlUrl":142},"rules\u002Flock-deadlock-retry.md",2915,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Flaravel-database-optimization\u002Frules\u002Flock-deadlock-retry.md",{"path":144,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":145,"sourceHtmlUrl":146},"rules\u002Flock-pessimistic-locking.md",3039,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Flaravel-database-optimization\u002Frules\u002Flock-pessimistic-locking.md",{"path":148,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":149,"sourceHtmlUrl":150},"rules\u002Flock-short-transactions.md",2953,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Flaravel-database-optimization\u002Frules\u002Flock-short-transactions.md",{"path":152,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":153,"sourceHtmlUrl":154},"rules\u002Fmigrate-concurrent-indexes.md",2954,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Flaravel-database-optimization\u002Frules\u002Fmigrate-concurrent-indexes.md",{"path":156,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":157,"sourceHtmlUrl":158},"rules\u002Fmigrate-safe-column-additions.md",3179,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Flaravel-database-optimization\u002Frules\u002Fmigrate-safe-column-additions.md",{"path":160,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":161,"sourceHtmlUrl":162},"rules\u002Fmigrate-zero-downtime.md",3177,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Flaravel-database-optimization\u002Frules\u002Fmigrate-zero-downtime.md",{"path":164,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":165,"sourceHtmlUrl":166},"rules\u002Fnaming-columns.md",4437,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Flaravel-database-optimization\u002Frules\u002Fnaming-columns.md",{"path":168,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":169,"sourceHtmlUrl":170},"rules\u002Fnaming-migrations.md",4234,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Flaravel-database-optimization\u002Frules\u002Fnaming-migrations.md",{"path":172,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":173,"sourceHtmlUrl":174},"rules\u002Fnaming-relationships.md",4904,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Flaravel-database-optimization\u002Frules\u002Fnaming-relationships.md",{"path":176,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":177,"sourceHtmlUrl":178},"rules\u002Fnaming-tables.md",3611,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Flaravel-database-optimization\u002Frules\u002Fnaming-tables.md",{"path":180,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":181,"sourceHtmlUrl":182},"rules\u002Fquery-auto-eager-loading.md",2418,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Flaravel-database-optimization\u002Frules\u002Fquery-auto-eager-loading.md",{"path":184,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":185,"sourceHtmlUrl":186},"rules\u002Fquery-eager-loading.md",1979,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Flaravel-database-optimization\u002Frules\u002Fquery-eager-loading.md",{"path":188,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":189,"sourceHtmlUrl":190},"rules\u002Fquery-prevent-lazy-loading.md",2311,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Flaravel-database-optimization\u002Frules\u002Fquery-prevent-lazy-loading.md",{"path":192,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":193,"sourceHtmlUrl":194},"rules\u002Fquery-select-columns.md",2375,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Flaravel-database-optimization\u002Frules\u002Fquery-select-columns.md",[196,203,211,218,225,234],{"skillNo":197,"name":198,"nameZh":6,"description":199,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":200,"categories":201,"keywords":202,"publishedAt":18},"01M7AQPHJF528A4MD52YZEZV3R","zustand-state-management","Production-tested setup for Zustand state management in React applications with TypeScript.\nThis skill provides comprehensive patterns for building scalable, type-safe global state.\n\nUse when: setting up global state in React, migrating from Redux or Context API, implementing\nstate persistence with localStorage, configuring TypeScript with Zustand, using slices pattern\nfor modular stores, adding devtools middleware for debugging, handling Next.js SSR hydration,\nor encountering hydration errors, TypeScript inference issues, or persist middleware problems.\n\nPrevents 5 documented issues: Next.js hydration mismatches, TypeScript double parentheses\nsyntax errors, persist middleware export errors, infinite render loops, and slices pattern\ntype inference failures.\n\nKeywords: zustand, state management, React state, TypeScript state, persist middleware,\ndevtools, slices pattern, global state, React hooks, create store, useBoundStore,\nStateCreator, hydration error, text content mismatch, infinite render, localStorage,\nsessionStorage, immer middleware, shallow equality, selector pattern, zustand v5","https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Fzustand-state-management\u002FSKILL.md",[],[],{"skillNo":204,"name":205,"nameZh":6,"description":206,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":207,"sourceHtmlUrl":208,"categories":209,"keywords":210,"publishedAt":18},"01M7AQP2XJRPNYEH323GJ81NN5","zetic-mlange","Help users integrate the ZETIC Melange (MLange) on-device AI SDK into Android (Kotlin\u002FJava) and iOS (Swift) mobile apps. Use this skill whenever the user mentions Zetic, MLange, Melange, ZeticMLangeModel, ZeticMLangeLLMModel, ZeticMLangeHFModel, on-device NPU inference for mobile, or deploying ML models to Android\u002FiOS with NPU acceleration. Also trigger when users ask about running LLMs on-device with GGUF quantization, mobile NPU model deployment, or converting PyTorch\u002FONNX models for mobile inference. Covers general model inference, LLM inference (streaming token generation), and HuggingFace model loading.","https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Fzetic-mlange\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Fzetic-mlange\u002FSKILL.md",[],[],{"skillNo":212,"name":213,"nameZh":6,"description":214,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":215,"categories":216,"keywords":217,"publishedAt":18},"01M7AQNEJHD27NNF5PYQDSW8B9","youtube-downloader","Download videos, audio, playlists, and channels from YouTube and 1000+ websites using yt-dlp. Supports quality selection, format conversion, subtitle download, playlist filtering, metadata extraction, thumbnail download, and batch operations. Use when downloading YouTube videos in any quality (4K, 8K, HDR), extracting audio as MP3\u002FM4A\u002FFLAC, downloading entire playlists\u002Fchannels, getting subtitles in multiple languages, converting to specific formats, downloading live streams, archiving content, or batch processing multiple URLs. Optimized for reliability with automatic retries, rate limiting, and error handling.","https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Fyoutube-downloader\u002FSKILL.md",[],[],{"skillNo":219,"name":220,"nameZh":6,"description":221,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":222,"categories":223,"keywords":224,"publishedAt":18},"01M7AQJQSD2H04EE2EPNAQ8A3M","wordpress-plugin-core","This skill provides comprehensive knowledge for WordPress plugin development, covering core patterns, security best practices, database interactions, hooks\u002Ffilters, Settings API, custom post types, REST API, and AJAX. This skill should be used when creating WordPress plugins, troubleshooting security issues, implementing custom post types\u002Ftaxonomies, building admin interfaces, or working with the WordPress database.\n\nUse when: Creating new WordPress plugins, implementing nonces\u002Fsanitization\u002Fescaping, working with $wpdb and prepared statements, building Settings API pages, registering custom post types or taxonomies, implementing REST API endpoints, handling AJAX requests, debugging plugin activation\u002Fdeactivation issues, preventing SQL injection\u002FXSS\u002FCSRF vulnerabilities.\n\nKeywords: wordpress plugin development, wordpress security, wordpress hooks, wordpress filters, wordpress database, wpdb prepare, sanitize_text_field, esc_html, wp_nonce, custom post type, register_post_type, settings api, rest api, admin-ajax, wordpress sql injection, wordpress xss, wordpress csrf, plugin header, activation hook, deactivation hook, wordpress coding standards, wordpress plugin architecture","https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Fwordpress-plugin-core\u002FSKILL.md",[],[],{"skillNo":226,"name":227,"nameZh":6,"description":228,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":229,"licenseFileUrl":230,"sourceHtmlUrl":231,"categories":232,"keywords":233,"publishedAt":18},"01M7AQJ91T970QCFMN9R1EHZXV","webapp-testing","Test local web applications with Playwright. Use when asked to verify frontend functionality, debug UI behavior, capture browser screenshots, or inspect browser logs.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":235,"name":236,"nameZh":6,"description":237,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":238,"categories":239,"keywords":240,"publishedAt":18},"01M7AQJ5E89MS8C5K3GZTY4B48","web-performance-audit","Audit web performance using Chrome DevTools MCP. Use when asked to audit, profile, debug, or optimize page load performance, Lighthouse scores, or site speed.","https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fclaude-skills\u002Fblob\u002Fmain\u002Fweb-performance-audit\u002FSKILL.md",[],[]]