| name | fullstack-implementation |
| description | Implement features end-to-end in Laravel 12 + Inertia.js + React 19 + TypeScript OR Python + FastAPI + LangChain. Use when building
new features, wiring controllers to pages, or implementing CRUD operations. EXCLUSIVE to fullstack-developer agent.
|
| allowed-tools | Read, Edit, Bash, Grep, Glob, Write, mcp_codex-bridge, mcp_gemini-bridge, mcp_context7, mcp_playwright, mcp_zread, mcp_web-search-prime, mcp_web-reader, mcp_zai-mcp-server, mcp_open-bridge |
Fullstack Implementation
Exclusive to: fullstack-developer agent
📚 Context7 (Memory) — Up-to-Date Docs
Before implementing unfamiliar APIs, lookup the latest documentation:
mcp_context7_resolve-library-id(libraryName="[library]", query="[feature]")
mcp_context7_query-docs(libraryId="/[resolved-id]", query="[specific API]")
Common lookups:
- React hooks, Server Components, Suspense
- Laravel Eloquent, Inertia responses
- FastAPI dependencies, Pydantic models
- LangChain chains, agents, tools
💻 Codex-Bridge — Code Implementation Helper
mcp_codex-bridge_consult_codex(
query="Generate a Laravel controller for [feature] or React component for [UI]",
directory="."
)
Validation Loop (MANDATORY)
Before completing ANY implementation, run this verification sequence:
composer test
npm run types
npm run lint
./vendor/bin/pint
python -m pytest
ruff check .
mypy .
Do NOT report completion until all checks pass.
Instructions
- Review
docs/code-standards.md for naming conventions
- Check
docs/codebase-summary.md for current structure
- Follow patterns in
docs/system-architecture.md
- Implement backend first, then frontend
- Run verification commands before committing
Implementation Order
Backend First (Laravel)
- Route →
routes/web.php or routes/api.php
- Controller →
app/Http/Controllers/
- FormRequest →
app/Http/Requests/
- Model →
app/Models/
- Policy →
app/Policies/
Backend First (FastAPI)
- Router →
src/api/
- Schema →
src/schemas/
- Model →
src/models/
- Service →
src/services/
- Migration → Alembic revision (if applicable)
Frontend Second
- Types →
resources/js/types/
- Page →
resources/js/pages/
- Components →
resources/js/components/
- Hooks →
resources/js/hooks/
Laravel 12 Patterns
Controllers
class ShowDashboardController
{
public function __invoke(): Response
{
return Inertia::render('Dashboard', [...]);
}
}
class PostController extends Controller
{
public function store(StorePostRequest $request) { ... }
}
Form Requests
class StorePostRequest extends FormRequest
{
public function authorize(): bool
{
return $this->user()->can('create', Post::class);
}
public function rules(): array
{
return [
'title' => ['required', 'string', 'max:255'],
];
}
}
React 19 Patterns
Inertia Form
const { data, setData, post, processing, errors } = useForm({
title: '',
});
const submit = (e: FormEvent) => {
e.preventDefault();
post(route('posts.store'));
};
TypeScript Types
interface Post {
id: number;
title: string;
created_at: string;
}
interface Props {
posts: Post[];
}
Verification
composer test
npm run types
npm run lint
./vendor/bin/pint
python -m pytest
ruff check .
mypy .
Instructions
- Read project docs for context and conventions
- Identify entry points (routes/controllers/pages)
- Follow patterns in
docs/code-standards.md
- Keep changes minimal and cohesive
- Add or update tests when behavior changes
- Update
docs/codebase-summary.md if adding new files
Examples
- "Add a new CRUD page with validation and tests"
- "Wire a form to a controller endpoint and handle errors"
- "Add a FastAPI router, schema, service, and tests"