project-structure

Document SvelteKit project structure and validate core files and configurations.

Updated Apr 9, 2025
One-click install
npx skills add https://github.com/f-elix/ironkit --skill project-structure-f-elix
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: project-structure
Source: https://github.com/f-elix/ironkit/tree/main/.cursor/skills/project-structure
Command: npx skills add https://github.com/f-elix/ironkit --skill project-structure-f-elix

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a clear, structured guide to understanding a SvelteKit project's layout, helping developers quickly orient themselves and accelerate onboarding during new project work.

Core Features & Use Cases

  • Project structure overview: explains the purpose of core folders and files (src, routes, lib) and how they interact.
  • Configuration & tooling: describes key config files (svelte.config.js, vite.config.ts, Tailwind) and how they affect builds, testing, and styling.
  • Use Case: when starting a new SvelteKit app, use this Skill to navigate the project scaffold and verify essential components are in place.

Quick Start

Inspect the project skeleton to identify the core files and configuration, then verify each directory exists and contains expected assets.

Frequently Asked Questions about project-structure

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

FAQPage Schema
What is the standard SvelteKit project structure for TypeScript and TailwindCSS?

The standard SvelteKit project structure organizes code into src/routes for pages, src/lib for shared components, and uses config files like svelte.config.js, vite.config.ts, and tailwind.config.ts to manage builds and styling.

How do I set up a SvelteKit project scaffold with the correct directory layout?

To set up a SvelteKit project scaffold, verify core directories like src, routes, and lib exist, and ensure essential files such as src/app.html, svelte.config.js, and vite.config.ts are present for proper builds.

What configuration files are required for a SvelteKit app using TailwindCSS?

Required configuration files for a SvelteKit app with TailwindCSS include svelte.config.js for framework settings, vite.config.ts for build tooling, and tailwind.config.ts for styling setup.

Can I use this SvelteKit structure guide for code reviews and onboarding?

Yes, you can use this SvelteKit structure guide to validate a project's layout during code reviews, check that essential configuration files are in place, and accelerate developer onboarding.

Does the standard SvelteKit layout include a testing setup?

Yes, the standard SvelteKit layout includes a testing setup configuration alongside core tooling files like vite.config.ts to ensure comprehensive build and validation coverage.

What's the best way to verify my SvelteKit app has all required core files?

The best way to verify your SvelteKit app is to inspect the project skeleton, checking that src/, routes/, lib, src/app.html, and configuration files like svelte.config.js exist and contain expected assets.