Agent skill

Laraveldaily Eloquent Audit

by LaravelDaily in LaravelDaily/AI-Workflows-For-Laravel

This skill should be used when the user asks to "audit Eloquent code", "review Eloquent usage", "check model code", "find N+1 queries", "find query performance issues", "Eloquent review", or wants…

No licenceAuto-check passedBackend & APIs

Install Laraveldaily Eloquent Audit

skills CLI
$ npx skills add LaravelDaily/AI-Workflows-For-Laravel --skill laraveldaily-eloquent-audit -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install LaravelDaily/AI-Workflows-For-Laravel laraveldaily-eloquent-audit --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/LaravelDaily/AI-Workflows-For-Laravel.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/laraveldaily-eloquent-audit .claude/skills/laraveldaily-eloquent-audit && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
laraveldaily-eloquent-audit
GitHub stars
136
Token cost
~6.5k tokens
SKILL.md length
3,430 words
Files
1
Skills in repo
7
Repo updated
First seen
Licence
None found

At a glance

This skill should be used when the user asks to "audit Eloquent code", "review Eloquent usage", "check model code", "find N+1 queries", "find query performance issues", "Eloquent review", or wants…

  • Works in 12 steps: N+1 Query Problems → Filtering in PHP Instead of Database → Large Datasets Loaded Into Memory → …
  • Asks to audit Eloquent code
  • SKILL.md covers What to Check, Evidence Expectations, Output Format and Important Guidelines
  • Calls php

What it does

Laraveldaily Eloquent Audit is an agent skill from LaravelDaily/AI-Workflows-For-Laravel. This skill should be used when the user asks to "audit Eloquent code", "review Eloquent usage", "check model code", "find N+1 queries", "find query performance issues", "Eloquent review", or wants to analyze a Laravel project's Eloquent usage for improvements. Scans relevant Laravel source files and reports findings with actionable suggestions.

Its SKILL.md is about 6.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Backend & APIs, covering Backend development and Query optimization. It works with Laravel.

When your agent uses it

  • Asks to audit Eloquent code
  • Review Eloquent usage
  • Check model code
  • Find N+1 queries

Example prompts

  • “audit Eloquent code”
  • “review Eloquent usage”
  • “check model code”
  • “/laraveldaily-eloquent-audit”

Workflow steps

12 steps, taken from the step headings in SKILL.md.

  1. N+1 Query Problems
  2. Filtering in PHP Instead of Database
  3. Large Datasets Loaded Into Memory
  4. Missing Column Selection (SELECT *)
  5. Missing or Incorrect Model Casts
  6. Hardcoded String Comparisons for Statuses, Roles, Types
  7. Mass Assignment Risks or Silent Failures
  8. Transactions and Multi-Step Write Correctness
  9. Convenience Methods Used Without Correctness Guarantees
  10. Repeated Query Logic Not Extracted to Scopes
  11. Sensitive Data Exposed in Serialization
  12. Accessors Causing Hidden Performance Issues

What it can do on your machine

Read from SKILL.md and the folder at commit 4bff3b6. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • php

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Laraveldaily Eloquent Audit loads about 6.5k tokens when it runs. Until then it costs about 94 tokens; SKILL.md has 3,430 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~94
When it runs · the whole SKILL.md, loaded when a task matches
~6.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 3,430 words (~6,499 tokens).

“Analyze a Laravel project's Eloquent usage against proven patterns and performance practices. Scan relevant PHP source files plus migrations, model-related tests, and API/resource code (excluding vendor/, node_modules/, storage/) and produce a structured report of findings with actionable suggestions.”

— opening of SKILL.md by LaravelDaily
name
laraveldaily-eloquent-audit

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/laraveldaily-eloquent-audit of LaravelDaily/AI-Workflows-For-Laravel.

Open the folder on GitHubat commit 4bff3b6

Compare with similar skills

Laraveldaily Eloquent Audit next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Laraveldaily Eloquent Audit compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Laraveldaily Eloquent Audit this skillLaravelDaily/AI-Workflows-For-Laravel136—~6.5kAutomated safety check: PassNone
Laravel Best Practicesanonaddy/anonaddy4.9k13 repos~1.2kAutomated safety check: PassMIT
Lerdliberusoftware/real-estate-laravel112—~7.8kAutomated safety check: WarnMIT
Configuring Horizoncoollabsio/coolify63k4 repos~898Automated safety check: PassMIT
Fortify Developmentcoollabsio/coolify63k4 repos~1.9kAutomated safety check: PassMIT
Laravel Actionscoollabsio/coolify63k—~2.4kAutomated safety check: PassApache-2.0

Similar skills

  • Laravel Best Practices

    anonaddy/anonaddy

    Apply this skill whenever writing, reviewing, or refactoring Laravel PHP code.

    4.9k GitHub starsUsed in 13 repos~1.2k tokens
    Backend & APIsAuto-check passed
  • Lerd

    liberusoftware/real-estate-laravel

    Manage the lerd local PHP development environment via MCP tools: run framework console commands (artisan, bin/console, etc.), manage services, start/stop queue workers, run composer, manage Node.js…

    112 GitHub stars~7.8k tokensUpdated yesterday
    Backend & APIsAuto-check: warnings
  • Configuring Horizon

    coollabsio/coolify

    A skill your agent uses whenever the user mentions Horizon by name in a Laravel context.

    63k GitHub starsUsed in 4 repos~898 tokens
    Backend & APIsAuto-check passed
  • Fortify Development

    coollabsio/coolify

    ACTIVATE when the user works on authentication in Laravel. An agent skill from coollabsio/coolify.

    63k GitHub starsUsed in 4 repos~1.9k tokens
    Backend & APIsAuto-check passed
  • Laravel Actions

    coollabsio/coolify

    Build, refactor, and troubleshoot Laravel Actions using lorisleiva/laravel-actions.

    63k GitHub stars~2.4k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Infer Conventions

    anonaddy/anonaddy

    A skill your agent uses to analyze how a Laravel application is actually written and record its conventions as shared rules.

    4.9k GitHub starsUsed in 5 repos~3.1k tokens
    Backend & APIsAuto-check passed

