mrpunyapal/laravel-auth-jobs/laravel-auth-jobs-development
Claude Code and agent skill by mrpunyapal/laravel-auth-jobs
- community
- ext:[{"type":"context","description":"Custom context provider definitions"}]
Checking that the SKILL.md file is still in the repository.
Use for tasks involving mrpunyapal/laravel-auth-jobs, authenticated queued jobs, auth context propagation, AuthenticateJob middleware, HasContextKeys customization, and debugging missing auth()->user() inside queue workers. Do not use for generic queue performance tuning or stateless job processing.
Install
npx vskill@latest install mrpunyapal/laravel-auth-jobs/laravel-auth-jobs-developmentSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
Laravel Auth Jobs Development
Use this skill when a queued job must access the authenticated user that dispatched it. This package captures the authenticated user ID and guard during the HTTP request and restores that auth state inside queued jobs.
Install and Publish Configuration
Required Workflow
- Dispatch the job from a request handled by one of the middleware groups listed in
config/auth-jobs.php. - Let the package's
AuthenticateJobsHTTP middleware store the authenticated user ID and guard in Laravel context for that request. - Add
new AuthenticateJobto the queued job'smiddleware()method so the auth state is restored beforehandle()runs. - Read
auth()->user()or run authorization checks insidehandle()after the middleware has restored the auth state. - If your application needs different context keys, replace
context_keyswith a custom class that implementsHasContextKeys, or bind the interface in a service provider.
The package service provider automatically pushes AuthenticateJobs onto the configured middleware groups during package boot, so you do not need to register that middleware manually when the config is correct.
Job Example
Custom Context Keys
Point context_keys in config/auth-jobs.php to \App\Auth\CustomContextKeys::class, or bind HasContextKeys to your implementation in a service provider.
Troubleshooting
- If
auth()->user()isnullinside the job, confirm the dispatching request used a configured middleware group and the request was authenticated. - Confirm the job defines
middleware()and returnsAuthenticateJob. - If you replace context keys, verify the custom class implements
HasContextKeysand thecontext_keysconfig points to it. - Re-run
composer testafter changing middleware or context integration.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingresources/boost/skills/laravel-auth-jobs-development/SKILL.md
Popularity
- Repository stars
- 44
- Repository forks
- 1
- 7-day trend score
- 19
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
contextCustom context provider definitions
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/mrpunyapal/laravel-auth-jobs/laravel-auth-jobs-development)