wayfinder
Installation
SKILL.md
Wayfinder
Instructions
Wayfinder generates TypeScript functions and types for Laravel controllers and routes which you can import into your client side code. It provides type safety and automatic synchronization between backend routes and frontend code.
Development Guidelines
- Always Prefer named imports for tree-shaking (e.g.,
import { show } from '@/actions/...') - Avoid default controller imports (prevents tree-shaking)
- Run
php artisan wayfinder:generateafter route changes if there are any errors
Feature Overview
Related skills
More from markhamsquareventures/essentials
tailwind
How to work effectively with Tailwind CSS, always use when styling frontend features
38react
How to work effectively with React, always use when developing frontend components
28shadcn
How to work effectively with shadcn/ui components, always use when adding UI components
26inertia
How to work effectively with Inertia, always use when developing frontend features
21pest
Pest framework syntax reference
20laravel
How to work effectively with Laravel, always use when developing Laravel features
16