Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/localrivet/gomcpnpx agentmods add rules/localrivet/gomcp/sveltekitWrote 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.
[](https://agentmods.dev/rules/localrivet/gomcp/sveltekit)<a href="https://agentmods.dev/rules/localrivet/gomcp/sveltekit"><img src="https://agentmods.dev/badge/rules/localrivet/gomcp/sveltekit/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/rules/localrivet/gomcp/sveltekit"><img src="https://agentmods.dev/badge/rules/localrivet/gomcp/sveltekit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.02651 | $0.02651 |
| Opus 5.5 | $0.01060 | $0.01060 |
| Sonnet 5.5 | $0.00530 | $0.00530 |
| Haiku 4.5 | $0.00265 | $0.00265 |
Grade A, and why
sveltekit 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 326 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SvelteKit with Go Backend and Adapter-Static
In this project, we use Tailwind CSS for utility-first styling and DaisyUI as a component library built on top of Tailwind CSS, providing a lightweight and customizable UI framework. The frontend is built with SvelteKit and paired with a Go backend using the Soul AST system, which generates API endpoints found in ./src/lib/api. The adapter-static package is used to generate static files, served by the Go backend alongside the dynamic API routes.
Go Backend Integration with Soul AST
The Go backend is powered by the Soul AST system, which generates API endpoints automatically. These endpoints are exposed via TypeScript clients in ./src/lib/api, including functions like RegisterPost, LoginPost, and others, as defined in endpoints.ts. The SvelteKit frontend is configured with adapter-static to produce static files, which the Go server delivers alongside the Soul-generated API.
Setup Instructions
-
Install dependencies using pnpm: Initialize your SvelteKit project and install required packages:
pnpm init pnpm create svelte@latest my-svelte-go-app cd my-svelte-go-app pnpm install pnpm add -D @sveltejs/adapter-static tailwindcss postcss autoprefixer daisyui -
Set up Tailwind CSS and DaisyUI:
- Generate Tailwind configuration:
pnpm dlx tailwindcss init -p - Update
tailwind.config.js:/** @type {import('tailwindcss').Config} */ export default { content: ['./src/**/*.{html,js,svelte,ts}'], theme: { extend: {}, }, plugins: [require('daisyui')], daisyui: { themes: ["light", "dark", "cupcake"], // Customize as needed }, }; - Create
src/app.css:@tailwind base; @tailwind components; @tailwind utilities; - Import it in
src/routes/+layout.svelte:<script> import '../app.css'; </script> <slot />
- Generate Tailwind configuration:
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.
- 1mo ago First seen · 326 lines · 2,651 tokens per session scan A db797ac6c615
sveltekit is a cursor rule published in the GitHub repository localrivet/gomcp (51 stars, last pushed 1y ago), licensed MIT. It adds 2,651 tokens to every session, about $0.0106 per session on Opus 5.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-30.
Other cursor rules, from other repositories
vue-typescript-patterns
A set of coding rules for Vue 3 projects using TypeScript, a language that adds type checking to JavaScript. It covers component structure, file locations, TypeScript usage, and Pinia, a library for shared application state.
svelte-5-vs-svelte-4-cursorrules-prompt-file
Cursor rules for comparing Svelte 5 and Svelte 4 development.
sveltekit-typescript-guide-cursorrules-prompt-file
Cursor rules for SvelteKit development with TypeScript integration.
svelte-mcp-tools
Instructions for using the Svelte MCP server tools for documentation lookup, code analysis, and validation.
frontend-rules
A frontend development rule that points to existing Vue pages and components as examples. It refers to chat, notebook, and button files in the project.
frontend
You are an expert in TypeScript, Node.js, Vite, Vue.js, Vue Router, Pinia, VueUse, Ant Design Vue, and UnoCSS, with a deep understanding of best practices and performance optimization techniques in these technologies.