laravel-go-best-practices

laravel-go-best-practices is a skill for Claude Code, Codex from AsyrafHussin/agent-skills. It costs 235 tokens per session (4,232 once invoked), scanned A, original, MIT.

A set of coding guidelines for applications built with Laravel for Go, a web framework for Go. It covers common application parts such as handlers, data models, database queries, jobs, and configuration.

In plain words
What is it for?
Use it when building or reviewing handlers, validation, database work, authorization, background jobs, scheduled tasks, services, and configuration.
Why use it?
It helps developers choose between framework-supported approaches and avoid common mistakes when writing or reviewing code. It also accounts for the framework's changing beta APIs.

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, validation, database work, authorization, background jobs, scheduled tasks, services, and configuration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/asyrafhussin/agent-skills/laravel-go-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-go-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-go-best-practices

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/asyrafhussin/agent-skills/laravel-go-best-practices"><img src="https://agentmods.dev/badge/skills/asyrafhussin/agent-skills/laravel-go-best-practices.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 235 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,232 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.00235 $0.04232
Opus 5.5 $0.00094 $0.01693
Sonnet 5.5 $0.00047 $0.00846
Haiku 4.5 $0.00023 $0.00423

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

Security

Grade A, and why

laravel-go-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-go-best-practices/SKILL.md · 185 lines

How it starts

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

Laravel for Go Best Practices

Best practices for apps built with Laravel for Go (go.laravel.com 0.2.x). Contains 42 rules across 7 categories. Every Go example compiles against go.laravel.com v0.2.0, and each "Tested on go.laravel.com v0.2.0" note records what a test on that version showed.

Version 1.1.0 (December 2026). Laravel for Go is in beta, and a minor version before 1.0 may change the API; check APIs against the docs bundled with the version you install (.agents/skills/writing-laravel-go-apps/scripts/docs-path.sh, which runs go list -m -f '{{.Dir}}/docs' go.laravel.com). To move an app to a new release, use the upgrading-laravel-go skill the app ships, which applies the release's docs/upgrade.md.

When to Apply

  • Writing handlers, input structs, models, queries, policies, middleware, jobs, listeners, workflows, scheduled tasks, services or configuration in a Laravel for Go app
  • Reviewing Laravel for Go code before it ships
  • Deciding between two ways the framework allows (model.Save or model.Update, r.Bind or r.Validate, r.Background or a queued job, Send or Queue)

How This Skill Fits

A new app ships eight skills in .agents/skills/ (writing, database, validation, auth, queues and workflows, testing, Inertia, upgrading) 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 Go Code" below
  • Related skills: laravel-go-testing (tests), laravel-inertia-react (the React side of an Inertia app), laravel-best-practices (Laravel on PHP), laravel-rust-best-practices (Laravel for Rust)

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 · 185 lines

Files

What ships with it

47 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 Changed 3cf093703711
  2. 2d ago First seen · 185 lines · 235 tokens per session scan A d827bc791cce

Subscribe to this mod's changes

laravel-go-best-practices is a skill published in the GitHub repository AsyrafHussin/agent-skills (118 stars, last pushed yesterday), licensed MIT. It adds 235 tokens to every session and 4,232 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-04.

Related

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

laravel-go-best-practices next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
laravel-go-best-practicesAsyrafHussin/agent-skillsSkill118yesterdayMITA235Claude Code, Codex
go-architectexistential-birds/beagleSkill925d agoApache-2.0A45Claude Code, Codex
ring:verifying-codeLerianStudio/ringSkill2181mo agoApache-2.0A101Cursor
go-coreadonai-labs/agent-runwaySkill29d agoMITA76Claude Code, Codex
golang-clean-archemilioforrer/go-stackSkill629d agononeA75Claude Code
golang-graphqlemilioforrer/go-stackSkill629d agononeA77Claude Code
golang-samber-roemilioforrer/go-stackSkill629d agononeA146Claude Code