laravel-audit-conventions

laravel-audit-conventions is a skill for Claude Code, Codex from MrPunyapal/laravel-auditor. It costs 36 tokens per session (471 once invoked), scanned A, original, MIT.

A review guide for checking whether a Laravel application follows the framework's conventions and uses its features correctly. Laravel is a PHP framework for web applications.

In plain words
What is it for?
Use it to review controllers, routes, configuration, authentication, jobs, events, middleware, scheduling, notifications, and related Laravel code.
Why use it?
It can expose outdated APIs, unnecessary custom code, configuration mistakes, and incorrect use of routing, validation, queues, or other framework features.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to review controllers, routes, configuration, authentication, jobs, events, middleware, scheduling, notifications, and related Laravel code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mrpunyapal/laravel-auditor/laravel-audit-conventions
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add MrPunyapal/laravel-auditor --skill laravel-audit-conventions
Clone the repo
git clone --depth 1 https://github.com/MrPunyapal/laravel-auditor

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for laravel-audit-conventions

README.md
[![agentmods](https://agentmods.dev/badge/skills/mrpunyapal/laravel-auditor/laravel-audit-conventions/github.svg)](https://agentmods.dev/skills/mrpunyapal/laravel-auditor/laravel-audit-conventions)
Your own site
<a href="https://agentmods.dev/skills/mrpunyapal/laravel-auditor/laravel-audit-conventions"><img src="https://agentmods.dev/badge/skills/mrpunyapal/laravel-auditor/laravel-audit-conventions/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for laravel-audit-conventions

Your own site · 80×15
<a href="https://agentmods.dev/skills/mrpunyapal/laravel-auditor/laravel-audit-conventions"><img src="https://agentmods.dev/badge/skills/mrpunyapal/laravel-auditor/laravel-audit-conventions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 471 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00036 $0.00471
Opus 5 $0.00018 $0.00235
Sonnet 5 $0.00007 $0.00094
Haiku 4.5 $0.00004 $0.00047

Measured 12d ago against content hash 2bfce66f6471, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

laravel-audit-conventions scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

resources/auditor/skills/laravel-audit-conventions/SKILL.md · 51 lines

How it starts

The opening of the file, as written. The whole thing — 51 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Laravel Conventions Audit

Audit the application for Laravel framework conventions. The rules must be version-aware whenever the installed version is known.

List applicable rules first:

php artisan auditor:rules --domain=conventions --applicable

What to look for

  • Framework anti-patterns: patterns that fight the framework's intended flow.
  • Unnecessary custom code where standard Laravel mechanisms are clearly better: custom auth loops instead of guards, manual pagination instead of paginate, custom file handling instead of storage, etc.
  • Version-inappropriate APIs when the version is known: deprecated or removed methods, old-style helpers, facades used in ways removed in the installed version.
  • Incorrect framework assumptions: config() keys that don't exist, middleware that isn't applied, routes that don't match registered patterns.
  • Misuse of framework lifecycle/features: service providers doing work in register(), observers/mutators causing side effects, cache keys without invalidation, queueable misuse, scheduling misconfig.
  • Configuration, validation, routing, jobs, events, policies, resources, commands, notifications, mail, queues, scheduling, and caching used in problematic ways.
  • Abandoned runtime dependencies (AUD-DEP-002) or license conflicts for a commercial product (AUD-DEP-003) — only with composer show / license evidence, not because a package is old.

Evidence requirements

Every conventions finding needs at least:

  • The installed Laravel version (from project_info).
  • The code in question (file + line/range).
  • The idiomatic Laravel alternative and why it is better.

False positives

  • Custom code may exist for good reasons the framework mechanism cannot serve — verify before recommending replacement.
  • Only recommend replacement when the standard mechanism is clearly better.
  • Do not flag style preferences as findings.

Severity guidance

  • high: usage that is broken or will break on upgrade.
  • medium: clear anti-pattern with maintenance cost.
  • low: minor convention drift.
  • info: observations.

Read the full file on GitHub · 51 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 51 lines · 36 tokens per session scan A 2bfce66f6471

Subscribe to this mod's changes

laravel-audit-conventions is a skill published in the GitHub repository MrPunyapal/laravel-auditor (47 stars, last pushed 6d ago), licensed MIT. It adds 36 tokens to every session and 471 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

php-best-practices

PHP 8.x modern patterns, PSR standards, and SOLID principles. Use when reviewing PHP code, checking type safety, auditing code quality, or ensuring PHP best practices. Triggers on "review PHP", "check PHP code", "audit PHP", or "PHP best practices".

AsyrafHussin/agent-skills · 64 tokens

ring:adopting-lib-commons-huma-wrapper

Adopting the lib-commons/v5 shared Huma (OAS 3.1) OpenAPI wrapper + RFC 9457 problem model (commons/net/http/{openapi,problem}) in a Lerian Go service: wire openapi.New/ServeSpec + problem.Install (central >=500 scrub) on BOTH runtime and spec-gen paths, the per-rail problem.MapError flex seam, and rename-only spec…

LerianStudio/ring · 142 tokens

ring:applying-licenses

Applying or switching a repository's license (Apache 2.0, Elastic License v2, or Proprietary): rewrites the LICENSE file, updates Go/TS source headers, sets SPDX identifiers, and validates consistency after user confirmation. Use when asked to set, apply, or switch a license, or when scaffolding a service with no…

LerianStudio/ring · 94 tokens

ring:auditing-dependency-security

Auditing a dependency for supply-chain risk before install (pip/npm/go/cargo): checks typosquatting, maintainer/age risk, vulnerability DBs (OSV, GHSA, Socket), and lockfile hash pinning, then emits a risk score and approve/conditional/escalate/block decision. Use when adding or updating a dependency, reviewing a…

LerianStudio/ring · 102 tokens

代码审查员

A code-review agent that examines changes for correctness, security, maintainability, performance, and test coverage.

KongFangXun/sofagent · 40 tokens

laravel-best-practices

Laravel 13 conventions and best practices. Use when creating controllers, models, migrations, validation, services, or structuring Laravel applications. Triggers on tasks involving Laravel architecture, Eloquent, database, API development, or PHP patterns.

AsyrafHussin/agent-skills · 54 tokens