laravel:specifying-constraints
Installation
SKILL.md
Specifying Constraints
Constraints guide the AI toward solutions that fit your project. Without them, you get generic code that may not meet your requirements.
Performance Constraints
Vague
"Make it fast"
Specific
"Optimize product search:
- Response time < 200ms for 95th percentile
- Support 1000 concurrent users
- Cache results for 5 minutes using Redis
- Use database indexes on
name,category_id,published_at - Paginate results, max 50 per page
- Avoid N+1 queries with eager loading"