laravel-rust-best-practices

laravel-rust-best-practices is a skill for Claude Code, Codex from AsyrafHussin/agent-skills. It costs 225 tokens per session (3,525 once invoked), scanned A, original, MIT.

A set of implementation guidelines for Laravel for Rust, a Rust web framework for building applications. It covers common application code and deployment decisions.

In plain words
What is it for?
Use it when building or reviewing handlers, data models, database queries, migrations, transactions, jobs, events, scheduled tasks, HTTP calls, caching, configuration, or deployment.
Why use it?
It helps prevent code that compiles but behaves incorrectly or is harder to maintain. It also helps choose between supported ways to implement a feature.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit Use it when building or reviewing handlers, data models, database queries, migrations, transactions, jobs, events, scheduled tasks, HTTP calls, caching, configuration, or deployment.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/asyrafhussin/agent-skills/laravel-rust-best-practices
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 AsyrafHussin/agent-skills --skill laravel-rust-best-practices
Clone the repo
git clone --depth 1 https://github.com/AsyrafHussin/agent-skills

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-rust-best-practices

README.md
[![agentmods](https://agentmods.dev/badge/skills/asyrafhussin/agent-skills/laravel-rust-best-practices/github.svg)](https://agentmods.dev/skills/asyrafhussin/agent-skills/laravel-rust-best-practices)
Your own site
<a href="https://agentmods.dev/skills/asyrafhussin/agent-skills/laravel-rust-best-practices"><img src="https://agentmods.dev/badge/skills/asyrafhussin/agent-skills/laravel-rust-best-practices/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-rust-best-practices

Your own site · 80×15
<a href="https://agentmods.dev/skills/asyrafhussin/agent-skills/laravel-rust-best-practices"><img src="https://agentmods.dev/badge/skills/asyrafhussin/agent-skills/laravel-rust-best-practices.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 225 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,525 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.
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.00225 $0.03525
Opus 5.5 $0.00090 $0.01410
Sonnet 5.5 $0.00045 $0.00705
Haiku 4.5 $0.00022 $0.00352

Measured yesterday against content hash a492acdfddce, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

laravel-rust-best-practices 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 yesterday.

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.

skills/laravel-rust-best-practices/SKILL.md · 164 lines

How it starts

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

Laravel for Rust Best Practices

Best practices for apps built with Laravel for Rust (laravel-rust 0.1.x). Contains 30 rules across 7 categories. Every Rust example compiles against laravel-rust 0.1.4, and each "Tested on laravel-rust 0.1.4" note records what a test on that version showed.

Version 1.0.2 (December 2026). Laravel for Rust is in beta; check APIs against the docs bundled with the version you install (.agents/skills/writing-laravel-rust-apps/scripts/docs-path.sh, which needs cargo, rustc, awk and python3 on PATH; otherwise the docs are in ~/.cargo/registry/src/*/laravel-rust-<version>/docs).

When to Apply

  • Writing handlers, input structs, models, queries, migrations, jobs, listeners, scheduled tasks or configuration in a Laravel for Rust app
  • Reviewing Laravel for Rust code before it ships
  • Deciding between two ways to do something the framework allows (a background task or a job, parse or validate, Option or Sometimes)

How This Skill Fits

A new app ships seven skills in .agents/skills/ (writing, testing, database, validation, auth, queues, Inertia) that describe how the framework works. This skill adds what they leave out: the mistakes that compile and still behave wrongly, each with the version to write and, where it matters, a test that proves the difference.

  • Writing: before writing code in an area below, read its rules and follow their Correct examples
  • Reviewing: follow "Reviewing Laravel for Rust Code" below
  • Related skills: laravel-rust-testing (tests), laravel-rust-audit (security audit), laravel-php-to-rust (porting from Laravel PHP), rust-for-laravel-developers (the Rust language)

Rule Categories by Priority

Priority Category Impact Prefix
1 Data CRITICAL data-
2 Authorization CRITICAL auth-
3 Architecture HIGH arch-
4 HTTP HIGH http-
5 Runtime HIGH run-
6 Background Work HIGH jobs-
7 Operations MEDIUM ops-

Read the full file on GitHub · 164 lines

Files

What ships with it

35 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. yesterday First seen · 164 lines · 225 tokens per session scan A a492acdfddce

Subscribe to this mod's changes

laravel-rust-best-practices is a skill published in the GitHub repository AsyrafHussin/agent-skills (116 stars, last pushed today), licensed MIT. It adds 225 tokens to every session and 3,525 once invoked, about $0.0009 per session on Opus 5.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-12-03.

Related

laravel-rust-best-practices compared with skills from other repositories

laravel-rust-best-practices next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
laravel-rust-best-practicesAsyrafHussin/agent-skillsSkill116todayMITA225Claude Code, Codex
rust-skillsleonardomso/rust-skillsSkill7927d agoMITA56Claude Code, Codex
rustolehsvyrydov/AI-development-teamSkill1814d agoMITA105Claude Code
standardssamibs/skillfoundrySkill132mo agoMITA29Claude Code, Codex
rust-coreadonai-labs/agent-runwaySkill27d agoMITA82Claude Code, Codex
rust-reviewcamilooscargbaptista/cto-toolkitSkill98mo agoMITA100Claude Code
ia-rust-systemsiliaal/whetstoneSkill37todayMITA61Claude Code