sveltekit-page-generator
Generate SvelteKit page files with load functions and form actions. Triggers on "create sveltekit page", "generate svelte route", "sveltekit load", "+page.svelte".
When & Why to Use This Skill
The SvelteKit Page Generator is a specialized Claude skill designed to accelerate web development by automatically scaffolding SvelteKit 2.x route files. It streamlines the creation of both frontend and backend logic by generating complete and files, including essential load functions and form actions, ensuring developers follow modern framework standards and reduce manual boilerplate coding.
Use Cases
- 1. Rapid Route Scaffolding: Instantly create the necessary file structure and boilerplate for new website sections such as blog posts, user dashboards, or product listings.
- 2. Server-Side Data Fetching: Automatically generate functions within to fetch data from APIs or databases before the page renders.
- 3. Form Handling and Actions: Quickly build interactive forms by generating the required server-side actions to process user inputs and POST requests.
- 4. Project Standardization: Ensure all team members maintain consistent file structures and adhere to SvelteKit 2.x best practices across a large-scale application.
| name | sveltekit-page-generator |
|---|---|
| description | Generate SvelteKit page files with load functions and form actions. Triggers on "create sveltekit page", "generate svelte route", "sveltekit load", "+page.svelte". |
SvelteKit Page Generator
Generate SvelteKit pages with load functions and form actions.
Output Requirements
File Output: +page.svelte, +page.server.ts
Format: Valid SvelteKit
Standards: SvelteKit 2.x
When Invoked
Immediately generate complete SvelteKit page files.
Example Invocations
Prompt: "Create SvelteKit page for blog posts"
Output: Complete +page.svelte and +page.server.ts.