Skip to content
TrustedSkillsbeta
Back to all skills

Sveltekit Best Practices

Listed
ofershap·vlatest·frontend·MIT

Helps with SvelteKit, best practices as part of building frontend UIs and user experiences workflows.

Install on your platform

Showing Claude Code. One command installs this skill into any of the agents below.

  1. 1

    Run this in your project

    terminal
    $ npx skills add ofershap/sveltekit-best-practices --skill sveltekit-best-practices -a claude-code
  2. Uses the open-source skills CLI and needs Node.js. Add -g to install it for your user instead of this project.

What we know about this skill

Publisher

ofershap

Taken from the source listing. We haven't verified who controls this account.

Install target

Live repository

Not pinned. Installing fetches whatever the repository holds at the time you run the command.

No human has reviewed this code. The checks below are a static scan of the files at one commit — nobody has run this skill or judged whether it works. A skill runs with whatever access you give your agent, so read the source before you install it.

Automated safety checks

scanned

This skill failed 1 of 6 checks. A failure is not proof of bad intent; it means something in the code needs a human to look at it before you run it.

  • Declares what it does: failed

    SKILL.md frontmatter is missing description.

    SKILL.md exists, its frontmatter parses, and it declares a name and a description.

  • No undeclared network calls: passed

    Makes no network calls.

    Every host the skill dials — from its scripts, its config endpoints or the commands it tells the agent to run — is either well-known package and API infrastructure or declared in its own frontmatter. Links in documentation are not counted.

  • No obfuscated payloads: passed

    No encoded or obfuscated payloads.

    No base64, hex or compressed blob is decoded and then executed, and no encoded shell commands.

  • No credential access: passed

    Reads no keys, tokens, keychains or credential files.

    Neither the code nor the SKILL.md instructions read SSH keys, cloud credentials, keychains, token stores, browser cookie databases or dotfiles that hold secrets.

  • No pipe-to-shell installers: passed

    No pipe-to-shell or download-and-run installers.

    No `curl … | sh` pattern, in the code or in the instructions, that runs code fetched at run time.

  • Pinned to a commit: passed

    Scanned ofershap/sveltekit-best-practices at 080c0a9cdd.

    The exact upstream commit SHA that was scanned is recorded, so the result refers to specific bytes.

Scanned
1 file, 286 lines
This is a static scan, not a review. It reads the skill's files; it does not run them, and it cannot tell you whether the skill is any good or whether the code does what its description says. A skill runs with whatever access you give your agent.
What each check looks for →

About this skill

What it does

This skill provides guidance and recommendations for developing SvelteKit applications. It offers best practices to ensure code quality, performance optimization, and maintainability within a SvelteKit project. The skill aims to help developers leverage the framework's capabilities effectively and avoid common pitfalls.

When to use it

  • You are starting a new SvelteKit project and want to establish a solid foundation from the beginning.
  • You’re experiencing performance issues in an existing SvelteKit application and need optimization suggestions.
  • You want to refactor or improve the structure of your current SvelteKit codebase for better maintainability.
  • You're unsure about how to implement specific features within a SvelteKit environment (e.g., data fetching, routing).

Key capabilities

  • Provides guidance on project setup and configuration.
  • Offers recommendations for structuring routes and layouts.
  • Suggests best practices for data loading and server-side rendering.
  • Covers techniques for optimizing performance in SvelteKit applications.

Example prompts

  • "What's the recommended way to handle environment variables in a SvelteKit project?"
  • "How can I optimize image loading performance in my SvelteKit application?"
  • "Suggest best practices for structuring API routes within a SvelteKit project."

Tips & gotchas

This skill assumes you have a basic understanding of JavaScript, TypeScript, and the Svelte framework. While it provides guidance on best practices, it doesn't cover every possible scenario or advanced configuration options.