{"id":51579146,"url":"https://github.com/wendelladriel/eloquent-query-classes","last_synced_at":"2026-07-11T04:01:40.112Z","repository":{"id":363576641,"uuid":"1263954351","full_name":"WendellAdriel/eloquent-query-classes","owner":"WendellAdriel","description":"AI agent skill for applying the Eloquent Query Classes pattern in Laravel applications.","archived":false,"fork":false,"pushed_at":"2026-06-09T12:31:13.000Z","size":8,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-09T14:16:45.935Z","etag":null,"topics":["database","eloquent","laravel","queries"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WendellAdriel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-09T12:26:14.000Z","updated_at":"2026-06-09T14:12:39.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/WendellAdriel/eloquent-query-classes","commit_stats":null,"previous_names":["wendelladriel/eloquent-query-classes"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/WendellAdriel/eloquent-query-classes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WendellAdriel%2Feloquent-query-classes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WendellAdriel%2Feloquent-query-classes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WendellAdriel%2Feloquent-query-classes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WendellAdriel%2Feloquent-query-classes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WendellAdriel","download_url":"https://codeload.github.com/WendellAdriel/eloquent-query-classes/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WendellAdriel%2Feloquent-query-classes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35350133,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-11T02:00:05.354Z","response_time":104,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","eloquent","laravel","queries"],"created_at":"2026-07-11T04:01:36.212Z","updated_at":"2026-07-11T04:01:40.102Z","avatar_url":"https://github.com/WendellAdriel.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Eloquent Query Classes Skill\n\n[![skills.sh](https://skills.sh/b/wendelladriel/eloquent-query-classes)](https://skills.sh/wendelladriel/eloquent-query-classes/eloquent-query-classes)\n\nAn AI agent skill for applying the Eloquent Query Classes pattern in Laravel applications.\n\nUse it when you want an assistant to extract, design, review, or test named Eloquent query classes without turning them into repositories or unnecessary abstractions.\n\n## Installation\n\n```bash\nnpx skills add wendelladriel/eloquent-query-classes\n```\n\nFor Laravel Boost:\n\n```bash\nphp artisan boost:add-skill wendelladriel/eloquent-query-classes\n```\n\n## What It Covers\n\n- When to keep Eloquent directly in controllers, jobs, commands, or actions.\n- When to extract a query into a dedicated class.\n- How to structure query classes around one `handle()` method.\n- How query classes differ from repositories and local scopes.\n- When returning an Eloquent `Builder` is the right choice.\n- How to test query classes with Laravel factories and database tests.\n\n## Skill Structure\n\n```text\nskills/\n  eloquent-query-classes/\n    SKILL.md\n    rules/\n      query-class-rules.md\n    examples/\n      pending-orders-query.md\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwendelladriel%2Feloquent-query-classes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwendelladriel%2Feloquent-query-classes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwendelladriel%2Feloquent-query-classes/lists"}