/syarif-laravel-ai-skills:securityfrom syarif-laravel-ai-skills
Runs focused Laravel security checks covering authorization, CSRF, rate limits, input validation, file uploads, secrets, logging, API security, and dependency configuration.
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.
Run a focused security pass whenever work touches authentication, authorization, input handling, uploads, external integrations, payment-like flows, public APIs, or sensitive data.
Every route/action that reads or mutates protected data needs authorization.
Use:
authorize() for request-input-dependent checks.Test both allowed and denied paths.
Use CSRF protection for browser forms. Exclude webhooks only deliberately, and authenticate webhook requests through signatures, shared secrets, IP allowlists, or provider verification as appropriate.
Apply rate limits to abuse-prone routes such as login, password reset, public forms, file uploads, and expensive API endpoints.
Validate all request input at the boundary. Use query builder bindings or Eloquent instead of interpolated raw SQL.
Escape output in Blade. Be deliberate about HTML rendering.
For frontend stacks, expose only the props needed by the page. Do not send hidden sensitive data because it is "not displayed."
Validate uploaded files for:
Store files through Laravel Storage. Do not trust original filenames for storage paths. Keep visibility explicit.
Keep credentials in environment/config, not database-backed admin settings or source files.
Do not log:
Use structured logs with safe identifiers and sanitized summaries.
Log::info('integration.gateway.create.completed', [
'record_id' => $record->id,
'reference' => $record->public_reference,
'provider_status' => $response->status(),
]);
For APIs:
When dependency or deployment configuration changes are in scope:
What SKILL.md sets; muted values are Claude Code's defaults
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