AI Agents (Laravel Boost guidelines & skills)
Noerd ships the rules for building with the framework in a form that coding agents (Claude Code, Cursor, Junie, Copilot, …) can read — so a developer who installs noerd/noerd and works with an AI assistant gets the same conventions the noerd core team uses, without copying anything by hand.
What the package ships
| Location | Purpose |
|---|---|
resources/boost/guidelines/core.blade.php | The Noerd Framework guideline: the hard rules for lists, details/pages, modals, themes, modules, install/update commands, translations and tests. Rendered into the project's agent files by Laravel Boost |
resources/boost/skills/*/SKILL.md | Task-oriented skills — step-by-step procedures with checklists: noerd-list-development, noerd-detail-development, noerd-modal-development, noerd-module-development, noerd-testing |
AGENTS.md (+ CLAUDE.md) | Contributor guide for working inside the noerd repository (workflow, tests, code style, architecture guardrails) |
docs/ | This documentation — the guideline and the skills point into it (vendor/noerd/noerd/docs/*.md) |
Laravel Boost discovers the guideline and the skills automatically in every Composer package that has a resources/boost/guidelines/ or resources/boost/skills/ folder — no service provider registration is involved.
Enabling it in a project
- Install Boost:
composer require laravel/boost --devand runphp artisan boost:install. Boost listsnoerd/noerdunder the discovered third-party packages; select it (guideline and skills). - Alternatively edit
boost.jsonby hand (packageslists the third-party packages whose guidelines and skills are installed;skillsis filled by Boost with the installed skill names) and re-run the update:
{
"agents": ["claude_code"],
"editors": ["claude_code"],
"guidelines": true,
"packages": ["noerd/noerd"],
"skills": []
}php artisan boost:updateBoost writes the === noerd/noerd rules === block into CLAUDE.md (inside the <laravel-boost-guidelines> markers), .cursor/rules/laravel-boost.mdc, .junie/guidelines.md, … and copies the skills to .claude/skills/noerd-* (and .ai/skills/). Re-run php artisan boost:update after every noerd upgrade so the rendered rules follow the installed version.
Keep your own project rules outside the Boost markers — Boost overwrites only the block between them.
Shipping guidelines with your own module
A module created with php artisan noerd:module already contains:
resources/boost/guidelines/core.blade.php— a module guideline (purpose, YAML locations, component names, install/update commands, test call). It is Blade-rendered by Boost, so literal{{ }}or@directivetext must sit inside@verbatim … @endverbatim.AGENTS.mdand aCLAUDE.mdthat imports it (@AGENTS.md).
Add "noerd/{module}" (the Composer package name) to the packages array of the host's boost.json (Boost ≥ 2; boost:install offers it interactively) and run php artisan boost:update. Skills are optional: create resources/boost/skills/{skill-name}/SKILL.md with a YAML front matter containing at least name (equal to the folder name) and description.
Writing a good guideline
- State rules, not prose: what to do, what never to do, and the reference file/doc page.
- Keep the module guideline to the module — the framework rules already come from
noerd/noerd. - Update the guideline (and the skill) in the same change that adds or alters a feature; noerd's own suite checks with
tests/Feature/BoostGuidelineTest.phpthat the guideline still renders and that every skill has a valid front matter.