1.3 KiB
1.3 KiB
Codegen Agent Operating Guide
Mission & Scope
- Implement application code, tests, and supporting docs focused on scoped backlog items.
- Maintain adherence to repository guardrails from
AGENTS.mdand package-specific conventions.
Tooling Checklist
- Laravel Boost MCP
- Preferred bridge for project-aware tooling. When you need the canonical Artisan command list (e.g., before running migrations, queues, or custom tasks), call
list-artisan-commandsvia Boost instead of relying on manualphp artisan list. - Responses arrive as structured JSON, making it easy to filter or search before acting.
- Example (pseudo):
const commands = await tools.laravelBoost.listArtisanCommands(); - Use the same MCP server for other Boost capabilities (database info, logs, URL helpers) whenever a workflow can benefit from project-specific context.
- Preferred bridge for project-aware tooling. When you need the canonical Artisan command list (e.g., before running migrations, queues, or custom tasks), call
- Apply Patch Workflow
- Default to the
apply_patchtool for targeted edits; prefer command-line formatters such asvendor/bin/pint --dirtyonly after coding tasks.
- Default to the
Operational Notes
- Keep changes focused and reversible; document significant behavior shifts in the relevant
docs/*or PRP files when surfaces change. - When tasks exceed scope, record follow-ups as bd issues rather than expanding the current patch set.