stacktrace-ui-development

Build Laravel, Inertia, and Vue interfaces using StackTrace UI components and composables.

Updated Jul 2, 2026
One-click install
npx skills add https://github.com/stacktracelabs/laravel-ui-starter-kit --skill stacktrace-ui-development-stacktracelabs
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: stacktrace-ui-development
Source: https://github.com/stacktracelabs/laravel-ui-starter-kit/tree/main/.agents/skills/stacktrace-ui-development
Command: npx skills add https://github.com/stacktracelabs/laravel-ui-starter-kit --skill stacktrace-ui-development-stacktracelabs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Building consistent Laravel + Inertia + Vue interfaces requires coordinating PHP controllers, Vue components, and a shared component registry, and ad-hoc local components quickly diverge from the design system. This Skill guides the selection, installation, and composition of StackTrace UI registry components and its Composer-shipped frontend package so both sides of an Inertia feature stay consistent. ## Core Features & Use Cases - Component selection and installation: Choose from a catalog of registry components (Button, Dialog, Table, Calendar, Chart, and more) and install missing ones via the shadcn-vue registry CLI instead of copying approximations. - Frontend package guidance: Use @stacktrace/ui composables such as useFilter, useNavigation, useToggle, and asyncRouter, with correct Vite and TypeScript alias configuration. - PHP-rendered UI: Build tables, menus, breadcrumbs, links, icons, select options, and toasts with StackTrace\Ui PHP value objects passed as Inertia props. - Use Case: When adding a data table page, the Skill directs you to check components.json aliases, install the Data Table registry component, build the table definition in the controller with the PHP API, and verify the Vue renderer consumes the props correctly. ## Quick Start Ask the agent to add a StackTrace UI confirmation dialog to an existing Inertia Vue page and wire it to the corresponding Laravel controller action.

Frequently Asked Questions about stacktrace-ui-development

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

FAQPage Schema
How do I add a StackTrace UI component to a Laravel Inertia Vue app?▼

Check the component catalog for a matching primitive, confirm whether it is already installed using the alias paths in components.json, and install missing ones with npx shadcn-vue@latest add @stacktrace/<component>. Then import it from the configured alias, normally @/Components/<Component>.

How do I use @stacktrace/ui composables in Vue?▼

Import composables such as useFilter, useNavigation, useToggle, and useFlash from @stacktrace/ui after confirming the Vite and TypeScript aliases resolve to vendor/stacktrace/ui. The frontend package ships inside the Composer package, so no separate npm dependency is needed.

Can Laravel controllers render StackTrace UI data for Inertia?▼

Yes. Check vendor/stacktrace/ui/src for a matching PHP type and build tables, menus, breadcrumbs, links, icons, select options, and toasts with the package API. Pass those serializable objects as Inertia props and confirm the corresponding Vue renderer is installed.

When should I build a custom component instead of using the registry?▼

Build a custom component only when the catalog has no suitable primitive or composition. Compose it from existing StackTrace primitives where practical, follow the composition contract with as and as-child props, and never overwrite installed registry source to match the upstream registry.

What is the difference between Button and ButtonLink in StackTrace UI?▼

Button handles actions performed in the current interface, while ButtonLink renders an Inertia Link with button styles for navigation or Inertia requests, forwarding props like method, data, and preserve-scroll. Compose ButtonState inside either for processing and recently-successful feedback.