j13z-svelte-essentials Svelte Themes

J13z Svelte Essentials

Svelte / SvelteKit agent skills, defaults, coding guidelines and patterns

j13z-svelte-essentials

A collection of code snippets, patterns, agent instructions, and workflows I use to bootstrap Svelte / SvelteKit projects (work in progress).

Highlights

🧠 Agent Skills

Three pre-built agent skills are available in agent-skills/dist/:

  • svelte-authoring: Implementation-focused Svelte skill

    • A strong frontend engineer who gets the job done cleanly, follows the rules, and aims for maintainable code without constantly re-litigating the architecture.
  • svelte-review: Architecture- and diagnosis-focused Svelte skill

    • A skeptical, experienced engineer who challenges the status quo, takes positions, and pushes for structural changes or rewrites when the current solution is no longer a good foundation.
    • Can also be used to author code, best combined with stronger prompting such as: β€œmake sure this contributes to long-term code quality goals.”
  • shadcn-svelte: Understands concepts of shadcn-svelte

    • Knows the docs (progressive disclosure)
    • Complements svelte-authoring (both desirable for one task)

The outcome still depends heavily on the prompt, especially for svelte-review or svelte-authoring when deeper refactoring or rewrite pressure is needed.

The agents-tools directory contains a build script to build these agent skills based on the documents maintained in this repository.

πŸ› οΈ Component Blueprints / Templates

Inspired by Bits UI and shadcn-svelte, templates/ui-components/:

πŸ“š Catalog

A catalog of patterns, implementation rules, and review criteria for writing clean, maintainable Svelte 5 / SvelteKit code.

Purpose: Primarily used as source material for agent skills and instructions, with the goal of steering code generation toward code that is not only functional, but also more maintainable in the long run, introduces less tech debt, and requires less human cleanup.

Written to remain directly useful for humans as well.

The catalog is neither written entirely by hand nor generated by AI alone:

  • Process: Human input and judgment β†’ AI-assisted drafting and iteration β†’ human review and refinement β†’ test in agent workflows β†’ update policy / steering to improve the observed behavior / β€œmistakes” β†’ repeat.

Contents – ./docs/catalog:

πŸ€– Agent Instructions

Goal: Teach agents how to write well-structured, maintainable Svelte 5 code

Top categories

Loading Svelte Themes