All authors

Claude Skills by jpcaparas
github.com/jpcaparas57 skills1 installs163 views
- Api Resources And PaginationUse API Resources with pagination and conditional fields; keep response shapes stable and cache-friendlyVotes: 0GitHub stars: 147
- Api Surface EvolutionEvolve APIs safely using versioned DTOs/transformers, deprecations, and compatibility testsVotes: 0GitHub stars: 147
- Blade Components And LayoutsCompose UIs with Blade components, slots, and layouts; keep templates pure and testableVotes: 0GitHub stars: 147
- Bootstrap CheckDetect Sail/non‑Sail and print the right command pairs for your environment; verify dependencies and key services are reachableVotes: 0GitHub stars: 147
- BrainstormingInteractive design refinement tailored to Laravel projects; clarify domain, data, interfaces, testing, and quality gates while accounting for Sail/non‑Sail environmentsVotes: 0GitHub stars: 147
- Code Review RequestsRequest effective code reviews—specify focus areas, provide context, ask for architectural feedback, reference Laravel conventionsVotes: 0GitHub stars: 147
- Complexity GuardrailsKeep cyclomatic complexity low; flatten control flow, extract helpers, and prefer table-driven/strategy patterns over large switchesVotes: 0GitHub stars: 147
- Config Env StoragePortable storage configuration across S3/R2/MinIO with optional CDN—env toggles, path-style endpoints, and URL generationVotes: 0GitHub stars: 147
- Constants And ConfigurationReplace hardcoded values with constants, enums, and configuration for maintainability; use PHP 8.1+ enums and config filesVotes: 0GitHub stars: 147
- Controller CleanupReduce controller bloat using Form Requests for auth/validation, small Actions/Services with DTOs, and resource/single-action controllersVotes: 0GitHub stars: 147
- Controller TestsWrite focused controller tests using HTTP assertions; keep heavy logic in Actions/Services and unit test themVotes: 0GitHub stars: 147
- Custom HelpersCreate and register small, pure helper functions when they improve clarity; keep them organized and testedVotes: 0GitHub stars: 147
- Daily WorkflowPractical daily checklist for Laravel projects; bring services up, run migrations, queues, quality gates, and testsVotes: 0GitHub stars: 147
- Data Chunking Large DatasetsProcess large datasets efficiently using chunk(), chunkById(), lazy(), and cursor() to reduce memory consumption and improve performanceVotes: 0GitHub stars: 147
- Debugging PromptsCreate effective debugging prompts—include error messages, stack traces, expected vs actual behavior, logs, and attempted solutionsVotes: 0GitHub stars: 147
- Dependencies Trim PackagesRemove unneeded Composer packages and assets to improve boot time, memory, and security surfaceVotes: 0GitHub stars: 147
- Documentation Best PracticesWrite meaningful documentation that explains why not what; focus on complex business logic and self-documenting codeVotes: 0GitHub stars: 147
- E2e PlaywrightGeneric E2E patterns with Playwright—state setup, seeds, test IDs, auth, environment, and Sail integrationVotes: 0GitHub stars: 147
- Effective ContextProvide comprehensive context in prompts—files, errors, Laravel version, dependencies, and monorepo details—for accurate AI responsesVotes: 0GitHub stars: 147
- Eloquent Relationships And LoadingDefine clear relationships and load data efficiently; prevent N+1, use constraints, counts/sums, and pivot syncing safelyVotes: 0GitHub stars: 147
- Exception Handling And LoggingUse reportable/renderable exceptions, structured logs, and channel strategy for observability and graceful failuresVotes: 0GitHub stars: 147
- Executing PlansExecute Laravel plans in small batches with checkpoints—TDD first, migrations safe, queues verified, and quality gates enforcedVotes: 0GitHub stars: 147
- Filesystem Uploads And UrlsStore and serve files via Storage; set visibility, generate URLs, and handle streaming safelyVotes: 0GitHub stars: 147
- Form Requests And ValidationMove validation and authorization into Form Requests; use rule objects, custom messages, and nested data handling to keep controllers slimVotes: 0GitHub stars: 147
- Horizon Metrics And DashboardsOperate Horizon with confidence—naming, tags, concurrency, failure handling, actionable metrics, and dashboardsVotes: 0GitHub stars: 147
- Http Client ResilienceUse the HTTP client with sensible timeouts, retries, and backoff; capture context and handle failures explicitlyVotes: 0GitHub stars: 147
- Interfaces And DiUse interfaces and dependency injection to decouple code; bind implementations in the containerVotes: 0GitHub stars: 147
- Internationalization And TranslationBuild with i18n in mind from day one using Laravel translation helpers, JSON files, Blade integration, and locale managementVotes: 0GitHub stars: 147
- Iterating On CodeRefine AI-generated code through specific feedback—point out errors, identify gaps, show desired changes, reference style guidesVotes: 0GitHub stars: 147
- Laravel Prompting PatternsUse Laravel-specific vocabulary—Eloquent patterns, Form Requests, API resources, jobs/queues—to get idiomatic framework codeVotes: 0GitHub stars: 147
- Migrations And FactoriesSafe database change patterns; when to modify vs add migrations; always pair models with migrations and factories; seeding guidanceVotes: 0GitHub stars: 147
- Nova Resource PatternsConsistent Nova resources—fields, actions, metrics, lenses, filters, authorization—and how to evolve resources alongside schema changesVotes: 0GitHub stars: 147
- Performance CachingUse framework caches and value/query caching to reduce work; add tags, locks, and explicit invalidation strategies for correctnessVotes: 0GitHub stars: 147
- Performance Eager LoadingPrevent N+1 queries by eager loading; enable lazy-loading protection in non-production; choose selective fieldsVotes: 0GitHub stars: 147
- Performance Select ColumnsSelect only required columns to reduce memory and transfer costs; apply to base queries and relationsVotes: 0GitHub stars: 147
- Policies And AuthorizationEnforce access via Policies and Gates; use authorize() and authorizeResource() to standardize controller protectionsVotes: 0GitHub stars: 147
- Ports And AdaptersUse hexagonal architecture for external systems; define ports (interfaces) and per-provider adapters; select adapter at composition edgeVotes: 0GitHub stars: 147
- Prompt StructureStructure prompts for clarity—separate concerns, prioritize requests, specify acceptance criteria, and break work into testable incrementsVotes: 0GitHub stars: 147
- Quality ChecksUnified quality gates for Laravel projects; Pint, static analysis (PHPStan/Psalm), Insights (optional), and JS linters; Sail and non-Sail pairs providedVotes: 0GitHub stars: 147
- Queues And HorizonOperate and verify queues with or without Horizon; safe worker flags, failure handling, and test strategiesVotes: 0GitHub stars: 147
- Rate Limiting And ThrottleApply per-user and per-route limits with RateLimiter and throttle middleware; use backoffs and headers for clientsVotes: 0GitHub stars: 147
- Routes Best PracticesKeep routes clean and focused on mapping requests to controllers; avoid business logic, validation, or database operations in route filesVotes: 0GitHub stars: 147
- Runner SelectionChoose Sail automatically when available, fall back cleanly to host PHP/Composer/Node; paired command map for both environmentsVotes: 0GitHub stars: 147
- Specifying ConstraintsDefine clear constraints—performance, security, testing, architecture, dependencies—so AI generates code that meets your project standardsVotes: 0GitHub stars: 147
- Strategy PatternUse the Strategy pattern to select behavior at runtime; bind multiple implementations to a shared interfaceVotes: 0GitHub stars: 147
- Task SchedulingSchedule tasks with safety; use withoutOverlapping, onOneServer, and visibility settings for reliable cron executionVotes: 0GitHub stars: 147
- Tdd With PestApply RED-GREEN-REFACTOR with Pest or PHPUnit; use factories, feature tests for HTTP, and parallel test runners; verify failures before implementationVotes: 0GitHub stars: 147
- Template Method And PluginsStabilize workflows with Template Method or Strategy; extend by adding new classes instead of editing core logicVotes: 0GitHub stars: 147
- Transactions And ConsistencyWrap multi-write operations in transactions; use dispatchAfterCommit and idempotency patterns to ensure consistencyVotes: 0GitHub stars: 147
- Using Examples In PromptsProvide concrete examples—existing code patterns, style samples, input/output pairs—to guide AI toward your project's conventionsVotes: 0GitHub stars: 147