/syarif-laravel-ai-skills:laravel-database-optimizationfrom syarif-laravel-ai-skills
Optimizes Laravel database performance by addressing N+1 queries, indexes, selective columns, caching, pagination, large datasets, locks, and migrations.
Ships in syarif-laravel-ai-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this skill when improving query performance, reviewing migrations, debugging slow pages, or reducing memory and database load in Laravel apps.
This skill coordinates existing performance skills and adds an optimization workflow.
EXPLAIN, tests, or realistic data volume.withCount, withSum, exists, subqueries, or aggregates instead of loading full relations for summaries.all(), broad get(), and collection-side filtering on large tables.performance-eager-loadingperformance-select-columnsperformance-cachingdata-chunking-large-datasetsmigrations-and-factoriesdatabase-transactionsWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
laravel, database-optimization, query-performance, indexing, caching, migrations
Generated from the plugin's indexed repository (soden46/syarif-laravel-ai-skills) — no native marketplace selected
npx claudepluginhub p/soden46-syarif-laravel-ai-skills72 skills in this plugin
/actions-and-servicesUse Actions and Services as deliberate Laravel application boundaries for use cases, integrations, and reusable workflows./ai-sdkBuild AI features with the first-party Laravel AI SDK (Laravel 13+); agents, embeddings, images, audio, and tool calling with provider-agnostic APIs/api-resources-and-paginationLaravel guidance to use API Resources with pagination and conditional fields; keep response shapes stable and cache-friendly