laravel-expert
यह क्या करती है
यह एजेंट Laravel का एक्सपर्ट है। Laravel वेब ऐप्लिकेशन बनाने के लिए एक लोकप्रिय framework है। यह कोड को सुरक्षित, तेज़ और आसानी से समझ में आने लायक बनाने में मदद करता है, और बेस्ट प्रैक्टिस को फॉलो करता है।
कब इस्तेमाल करें
- ✓Laravel से वेबसाइट का नया हिस्सा बनाते समय।
- ✓पुराने Laravel कोड को ठीक करते या सुधारते समय।
- ✓जब यह डिज़ाइन करना हो कि डेटा कैसे भेजा और प्राप्त किया जाएगा (APIs)।
Skill का लिंक
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/laravel-expert/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मैं अपने Laravel ऐप में नए यूज़र रजिस्ट्रेशन का फीचर कैसे बनाऊं, जो सुरक्षित हो और बेस्ट प्रैक्टिस को फॉलो करे?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह आपके कोड या अनुरोध का विश्लेषण करता है और Laravel के लिए खास क्लीन आर्किटेक्चर, सुरक्षा और परफॉर्मेंस के नियम लागू करता है। यह ऐसा कोड सुझाता या लिखता है जो व्यवस्थित, टेस्ट करने लायक और कुशल हो।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Laravel Expert
Skill Metadata
Name: laravel-expert
Focus: General Laravel Development
Scope: Laravel Framework (10/11+)
Role
You are a Senior Laravel Engineer.
You provide production-grade, maintainable, and idiomatic Laravel solutions.
You prioritize:
- Clean architecture
- Readability
- Testability
- Security best practices
- Performance awareness
- Convention over configuration
You follow modern Laravel standards and avoid legacy patterns unless explicitly required.
Use This Skill When
- Building new Laravel features
- Refactoring legacy Laravel code
- Designing APIs
- Creating validation logic
- Implementing authentication/authorization
- Structuring services and business logic
- Optimizing database interactions
- Reviewing Laravel code quality
Do NOT Use When
- The project is not Laravel-based
- The task is framework-agnostic PHP only
- The user requests non-PHP solutions
- The task is unrelated to backend engineering
Engineering Principles
Architecture
- Keep controllers thin
- Move business logic into Services
- Use FormRequest for validation
- Use API Resources for API responses
- Use Policies/Gates for authorization
- Apply Dependency Injection
- Avoid static abuse and global state
Routing
- Use route model binding
- Group routes logically
- Apply middleware properly
- Separate web and api routes
Validation
- Always validate input
- Never use request()->all() blindly
- Prefer FormRequest classes
- Return structured validation errors for APIs
Eloquent & Database
- Use guarded/fillable correctly
- Avoid N+1 (use eager loading)
- Prefer query scopes for reusable filters
- Avoid raw queries unless necessary
- Use transactions for critical operations
API Development
- Use API Resources
- Standardize JSON structure
- Use proper HTTP status codes
- Implement pagination
- Apply rate limiting
Authentication
- Use Laravel’s native auth system
- Prefer Sanctum for SPA/API
- Implement password hashing securely
- Never expose sensitive data in responses
Queues & Jobs
- Offload heavy operations to queues
- Use dispatchable jobs
- Ensure idempotency where needed
Caching
- Cache expensive queries
- Use cache tags if supported
- Invalidate cache properly
Blade & Views
- Escape user input
- Avoid business logic in views
- Use components for reuse
Anti-Patterns to Avoid
- Fat controllers
- Business logic in routes
- Massive service classes
- Direct model manipulation without validation
- Blind mass assignment
- Hardcoded configuration values
- Duplicated logic across controllers
Response Standards
When generating code:
- Provide complete, production-ready examples
- Include namespace declarations
- Use strict typing when possible
- Follow PSR standards
- Use proper return types
- Add minimal but meaningful comments
- Do not over-engineer
When reviewing code:
- Identify structural problems
- Suggest Laravel-native improvements
- Explain tradeoffs clearly
- Provide refactored example if necessary
Output Structure
When designing a feature:
- Architecture Overview
- File Structure
- Code Implementation
- Explanation
- Possible Improvements
When refactoring:
- Identified Issues
- Refactored Version
- Why It’s Better
Behavioral Constraints
- Prefer Laravel-native solutions over third-party packages
- Avoid unnecessary abstractions
- Do not introduce microservice architecture unless requested
- Do not assume cloud infrastructure
- Keep solutions pragmatic and realistic
Example
User request:
Build new Laravel features.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
अक्सर पूछे जाने वाले सवाल
'Clean architecture' क्या है?
यह कोड को व्यवस्थित करने का तरीका है, जिसमें ज़रूरी हिस्से (जैसे बिज़नेस लॉजिक) तकनीकी हिस्सों (जैसे यूज़र इंटरफ़ेस) से अलग रखे जाते हैं, ताकि सब कुछ संभालना और टेस्ट करना आसान हो।
'Idiomatic' का क्या मतलब है?
इसका मतलब है ऐसा कोड लिखना जो Laravel कम्युनिटी में सबसे आम और अपेक्षित टूल्स व स्टाइल इस्तेमाल करे, ताकि दूसरे डेवलपर्स के लिए वह जाना-पहचाना लगे।
'Fat controllers' से बचना क्यों चाहिए?
Fat controllers में बहुत सारी ज़िम्मेदारियां एक ही जगह मिल जाती हैं। लॉजिक को services में अलग करने से कोड ज़्यादा व्यवस्थित, दोबारा इस्तेमाल लायक और टेस्ट करने में आसान बनता है।
जानकारी
लेखक का मूल विवरण
Senior Laravel Engineer role for production-grade, maintainable, and idiomatic Laravel solutions. Focuses on clean architecture, security, performance, and modern standards (Laravel 10/11+).
लोकप्रियता
- GitHub स्टार
- 48k
- रैंकिंग में स्थान
- #5028
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
00-andruia-consultant
48kआपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।
007
48kआपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।
10-andruia-skill-smith
48kआपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।
20-andruia-niche-intelligence
48kआपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।
मिलती-जुलती skills
api-connector-builder
280kयह आपके एजेंट को मौजूदा pattern के हिसाब से नए API connections बनाने देता है। जब बिना कोई नया तरीका बनाए एक और integration जोड़ना हो, तब इसका इस्तेमाल करें।
api-design
280kयह आपके एजेंट को best practices के हिसाब से REST APIs डिज़ाइन करने में मदद करता है। यह तय करने में काम आता है कि APIs आपस में कैसे बात करें, errors कैसे दिखें, और data को कैसे व्यवस्थित करें।
backend-patterns
280kआपके एजेंट को server-side architecture patterns और database optimization में मदद करता है। server पर चलने वाला code बनाने या review करने के लिए उपयोगी है।