Back to authors
jpcaparas

jpcaparas

52 Skills published on GitHub.

laravel:api-resources-and-pagination

Use API Resources with pagination and conditional fields; keep response shapes stable and cache-friendly

UncategorizedView skill →

laravel:api-surface-evolution

Evolve APIs safely using versioned DTOs/transformers, deprecations, and compatibility tests

UncategorizedView skill →

laravel:blade-components-and-layouts

Compose UIs with Blade components, slots, and layouts; keep templates pure and testable

UncategorizedView skill →

laravel:bootstrap-check

Detect Sail/non‑Sail and print the right command pairs for your environment; verify dependencies and key services are reachable

UncategorizedView skill →

laravel:brainstorming

Interactive design refinement tailored to Laravel projects; clarify domain, data, interfaces, testing, and quality gates while accounting for Sail/non‑Sail environments

UncategorizedView skill →

laravel:code-review-requests

Request effective code reviews—specify focus areas, provide context, ask for architectural feedback, reference Laravel conventions

UncategorizedView skill →

laravel:complexity-guardrails

Keep cyclomatic complexity low; flatten control flow, extract helpers, and prefer table-driven/strategy patterns over large switches

UncategorizedView skill →

laravel:config-env-storage

Portable storage configuration across S3/R2/MinIO with optional CDN—env toggles, path-style endpoints, and URL generation

UncategorizedView skill →

laravel:constants-and-configuration

Replace hardcoded values with constants, enums, and configuration for maintainability; use PHP 8.1+ enums and config files

UncategorizedView skill →

laravel:controller-cleanup

Reduce controller bloat using Form Requests for auth/validation, small Actions/Services with DTOs, and resource/single-action controllers

UncategorizedView skill →

laravel:controller-tests

Write focused controller tests using HTTP assertions; keep heavy logic in Actions/Services and unit test them

UncategorizedView skill →

laravel:custom-helpers

Create and register small, pure helper functions when they improve clarity; keep them organized and tested

UncategorizedView skill →

laravel:daily-workflow

Practical daily checklist for Laravel projects; bring services up, run migrations, queues, quality gates, and tests

UncategorizedView skill →

laravel:data-chunking-large-datasets

Process large datasets efficiently using chunk(), chunkById(), lazy(), and cursor() to reduce memory consumption and improve performance

UncategorizedView skill →

laravel:debugging-prompts

Create effective debugging prompts—include error messages, stack traces, expected vs actual behavior, logs, and attempted solutions

UncategorizedView skill →

laravel:dependencies-trim-packages

Remove unneeded Composer packages and assets to improve boot time, memory, and security surface

UncategorizedView skill →

laravel:documentation-best-practices

Write meaningful documentation that explains why not what; focus on complex business logic and self-documenting code

UncategorizedView skill →

laravel:e2e-playwright

Generic E2E patterns with Playwright—state setup, seeds, test IDs, auth, environment, and Sail integration

UncategorizedView skill →

laravel:effective-context

Provide comprehensive context in prompts—files, errors, Laravel version, dependencies, and monorepo details—for accurate AI responses

UncategorizedView skill →

laravel:eloquent-relationships

Define clear relationships and load data efficiently; prevent N+1, use constraints, counts/sums, and pivot syncing safely

UncategorizedView skill →

laravel:exception-handling-and-logging

Use reportable/renderable exceptions, structured logs, and channel strategy for observability and graceful failures

UncategorizedView skill →

laravel:executing-plans

Execute Laravel plans in small batches with checkpoints—TDD first, migrations safe, queues verified, and quality gates enforced

UncategorizedView skill →

laravel:filesystem-uploads

Store and serve files via Storage; set visibility, generate URLs, and handle streaming safely

UncategorizedView skill →

laravel:form-requests

Move validation and authorization into Form Requests; use rule objects, custom messages, and nested data handling to keep controllers slim

UncategorizedView skill →

laravel:horizon:metrics-and-dashboards

Operate Horizon with confidence—naming, tags, concurrency, failure handling, actionable metrics, and dashboards

UncategorizedView skill →

