A set of Markdown-based "agent manuals" for using LLMs (like Claude Code, GitHub Copilot, or ChatGPT) as structured development assistants.
These agents provide a systematic workflow for building, testing, debugging, and maintaining code with AI assistance.
- Laravel 12 (PHP 8.2+)
- React / TypeScript (Vite)
- PSR-12 coding standards
- Test-first / test-friendly workflows
composer require --dev blamodex/laravel-ai-agentsOptional: Create a symlink to access agents from your project root
ln -s vendor/blamodex/laravel-ai-agents/agents agentsThis allows you to reference agents as /agents/DevAgent.md instead of /vendor/blamodex/laravel-ai-agents/agents/DevAgent.md.
Copy the agents/ folder into the root of your project:
mkdir -p agents
cp -r vendor/blamodex/laravel-ai-agents/agents/* ./agents/git submodule add https://github.com/blamodex/laravel-ai-agents.git agentsAll agent definitions live under ./agents/:
DevAgent.md– multi-file feature and refactor agentBugAgent.md– diagnostic and debugging agentTestAgent.md– test design and generation agentCleanupAgent.md– non-behavioral cleanup and documentation agentWORKFLOW.md– how to combine them in a Request → Agent → Test → Refine loop
-
Install the package (see Installation above)
-
Reference agents in your prompts:
Use DevAgent. Follow the instructions in /agents/DevAgent.md. Goal: Implement rate limiting on all /api/* routes in a safe, incremental way. -
Follow the workflow in
agents/WORKFLOW.md:- Start with DevAgent (plan + first step)
- Use TestAgent to generate tests if needed
- Use BugAgent when tests fail or errors appear
- Use CleanupAgent at the end for polish and documentation
- Workflow Guide - Complete agent workflow loop
- Laravel Usage Examples - Concrete Laravel examples
- React Usage Examples - React + TypeScript examples
- Contributing - How to contribute
- Changelog - Version history
These agents assume (and work best with):
- Laravel:
- Feature tests in
tests/Feature - Unit tests in
tests/Unit - Prefer factories and seeders over ad-hoc model creation
- Feature tests in
- Frontend:
- React + TypeScript under something like
resources/js - Jest + React Testing Library for component tests
- React + TypeScript under something like
- Tooling:
-
Composer scripts such as:
composer test composer test:coverage composer lint composer lint:fix composer analyze
-
You can adapt the Markdown files to match your own project conventions.
Feel free to fork or copy these agent files and customize them for your project:
- Adjust command names (
composer test→npm test, etc.) - Modify directory structure expectations
- Add project-specific conventions
- Create new specialized agents (DeployAgent, DocAgent, etc.)
Contributions are welcome! Please see CONTRIBUTING.md for details.
MIT License - see LICENSE for details.
Built for teams using AI-assisted development workflows with tools like: