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

story-lens

v1.0.0

Published

Cursor skill: analyse screen images with vision and generate structured user stories (user_stories.json)

Downloads

148

Readme

Story Lens

npm version

A Cursor plugin skill that analyses a folder of screen images using vision and generates structured user_stories.json with flows, acceptance criteria, and frame metadata.

Works with any folder of images — Figma exports, screenshots, design handoffs, or app captures. No specific source required.

Install

npx story-lens install

Restart Cursor after installation.

Usage

In Cursor, ask the agent to:

  • "Analyse my screens and generate user stories"
  • "Generate user stories from the images in ~/Projects/my-app/screens"
  • "What does this app do?" (with a folder path)

The skill will:

  1. Resolve and validate the images folder (.png, .jpg, .jpeg, .webp)
  2. Read each image via vision and extract screen type, user actions, and flow hints
  3. Group screens into logical flows
  4. Write user_stories.json to the same folder you provided

Optional manifest

If your folder contains frames_manifest.json, the skill uses it for frame names and ordering. Otherwise it lists image files alphabetically.

CLI

npx story-lens install      # Install or update
npx story-lens status       # Check installation
npx story-lens uninstall    # Remove from ~/.cursor/plugins/
npx story-lens help         # Show commands

Installed to: ~/.cursor/plugins/local/story-lens/

Output

The skill writes user_stories.json to your images folder:

{
  "images_folder": "/abs/path/to/images",
  "analysed_at": "2026-05-12T08:21:00Z",
  "total_frames_analysed": 13,
  "total_user_stories": 5,
  "analysis_method": "vision",
  "skipped_frames": [],
  "user_stories": []
}

Each user story includes feature, actor, goal, flows (with steps and frame metadata), and testable acceptance criteria derived from visible UI.

What's Included

| Skill | Triggers When | What It Does | |-------|---------------|--------------| | story-lens | "analyse screens", "generate user stories from images", "understand screens", "what does this app do" | Vision analysis of screen images → grouped flows → structured user stories JSON |

License

MIT