toddsmithsalter/dotfiles/laravel-inertia-vuejs-structure
Claude Code and agent skill by toddsmithsalter/dotfiles
- community
Checking that the SKILL.md file is still in the repository.
Frontend structure conventions for Laravel Inertia VueJS applications based on Spatie's production practices. Use when creating, scaffolding, or reviewing frontend code in a Laravel Inertia VueJS project. Triggers on creating Vue components, pages, modules, organizing frontend directories, setting up Inertia pages, structuring a Vue frontend within Laravel, or when the user asks about frontend file organization in an Inertia app.
Install
npx vskill@latest install toddsmithsalter/dotfiles/laravel-inertia-vuejs-structureSKILL.md
Laravel Inertia React Frontend Structure
Directory Structure
Four base directories under resources/js:
Component location: If the Component is used between multiple other Components outside the same namespace, the Component file should be in Shared. Otherwise the Component can be in a Partials directory, which is a sibling of the file where the Compnent is used.
Naming Conventions
- Components:
PascalCase(e.g.Button.vue,AuthContext.vue) - Other files (helpers, composables, constants, stores):
camelCase(e.g.useAuth.ts,formatDate.ts) - Directories:
kebab-case(e.g.date-picker/,user-management/), exceptLayouts,Pages,Shared, and their sub-directories.
Pages Directory
Pages mirror the URL structure. Components are not suffixed with Page.
Import Organization
Two blocks separated by a blank line: library imports first, then application imports. Use absolute paths with aliases (@/):
Stylesheets
Use Tailwind. Single app.css for most projects. Larger projects split into:
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingconfig/claude/skills/laravel-inertia-vuejs-structure/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/toddsmithsalter/dotfiles/laravel-inertia-vuejs-structure)