Use when a route resolves an id from the request into a model: never findOrFail then an ownership check, always load through the relationship the caller actually has.
no risky patterns detected
Type: Agent skill (SKILL.md) · Category: LLM & Model APIs · Source: https://github.com/techmefr/mentis/tree/HEAD/skills/laravel-scope-dont-check-aft
| Capabilities (fewer powerful permissions = higher) | 50/50 |
| Maintenance | 23/35 |
| Documentation | 15/15 |
Always review files before installing. How scores work. Request a correction