This repository defines skills and rules that AI agents consume via Laravel Boost.
Boost acts as the index for your codebase and these guidelines (similar to the “Index” box in the second slide you shared).
All agents below are personas that read from the same Boost index:
RULES.mdresources/boost/skills/**/SKILL.md- Any project-level overrides in
.ai/skills/{skill-name}/SKILL.md
Use these roles when prompting Claude Desktop/Terminal, other Boost-aware tools, or internal orchestrators.
-
ArchitectAgent
- Turns tickets or ideas into Laravel‑oriented designs.
- Responsible for: overall architecture, boundaries, data flow, routes, events, model shapes.
- Primary skills:
general,php,helperfunctions,migrations,enums,models,traits,routing,actions,services,events,policies.
-
BackendImplementationAgent
- Implements or updates backend code according to the approved design and skills.
- Responsible for: controllers, actions/services, models, migrations, policies, events, backend-focused helpers, basic backend tests.
- Primary skills: all from ArchitectAgent plus
controllers,formrequests,middleware,requests,services,phpstan,phpunit,pesttesting,helpers.
-
FrontendImplementationAgent
- Implements or updates frontend-facing pieces according to the approved design and existing backend contracts.
- Responsible for: Blade views, Livewire components, Tailwind styling, API resources/transformers, translations, simple UX flow glue in controllers.
- Primary skills:
controllers(response shaping only),resources,blade,design,livewire,tailwind,translations,helpers,general.
-
ImplementationAgent
- Full-stack implementation role for small, self-contained changes.
- Responsible for: end-to-end changes that touch both backend and frontend when the scope is small enough that a single agent can safely handle it.
- Primary skills: union of BackendImplementationAgent and FrontendImplementationAgent skills.
-
RefactorAgent
- Brings existing code into alignment with the skills without changing behaviour.
- Responsible for: extracting actions/services, slimming fat controllers, improving model structure, cleaning tests and helpers.
- Primary skills: same as ImplementationAgent; focuses on incremental, non‑breaking improvements.
-
TestAgent
- Ensures test coverage and static analysis match the architecture.
- Responsible for: adding/improving tests, fixtures, and static analysis configuration.
- Primary skills:
phpunit,pesttesting,phpstan,dusk, plus whichever domain skills apply to the code under test.
-
ReviewAgent
- Reviews changes and challenges decisions against the skills and rules.
- Responsible for: PR reviews, refactor plans, and spotting guideline drift.
- Primary skills: all skills, with emphasis on those that match the changed files.
- A Claude-powered CI workflow (for example a GitHub Actions job that runs guideline review) is an example of ReviewAgent operating in CI.
-
DocumentationAgent
- Keeps
README.md, guidelines, and feature documentation in sync with the current code and architecture. - Responsible for: updating or creating documentation after significant backend or frontend changes, maintaining examples, and clarifying how to apply skills in practice.
- Primary skills:
general,documentation, and read-only use of other skills that describe the behaviour being documented.
- Keeps
Use this flow as your mental model or when building an orchestrator on top of Boost:
flowchart LR
userInput["UserInput (ticket/PR)"] --> mainAgent[MainAgent]
mainAgent --> architectAgent[ArchitectAgent]
mainAgent --> backendImpl[BackendImplementationAgent]
mainAgent --> frontendImpl[FrontendImplementationAgent]
mainAgent --> implementationAgent[ImplementationAgent]
mainAgent --> refactorAgent[RefactorAgent]
mainAgent --> testAgent[TestAgent]
mainAgent --> reviewAgent[ReviewAgent]
mainAgent --> documentationAgent[DocumentationAgent]
architectAgent --> mainAgent
backendImpl --> mainAgent
frontendImpl --> mainAgent
implementationAgent --> mainAgent
refactorAgent --> mainAgent
testAgent --> mainAgent
reviewAgent --> mainAgent
documentationAgent --> mainAgent
mainAgent --> outputNode["Output (code/plan/review/docs)"]
- MainAgent is typically Claude Desktop, Claude Terminal, or an internal orchestrator.
- Each role is a prompted mode of the same underlying model, not a separate codebase.
- All roles query the same Boost MCP index; they just apply different responsibilities when reading and editing code.
You can adapt these snippets directly in Claude Desktop/Terminal or other agents:
-
ArchitectAgent
- “Act as ArchitectAgent for this Laravel project. Using
RULES.mdand thegeneral,models,migrations,routing,actions, andservicesskills fromcodebar-ag/coding-guidelines, design the architecture for this feature: …”
- “Act as ArchitectAgent for this Laravel project. Using
-
BackendImplementationAgent
- “Act as BackendImplementationAgent. Follow the
controllers,actions,services,models,formrequests,middleware, andphpstanskills to implement the backend for this feature design without changing Blade, Livewire, or Tailwind unless explicitly requested: …”
- “Act as BackendImplementationAgent. Follow the
-
FrontendImplementationAgent
- “Act as FrontendImplementationAgent. Using the
controllers(response shaping only),resources,blade,design,livewire,tailwind, andtranslationsskills, implement or update the frontend for this feature, assuming the backend contracts are already in place. If a minimal backend adjustment is required, describe it but do not implement it: …”
- “Act as FrontendImplementationAgent. Using the
-
ImplementationAgent
- “Act as ImplementationAgent. Implement this small, self-contained feature end-to-end using the relevant skills, keeping changes tightly scoped and aligned with the existing architecture: …”
-
RefactorAgent
- “Act as RefactorAgent. Using the
controllers,actions,services, andmodelsskills, refactor this legacy code to match the guidelines. Keep behaviour the same and work in small, reviewable steps: …”
- “Act as RefactorAgent. Using the
-
TestAgent
- “Act as TestAgent. Apply the
phpunit,pesttesting, andphpstanskills to improve test coverage and static analysis for these changes: …”
- “Act as TestAgent. Apply the
-
ReviewAgent
- “Act as ReviewAgent. Using
RULES.mdand all skills, review this diff and produce: (1) a short assessment, (2) a file‑grouped refactor plan, and (3) a few copy‑pasteable suggestions.”
- “Act as ReviewAgent. Using
-
DocumentationAgent
- “Act as DocumentationAgent. Using
RULES.md, thedocumentationskill, and any relevant feature skills, updateREADME.mdand other docs to reflect this change. Focus on behaviour, examples, and how to apply the guidelines in practice, not internal implementation details: …”
- “Act as DocumentationAgent. Using