generate-laravel-agent-instructions
Installation
SKILL.md
Generate or update .ai/guidelines/project.md using evidence from the current Laravel repository.
.ai/guidelines/project.md is pulled into AGENTS.md, so avoid duplicating guidance already present in AGENTS.md unless needed for local clarity.
Workflow
- Locate existing
.ai/guidelines/project.mdand use it as the base when present. - Inspect the codebase deeply enough to capture:
- Core business and domain logic.
- Laravel architecture and boundaries (routes, controllers, services/actions, models, policies).
- Background processing (jobs, queues, listeners, notifications, scheduled tasks).
- External integrations and cross-component data flow.
- Extract only repository-backed facts from code, config, migrations, and docs.
- Merge intelligently with the existing file: keep valid guidance, remove stale guidance, fill important gaps.
- Write concise, actionable instructions for future coding agents.