laravel:http-client-resilience

Use the HTTP client with sensible timeouts, retries, and backoff; capture context and handle failures explicitly

UncategorizedView skill →

laravel:interfaces-and-di

Use interfaces and dependency injection to decouple code; bind implementations in the container

UncategorizedView skill →

laravel:internationalization-and-translation

Build with i18n in mind from day one using Laravel translation helpers, JSON files, Blade integration, and locale management

UncategorizedView skill →

laravel:iterating-on-code

Refine AI-generated code through specific feedback—point out errors, identify gaps, show desired changes, reference style guides

UncategorizedView skill →

laravel:laravel-prompting-patterns

Use Laravel-specific vocabulary—Eloquent patterns, Form Requests, API resources, jobs/queues—to get idiomatic framework code

UncategorizedView skill →

laravel:migrations-and-factories

Safe database change patterns; when to modify vs add migrations; always pair models with migrations and factories; seeding guidance

UncategorizedView skill →

laravel:nova:resource-patterns

Consistent Nova resources—fields, actions, metrics, lenses, filters, authorization—and how to evolve resources alongside schema changes

UncategorizedView skill →

laravel:performance-caching

Use framework caches and value/query caching to reduce work; add tags, locks, and explicit invalidation strategies for correctness

UncategorizedView skill →

laravel:performance-eager-loading

Prevent N+1 queries by eager loading; enable lazy-loading protection in non-production; choose selective fields

UncategorizedView skill →

laravel:performance-select-columns

Select only required columns to reduce memory and transfer costs; apply to base queries and relations

UncategorizedView skill →

laravel:policies-and-authorization

Enforce access via Policies and Gates; use authorize() and authorizeResource() to standardize controller protections

UncategorizedView skill →

laravel:ports-and-adapters

Use hexagonal architecture for external systems; define ports (interfaces) and per-provider adapters; select adapter at composition edge

UncategorizedView skill →

laravel:prompt-structure

Structure prompts for clarity—separate concerns, prioritize requests, specify acceptance criteria, and break work into testable increments

UncategorizedView skill →

laravel:quality-checks

Unified quality gates for Laravel projects; Pint, static analysis (PHPStan/Psalm), Insights (optional), and JS linters; Sail and non-Sail pairs provided

UncategorizedView skill →

laravel:queues-and-horizon

Operate and verify queues with or without Horizon; safe worker flags, failure handling, and test strategies

UncategorizedView skill →

laravel:rate-limiting

Apply per-user and per-route limits with RateLimiter and throttle middleware; use backoffs and headers for clients

UncategorizedView skill →

laravel:routes-best-practices

Keep routes clean and focused on mapping requests to controllers; avoid business logic, validation, or database operations in route files

UncategorizedView skill →

laravel:runner-selection

Choose Sail automatically when available, fall back cleanly to host PHP/Composer/Node; paired command map for both environments

UncategorizedView skill →

laravel:specifying-constraints

Define clear constraints—performance, security, testing, architecture, dependencies—so AI generates code that meets your project standards

UncategorizedView skill →

laravel:strategy-pattern

Use the Strategy pattern to select behavior at runtime; bind multiple implementations to a shared interface

UncategorizedView skill →

laravel:task-scheduling

Schedule tasks with safety; use withoutOverlapping, onOneServer, and visibility settings for reliable cron execution

UncategorizedView skill →

laravel:tdd-with-pest

Apply RED-GREEN-REFACTOR with Pest or PHPUnit; use factories, feature tests for HTTP, and parallel test runners; verify failures before implementation

UncategorizedView skill →

laravel:template-method-and-plugins

Stabilize workflows with Template Method or Strategy; extend by adding new classes instead of editing core logic

UncategorizedView skill →

laravel:transactions-and-consistency

Wrap multi-write operations in transactions; use dispatchAfterCommit and idempotency patterns to ensure consistency

UncategorizedView skill →

laravel:using-examples-in-prompts

Provide concrete examples—existing code patterns, style samples, input/output pairs—to guide AI toward your project's conventions

UncategorizedView skill →

Page 1 of 2 · 52 results