svelte-vitals

mcp
Guvenlik Denetimi
Uyari
Health Uyari
  • License — License: MIT
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 6 GitHub stars
Code Gecti
  • Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Gecti
  • Permissions — No dangerous permissions requested

Bu listing icin henuz AI raporu yok.

SUMMARY

A static code-health checker for SvelteKit — SEO, Performance, Correctness, Security, and Architecture, from source. Not a runtime Web Vitals reporter.

README.md

svelte-vitals

CI npm download MIT

A static code-health checker for SvelteKit — SEO, Performance, Correctness, Security, and Architecture, from source. No browser or headless Chrome required. (Not a runtime Web Vitals reporter, despite the name.)

npx svelte-vitals@latest

svelte-vitals running against a SvelteKit project, showing the Health score animate in and settle at a final score

📖 Documentation

[!WARNING]
Pre-1.0 — not recommended for production use yet. Development is moving fast and aggressively, driven at the maintainer's discretion until 1.0: APIs, rule IDs, scoring, and output formats can change at any time, including breaking changes between minor releases. Relying on it in critical pipelines is discouraged until 1.0.

Categories

Five categories — SEO, Performance, Correctness, Security, Architecture — each scored independently and rolled into a single weighted Health score. → Health Report

Features

  • Multiple reportersconsole, json, agent (a Markdown remediation document an AI agent can act on directly), sarif, github, md (a plain Markdown report), and html (a self-contained, shareable report). The agent reporter auto-selects inside AI-agent harnesses (e.g. Claude Code); github auto-selects under GitHub Actions. → Reporters
  • GitHub integration — zero-config inline PR annotations, plus SARIF upload for persistent code-scanning alerts in the Security tab; svelte-vitals ci install scaffolds a full GitHub Actions workflow around @svelte-vitals/action, with a job summary and a sticky PR comment. → Reporters, CI integration
  • Live dashboard — a searchable, filterable dashboard at /__svelte-vitals/ during vite dev, on by default: whole-project coverage from startup, refined to real rendered values as you browse, with a copy-to-clipboard AI-agent prompt on every finding. → Live dashboard
  • Plugin mode (@svelte-vitals/vite) — build-time analysis of the prerendered <head>; library-agnostic and exact. → Plugin mode
  • MCP server (@svelte-vitals/mcp) — analyze and explain_rule tools for an agent's tool loop. → MCP server
  • Agent Skills/svelte-vitals and /improve-svelte slash-command skills for Claude Code, Cursor, and Codex: rule knowledge up front, plus a project-wide, evidence-ranked improvement roadmap. → Agent Skills

Packages

Three packages you'll use directly — CLI, Vite plugin, MCP server — all built on the shared @svelte-vitals/core rule engine. → Choosing a package

Getting started

Getting started for installation, your first run, and exit codes for CI gating.

Contributing

See CONTRIBUTING.md for development setup, commands, and the release process.

License

MIT © Kazuma Oe

Yorumlar (0)

Sonuc bulunamadi