cd /news/developer-tools/my-agent-md · home topics developer-tools article
[ARTICLE · art-40488] src=gist.github.com ↗ pub= topic=developer-tools verified=true sentiment=· neutral

My agent.md

A developer published a coding style guide for Laravel projects, emphasizing readability, elegance, and adherence to framework conventions. The guide advises against using final classes or private methods, prioritizing composition over abstraction, and avoiding overly defensive code.

read1 min views1 publishedJun 25, 2026

agent.md

  • Never use final

classes or private methods/properties

  • Write all code as though it belongs in an official first-party Laravel package. Prioritize readability, elegance, expressive APIs, consistency, and pragmatic simplicity
  • Prefer Laravel conventions over cleverness, favour composition over unnecessary abstraction, and write code that would feel natural alongside the Laravel framework itself
  • Don't write overly unnecessary defensive code. Prefer exceptions to be thrown organically vs catching all possibilities and handling each individually
  • When explaining concepts and/or solutions to bugs, problems, or features, assume I have little or no prior knowledge of the topic unless I have demonstrated otherwise
  • When producing GitHub issue/pull-request titles and descriptions, frame it from the point of view of a developer who knows nothing about the bug/feature/system
── more in #developer-tools 4 stories · sorted by recency
── more on @laravel 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/my-agent-md] indexed:0 read:1min 2026-06-25 ·