Skip to content
Back to skills

Forge Sveltekit Apps

ASecurity

Build SvelteKit apps with server load functions, form actions, runes and safe separation of server-only code

  • 7 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 30, 2026
ai-agentsjavascriptjavareact

Works with

  • cli

Security analysis

A100/100

Scanned November 30, 2026

npx -y skills add ansh44233/forge --skill forge-sveltekit-apps --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Forge Sveltekit Apps?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Forge Sveltekit Apps
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ansh44233-forge-sveltekit-apps/badge)](https://www.skillsdirectory.com/skills/ansh44233-forge-sveltekit-apps)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: forge-sveltekit-apps
description: Build SvelteKit apps with server load functions, form actions, runes and safe separation of server-only code
---

<!-- Generated from catalog/skills/sveltekit-apps/SKILL.md by scripts/build-plugin.ts. Edit the catalog, not this file. -->

# SvelteKit apps

Use in projects that depend on `@sveltejs/kit`. Check whether the project is on Svelte 5 (runes) or Svelte 4 (`$:` reactivity).

## Routing and data
- Server-only work (DB, secrets) in `+page.server.ts`, `+layout.server.ts` and `+server.ts`.
- Return only serializable, non-secret data from `load`; use `depends`/`invalidate` for refreshes.

## Mutations
- Form actions with server-side validation; return `fail(400, {...})` with field errors.
- `use:enhance` for progressive enhancement; the form still works without JavaScript.

## State
- Runes: `$state` for state, `$derived` for computed values, `$effect` only for side effects.
- Never import `$env/static/private` or `$lib/server` from client code.

## Verify
`npm run check` (svelte-check), `npm run build` and the test suite pass; one form submits correctly with JavaScript disabled.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.