laravel-expert
하는 일
이 에이전트는 웹 애플리케이션을 만드는 인기 프레임워크인 Laravel의 전문가입니다. 안전하고 빠르며 이해하기 쉬운 코드를 만들거나 개선하도록 돕고, 모범 사례를 따릅니다.
사용하는 경우
- ✓Laravel로 웹사이트의 새 부분을 만들 때.
- ✓오래된 Laravel 코드를 고치거나 개선할 때.
- ✓데이터를 주고받는 방식(API)을 설계하는 경우.
스킬 링크
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/laravel-expert/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“Laravel 앱에 새 사용자 등록 기능을 만들고 싶습니다. 안전하고 모범 사례를 따르도록 어떻게 만들 수 있을까요?”
매주 새 스킬 5개. 읽는 데 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.
자주 묻는 질문
'클린 아키텍처'란 무엇인가요?
비즈니스 로직처럼 중요한 부분을 사용자 인터페이스 같은 기술적 부분과 분리해 코드를 정리하는 방식입니다. 그래서 유지보수와 테스트가 쉬워집니다.
'관용적(idiomatic)'이란 무슨 뜻인가요?
Laravel 커뮤니티에서 가장 흔하고 기대되는 도구와 스타일을 사용해 코드를 쓴다는 뜻입니다. 다른 개발자에게 더 익숙해집니다.
'뚱뚱한 컨트롤러(fat controllers)'를 왜 피해야 하나요?
뚱뚱한 컨트롤러는 너무 많은 책임을 섞습니다. 로직을 서비스로 분리하면 코드가 더 체계적이고, 재사용하기 쉽고, 테스트하기 쉬워집니다.
상세 정보
작성자의 원본 설명
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
- 업데이트
- 2026. 10. 15.
댓글
- …
이 저장소의 다른 스킬
00-andruia-consultant
48k에이전트가 AI 프로젝트를 시작하거나 개선할 수 있도록 코드를 분석하고 스페인어로 실행 계획을 세워 줍니다.
007
48k에이전트가 보안 감사와 위협 모델링을 수행해 공격과 취약점으로부터 프로젝트를 보호하도록 돕습니다.
10-andruia-skill-smith
48k에이전트가 AI 도구의 작동 방식을 정의하고 문서를 쓰며 구조를 검증하도록 돕습니다.
20-andruia-niche-intelligence
48k에이전트가 신뢰할 수 있는 자료를 바탕으로 특정 산업의 맥락, 규칙, 사용 패턴, 위험을 정리한 요약을 만들도록 돕습니다.
비슷한 스킬
api-connector-builder
280k에이전트가 기존 패턴을 따라 새로운 API 연결을 만들도록 합니다. 새로운 방식을 도입하지 않고 연동을 하나 더 추가할 때 씁니다.
api-design
280k에이전트가 모범 사례에 따라 REST API를 설계하도록 돕습니다. API가 통신하는 방식, 오류를 보여 주는 방식, 데이터를 정리하는 방식을 정하는 데 유용합니다.
backend-patterns
280k에이전트가 서버 쪽 아키텍처 패턴과 데이터베이스 최적화를 다루도록 돕습니다. 서버에서 실행되는 코드를 만들거나 검토할 때 유용합니다.