All authors
jpcaparas avatar

Claude Skills by jpcaparas

github.com/jpcaparas
52 skillsA× 521 installs47 views
Api Resources And PaginationA

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

toolsphpapi
0
136
Api Surface EvolutionA

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

businessgotesting
0
136
Blade Components And LayoutsA

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

developmentphp
0
136
Bootstrap CheckA

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

toolsphpbash
0
136
BrainstormingA

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

businessgotesting
0
136
Code Review RequestsA

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

securitygophp
0
136
Complexity GuardrailsA

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

code-qualityrails
0
136
Config Env StorageA

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

testingawstesting
0
136
Constants And ConfigurationA

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

code-qualitygophp
0
136
Controller CleanupA

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

testingphptesting
0
136
Controller TestsA

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

testingphp
0
136
Custom HelpersA

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

toolsphp
0
136
Daily WorkflowA

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

databasesphpfrontend
0
136
Data Chunking Large DatasetsA

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

databasesphptesting
0
136
Debugging PromptsA

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

researchgophp
0
136
Dependencies Trim PackagesA

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

securitysecurity
0
136
Documentation Best PracticesA

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

databasesgophp
0
136
E2e PlaywrightA

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

testingapi
0
136
Effective ContextA

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

databasesgophp
0
136
Eloquent Relationships And LoadingA

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

toolsexpressperformance
0
136
Exception Handling And LoggingA

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

securityphpapi
0
136
Executing PlansA

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

code-quality
0
136
Filesystem Uploads And UrlsA

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

devopsgosql
0
136
Form Requests And ValidationA

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

testingphptesting
0
136
Horizon Metrics And DashboardsA

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

testingtesting
0
136
Http Client ResilienceA

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

toolsapi
0
136
Interfaces And DiA

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

devopsphptesting
0
136
Internationalization And TranslationA

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

developmentjavascriptgo
0
136
Iterating On CodeA

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

databasesgophp
0
136
Laravel Prompting PatternsA

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

documentationgophp
0
136
Migrations And FactoriesA

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

databasesphptesting
0
136
Nova Resource PatternsA

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

databasestesting
0
136
Performance CachingA

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

devopsphpperformance
0
136
Performance Eager LoadingA

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

testingphpperformance
0
136
Performance Select ColumnsA

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

toolsphpperformance
0
136
Policies And AuthorizationA

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

toolsphp
0
136
Ports And AdaptersA

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

designgophp
0
136
Prompt StructureA

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

testinggorefactoring
0
136
Quality ChecksA

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

code-qualityphpfrontend
0
136
Queues And HorizonA

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

testingphptesting
0
136
Rate Limiting And ThrottleA

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

toolsphpapi
0
136
Routes Best PracticesA

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

code-qualitygophp
0
136
Runner SelectionA

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

toolsphpsql
0
136
Specifying ConstraintsA

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

securitygophp
0
136
Strategy PatternA

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

designphp
0
136
Task SchedulingA

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

devopsphpnode
0
136
Tdd With PestA

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

testingphp
0
136
Template Method And PluginsA

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

businessgophp
0
136
Transactions And ConsistencyA

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

tools
0
136
Using Examples In PromptsA

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

documentationgophp
0
136