/gabbe-coding:performant-laravelfrom gabbe-coding
Optimizes Laravel applications for speed using eager loading, indexing, caching, Octane/FrankenPHP, and load testing. Useful for slow pages, N+1 queries, or high traffic.
Ships in gabbe-coding. 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.
Read when SKILL.md points to them.
Optimize Laravel applications for high-throughput, sub-100ms response times, and horizontal scalability using modern runtimes and efficient data patterns.
with()) for all relationships. Use preventLazyLoading() in development.select() to retrieve only required columns. Never use * for large tables.chunk() or lazy() for processing large records. Use cursorPaginate() for infinite scroll or high-offset pagination.WHERE, ORDER BY, and GROUP BY are appropriately indexed.Cache facade with Redis/Memcached. Favor tags() for complex invalidation.php artisan config:cache, route:cache, and view:cache in production deployments.DB::listen).k6 or ab to get the current Request/Second and p99 latency.composer install --optimize-autoloader --no-dev is used.BENCHMARK_REPORT_TEMPLATE.md: Bottleneck analysis and Octane/FPM load comparisons.ARCHITECTURE_REVIEW_TEMPLATE.md: Definition of cached keys and invalidation logic.SCALABILITY_ANALYSIS_TEMPLATE.md: Queue worker strategy and database replica plan.k6 or ab baseline) and record before and after numbers.DB::raw, whereRaw and similar only as bindings, never by string interpolation.env() only in config files (it returns null outside them once config is cached); rate-limit APIs with RateLimiter.cursorPaginate.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Laravel, PHP, Redis, MySQL, PostgreSQL
laravel-performance, octane, frankenphp, n-plus-one, caching
30 skills in this plugin
/agent-trajectory-evalScore an agent's run by its tool calls and state transitions, not only its final answer: tool and parameter F1, in-order match, legal transitions, pass^k. Use when you evaluate how an agent reached an answer or need a reliability figure over repeated runs./artisan-commandsRun Laravel Artisan commands safely: check the project and environment, run the command, verify the result. Use when the user asks to scaffold a controller or model, run migrations or manage a Laravel app with php artisan./browser-tddWrite Playwright tests that check a UI in a real browser (DOM, computed styles, scroll, screenshots) before the code. Use when a UI task is about layout, sticky or fixed elements, modals, animations or anything that only works when it renders correctly./chaos-fault-injectionProduce a fault-injection matrix: each fault (dropped connection, corrupt write, latency, bad response, resource exhaustion) with its expected recovery and an assertion. Use when you must show that a system recovers, rolls back or stops safely when a dependency fails./ci-autofixFix a failing CI run: read the log, find the first root cause (lint, types, test, build), apply a minimal change and verify it locally. Use when CI is red, a build is broken, or a lint, type or test job fails./design-by-contractState preconditions, postconditions and invariants at module boundaries and make them runnable checks. Use at S03/S05 for level 1 code with logic, public module interfaces, or when a requirement says what must always hold. Use when: design by contract, preconditions, postconditions, invariants, contract at boundary, icontract, assert contracts, module boundary checks.npx claudepluginhub andreibesleaga/gabbe --plugin gabbe-codingOther plugins' skills for the same job