More from LaravelDaily/AI-Workflows-For-Laravel

  • Laraveldaily Testing Audit

    LaravelDaily/AI-Workflows-For-Laravel

    This skill should be used when the user asks to "audit Laravel tests", "review test coverage", "check testing practices", "find missing tests", "testing review", "improve tests", or wants to analyze…

    136 GitHub stars~4.6k tokensUpdated 5 mo ago
    Auto-check: notes
  • Laraveldaily Permissions Audit

    LaravelDaily/AI-Workflows-For-Laravel

    This skill should be used when the user asks to "audit Laravel permissions", "review roles and permissions", "check authorization code", "find permission issues", "permissions review", "audit access…

    136 GitHub stars~5.2k tokensUpdated 5 mo ago
    Auto-check passed
  • Laraveldaily Queues Audit

    LaravelDaily/AI-Workflows-For-Laravel

    This skill should be used when the user asks to "audit Laravel queues", "review queue implementation", "check job code", "find queue issues", "queue review", or wants to analyze a Laravel project's…

    136 GitHub stars~4.9k tokensUpdated 5 mo ago
    Auto-check passed
  • Laraveldaily Structure Audit

    LaravelDaily/AI-Workflows-For-Laravel

    This skill should be used when the user asks to "audit Laravel project structure", "review project architecture", "check code organization", "find over-engineering", "find fat controllers"…

    136 GitHub stars~4.6k tokensUpdated 5 mo ago
    Auto-check passed
  • Laraveldaily API Audit

    LaravelDaily/AI-Workflows-For-Laravel

    This skill should be used when the user asks to "audit Laravel API", "review API architecture", "check API code", "find API issues", "API review", or wants to analyze a Laravel API project for…

    136 GitHub stars~5.6k tokensUpdated 5 mo ago
    Auto-check passed
  • Laraveldaily Production Readiness Audit

    LaravelDaily/AI-Workflows-For-Laravel

    Perform a comprehensive security audit of all project files in the current working directory.

    136 GitHub stars~1.9k tokensUpdated 5 mo ago
    Auto-check: notes

Works with

Categories

Questions about Laraveldaily Eloquent Audit

What does Laraveldaily Eloquent Audit do?

This skill should be used when the user asks to "audit Eloquent code", "review Eloquent usage", "check model code", "find N+1 queries", "find query performance issues", "Eloquent review", or wants…. Laraveldaily Eloquent Audit is an agent skill from LaravelDaily/AI-Workflows-For-Laravel. This skill should be used when the user asks to "audit Eloquent code", "review Eloquent usage", "check model code", "find N+1 queries", "find query performance issues", "Eloquent review", or wants to analyze a Laravel project's Eloquent usage for improvements.

When should I use Laraveldaily Eloquent Audit?

Laraveldaily Eloquent Audit fits situations like: asks to audit Eloquent code; review Eloquent usage; check model code; find N+1 queries.

How do I install Laraveldaily Eloquent Audit in Claude Code?

Run `npx skills add LaravelDaily/AI-Workflows-For-Laravel --skill laraveldaily-eloquent-audit -a claude-code`. Or copy the skill folder (skills/laraveldaily-eloquent-audit in LaravelDaily/AI-Workflows-For-Laravel) into .claude/skills/laraveldaily-eloquent-audit in your project. Claude Code loads it when a task matches its description.

How do I install Laraveldaily Eloquent Audit in Codex?

Run `npx skills add LaravelDaily/AI-Workflows-For-Laravel --skill laraveldaily-eloquent-audit -a codex`. Or copy the skill folder (skills/laraveldaily-eloquent-audit in LaravelDaily/AI-Workflows-For-Laravel) into .agents/skills/laraveldaily-eloquent-audit in your project. Codex loads it when a task matches its description.

Can I use Laraveldaily Eloquent Audit in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LaravelDaily/AI-Workflows-For-Laravel --skill laraveldaily-eloquent-audit -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/laraveldaily-eloquent-audit, .gemini/skills/laraveldaily-eloquent-audit, .github/skills/laraveldaily-eloquent-audit and .opencode/skills/laraveldaily-eloquent-audit in your project.

What does Laraveldaily Eloquent Audit need to run?

Going by SKILL.md and its folder, Laraveldaily Eloquent Audit needs the command-line tools its instructions call (php).

Does Laraveldaily Eloquent Audit access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Laraveldaily Eloquent Audit safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Laraveldaily Eloquent Audit use?

No licence was found for Laraveldaily Eloquent Audit or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Laraveldaily Eloquent Audit use?

About 6.5k tokens (SKILL.md is roughly 26k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Laraveldaily Eloquent Audit?

Skills that share tags, products or a category with Laraveldaily Eloquent Audit: Laravel Best Practices (anonaddy/anonaddy, 4.9k stars), Lerd (liberusoftware/real-estate-laravel, 112 stars), Configuring Horizon (coollabsio/coolify, 63k stars) and Fortify Development (coollabsio/coolify, 63k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Laraveldaily Eloquent Audit?

LaravelDaily (a GitHub user) maintains it in LaravelDaily/AI-Workflows-For-Laravel, which has 136 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on April 15, 2026.

Source: LaravelDaily/AI-Workflows-For-Laravel on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.