wayfinder-development

Generate typed Laravel route helpers for React, Vue, Svelte, or Inertia frontends.

483|116|Updated Jan 17, 2026
One-click install
npx skills add https://github.com/trypostit/trypost --skill wayfinder-development-trypostit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wayfinder-development
Source: https://github.com/trypostit/trypost/tree/main/.claude/skills/wayfinder-development
Command: npx skills add https://github.com/trypostit/trypost --skill wayfinder-development-trypostit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Laravel frontend-backend integration often suffers from mismatched routes and boilerplate when wiring controllers to UI code. This skill automates the generation of typed route helpers and imports to reduce errors and boilerplate in Laravel projects.

Core Features & Use Cases

  • Generate typed route functions for controllers and routes, enabling tree-shaking and clean imports in frontend code.
  • Provide consistent URL generation and form helpers for React, Vue, Svelte, or Inertia frontends.
  • Trigger-based workflow: regenerate route helpers after route/controller changes to keep frontend code aligned.

Quick Start

Regenerate Wayfinder route helpers after route changes by running php artisan wayfinder:generate --no-interaction.

Frequently Asked Questions about wayfinder-development

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate type-safe Laravel route helpers for my frontend?

You can generate type-safe Laravel route helpers by running php artisan wayfinder:generate. This produces typed route functions and imports, ensuring your frontend code aligns with Laravel controller URLs.

Can I use typed route helpers with React, Vue, Svelte, or Inertia frontends?

Yes, typed route helpers work with React, Vue, Svelte, and Inertia frontends. They provide consistent URL generation and form helpers, simplifying frontend-backend integration and reducing boilerplate.

When do I need to regenerate Wayfinder route helpers?

You should regenerate Wayfinder route helpers after making changes to your Laravel routes or controllers. Running the generation command keeps frontend imports aligned with updated backend URLs and conventions.

What's the best way to prevent mismatched routes when wiring Laravel controllers to UI code?

Automating typed route helper generation prevents mismatched routes when wiring Laravel controllers to UI code. It reduces manual URL errors and boilerplate by providing type-safe imports for frontend frameworks.

Does Wayfinder support tree-shaking for generated route helpers?

Yes, Wayfinder generates tree-shaked route helpers. This allows clean imports of typed route functions, ensuring only the necessary code is bundled into your frontend application.

How do I handle route model binding in typed frontend code?

Wayfinder handles route model binding by generating typed route functions that align URLs with Laravel conventions. This allows frontend code to safely reference route parameters and controller bindings.