npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@ggsvelte/skill

v0.41.0

Published

The ggsvelte agent skill (SKILL.md + references): teaches coding agents the ggsvelte grammar of graphics — Svelte 5 child-component composition, PortableSpec JSON, and the validate/render feedback loop. Versioned in lock-step with @ggsvelte/spec, @ggsvelt

Readme

@ggsvelte/skill

The ggsvelte agent skill: SKILL.md plus deep-dive references/ that teach a coding agent the ggsvelte grammar of graphics — Svelte 5 child-component composition, PortableSpec JSON authoring, and the validate() / ggsvelte-render feedback loop.

This package is the one published home of the skill. It versions in lock-step with @ggsvelte/spec, @ggsvelte/core, @ggsvelte/svelte, and @ggsvelte/cli: a given version number describes the spec, the renderers, and this skill as of the same release. Pin it like any other dependency and let dependabot (or npm-check-updates) tell you when the bundled skill in your repo is stale.

Install

bun add -D @ggsvelte/skill
# or: npm install --save-dev @ggsvelte/skill

The package root is the skill directory: SKILL.md sits next to this README. Skill loaders key off the frontmatter (name: ggsvelte), not the directory name.

Use

Point your agent at the skill, or copy/symlink it into your agent's skills directory under the name ggsvelte:

# Claude Code
cp -R node_modules/@ggsvelte/skill .claude/skills/ggsvelte

# pi
cp -R node_modules/@ggsvelte/skill .pi/agent/skills/ggsvelte

# or reference it in place
node_modules/@ggsvelte/skill/SKILL.md

Re-run the copy on every version bump (a two-line postinstall or a sync script works); the dependabot PR is the signal that the skill changed.

The skill assumes the agent can also run @ggsvelte/cli (ggsvelte-render) for spec validation and headless SVG rendering — install it in every sandbox where an agent authors specs.

Contents

  • SKILL.md — trigger conditions, layer ontology, authoring workflow.
  • references/ — geoms and stats, scales and palettes, themes, interactions, composition surfaces, recipes.

Guarantees

The skill cannot quietly fall behind the library. CI enforces three layers:

  1. Content contracts (scripts/skill-content.test.ts, scripts/skill-package.test.ts) — inventory completeness for every geom, stat, position, theme, and color scheme; every complete JSON fence normalizes and validates; pack shape and lock-step version.
  2. Trigger / disclosure contracts (scripts/skill-trigger.test.ts) — frontmatter description quality (the loader's selection signal), balanced positive/negative trigger fixtures under evals/trigger-cases.json, relative-link integrity, and progressive disclosure of every references/ file from SKILL.md.
  3. Held-out NL→spec evals (tests/evals/, bun run evals) — model capability on PortableSpec authoring with deterministic graders. These do not load this skill today; agent-in-the-loop skill evals (with/without skill A/B, multi-trial trigger accuracy) are tracked as follow-up work.

evals/trigger-cases.json is not packed to npm (files is only SKILL.md + references/). It is the living seed for future skill-loaded agent evals.