svelte-conventions

svelte-conventions is a skill for Claude Code, Codex from Cypsy1714/cchad. It costs 22 tokens per session (222 once invoked), scanned A, original, MIT.

A set of coding guidelines for Svelte and SvelteKit, tools for building web interfaces and full web applications.

In plain words
What is it for?
It is for writing or reviewing Svelte and SvelteKit applications, including reactive components, server data loading, form actions, and scoped styles.
Why use it?
It helps keep components, data loading, server-only secrets, forms, styles, and cleanup consistent with these frameworks.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for writing or reviewing Svelte and SvelteKit applications, including reactive components, server data loading, form actions, and scoped styles.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cypsy1714/cchad/svelte-skill
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Cypsy1714/cchad --skill svelte-skill
Clone the repo
git clone --depth 1 https://github.com/Cypsy1714/cchad

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for svelte-conventions

README.md
[![agentmods](https://agentmods.dev/badge/skills/cypsy1714/cchad/svelte-skill.svg)](https://agentmods.dev/skills/cypsy1714/cchad/svelte-skill)
Your own site
<a href="https://agentmods.dev/skills/cypsy1714/cchad/svelte-skill"><img src="https://agentmods.dev/badge/skills/cypsy1714/cchad/svelte-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 222 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00022 $0.00222
Opus 5 $0.00011 $0.00111
Sonnet 5 $0.00004 $0.00044
Haiku 4.5 $0.00002 $0.00022

Measured 7d ago against content hash 1d1ac9a2314f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

svelte-conventions scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

src/cchad/data/skills/svelte-skill/SKILL.md · 24 lines

What it actually says

Svelte conventions

Components

  • Keep components small and let Svelte's reactivity do the work — assign to a variable to trigger updates rather than calling setters.
  • Derive values reactively ($: in Svelte 4, $derived in Svelte 5 runes) instead of duplicating state.
  • Lift shared state into stores (or runes) and subscribe with $store.

SvelteKit

  • Load data in +page.server.ts / +page.ts load functions, not in onMount.
  • Keep secrets in server files (+server.ts, $env/static/private); never import them into client code.
  • Use form actions for mutations so things work without JavaScript, then enhance.

Practical

  • Scope styles to the component by default; reach for :global sparingly.
  • Clean up subscriptions and timers in onDestroy.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 24 lines · 22 tokens per session scan A 1d1ac9a2314f

Subscribe to this mod's changes

svelte-conventions is a skill published in the GitHub repository Cypsy1714/cchad (1 stars, last pushed 2mo ago), licensed MIT. It adds 22 tokens to every session and 222 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

vue-expert

Use when working with .vue single-file components, nuxt.config.ts, vite.config.ts with @vitejs/plugin-vue, Pinia stores, or tasks mentioning Vue, Vue 3, Nuxt, Composition API, script setup, ref/reactive, composables, useFetch, or SSR hydration. Builds Vue 3.5+/Nuxt 4 features, designs composables and Pinia setup…

Aarvion-AI/stackwise-skills · 130 tokens

scroll-craft

Build premium scroll-driven landing pages for service, product, food, and drink brands. Plan the visitor journey, page grammar, emotional peak, and bespoke signature move. Create dimensional heroes with independent visual planes, restrained motion, and separate mobile composition. Use supplied photos and footage or…

nateherkai/scroll-craft · 177 tokens

create-site

Creates a new Power Pages code site (SPA) using React, Angular, Vue, or Astro. Guides through the full process from initial concept to deployed site: requirements discovery, scaffolding, component planning, design, implementation, validation, and deployment. Use when the user wants to create, build, or scaffold a new…

microsoft/power-platform-skills · 73 tokens

bun-nuxt

Use when running Nuxt 3 with Bun runtime, building Vue/Nuxt apps with Bun, or configuring Nuxt projects to use Bun for development and production.

secondsky/claude-skills · 38 tokens

bun-sveltekit

Use when building or running SvelteKit apps on Bun, including SSR, adapters, and Bun-specific APIs.

secondsky/claude-skills · 26 tokens

portable-text-serialization

Render and serialize Portable Text to React, Svelte, Vue, Astro, HTML, Markdown, and plain text. Use when implementing Portable Text rendering in any frontend framework, building custom serializers for non-standard block types, converting Portable Text to HTML strings server-side, converting Portable Text to Markdown…

sanity-io/agent-toolkit · 85 tokens