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

@specverse/assets

v1.16.0

Published

Pure content shipped with the SpecVerse ecosystem — prompts, example specs, learning materials. No JS code; no dependencies. Consumed at runtime by @specverse/engines (prompts) and at build time by @specverse/self (examples).

Readme

@specverse/assets

Pure content shipped with the SpecVerse ecosystem — no JS code, no dependencies, no logic. Just YAML prompts, example specs, and learning materials.

Why this is a separate package

Content (prompts, examples) is edited at a different cadence than engine code. Prompts get tuned weekly during evaluation cycles; engine internals stabilise on a slower cycle. Bundling content with @specverse/engines forced an engines-patch publish per prompt edit — heavy CI gate, slow iteration.

Splitting content into its own leaf package lets each cadence run at its own speed:

  • Content (this package) — daily / per-edit. Trivial CI: YAML parses, markdown well-formed.
  • Engines — weekly. Heavy CI: 1500+ tests, parity, bundle.
  • Self CLI — monthly. Heaviest CI: smoke gauntlet + 4-template e2e.

See docs/plans/2026-04-25-CONTENT-PACKAGE-REFACTOR.md for the design.

What's here

assets/
├── prompts/
│   └── core/standard/{default,v9}/
│       ├── analyse.prompt.yaml       Reverse-engineer a codebase → .specly
│       ├── create.prompt.yaml        NL requirements → minimal .specly
│       ├── materialise.prompt.yaml   .specly → production code
│       ├── realize.prompt.yaml       Generate deployment configs
│       ├── behavior.prompt.yaml      Pure TypeScript fn body for a behaviour step
│       └── app-demo.prompt.yaml      Interactive spec creation for the runtime interpreter
├── examples-decomposed/              Manifest + deployment example specs (Docker, K8s, cloud-native)
├── examples-inference/               Inference engine demo specs
└── examples/                         Top-level README + LEARNING-METADATA for the example collection

Who reads it

  • @specverse/enginesprompt-loader.ts + behavior-ai-service.ts resolve prompts via require.resolve('@specverse/assets/package.json') at runtime
  • @specverse/selfscripts/compose-examples.mjs resolves examples-decomposed + examples-inference at build time (composes them into self/examples/)
  • Generated MCP server (output of spv realize) — emits a prompts.ts that resolves prompts via @specverse/assets at runtime
  • specverse-demo-self/harness — eval harness reads prompts via @specverse/assets

Editing prompts

# 1. Edit a prompt YAML
vim assets/prompts/core/standard/default/analyse.prompt.yaml

# 2. Bump version (if appropriate; minor bumps for behaviour changes, patch for typos)
vim assets/package.json   # version: "1.0.0" → "1.1.0"

# 3. Local validation (no CI yet)
node -e "for (const f of require('glob').sync('assets/**/*.yaml')) require('js-yaml').load(require('fs').readFileSync(f))"

# 4. Publish — leaf publish, no dep order to worry about
cd assets && npm publish --otp=XXXXXX

# 5. Consumers pick up via ^1.0.0 on next install

Editing examples

Same flow as prompts. Examples are read by self's build pipeline + composed into the docs.

What this package will NEVER contain

  • JavaScript / TypeScript source. This is pure data.
  • Runtime dependencies (dependencies: {} permanently). Adding deps would re-introduce the publish-cadence coupling we're escaping.
  • Engine logic. If something needs code, it goes in the appropriate engine workspace.

If the line gets blurry — e.g. someone wants to add a "prompt validator script" — extract to a separate package or put it in the consumer's repo. Keep this leaf clean.