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

@ubuligan/code-to-lesson

v1.0.0

Published

Analyzes a code project end-to-end and writes a deep-dive engineering tutorial to code_tutorial.md — architecture, folder structure, design patterns (Refactor Guru), React patterns (Patterns.dev), Bullet Proof React practices, dependency/version audit, an

Downloads

117

Readme

@ubuligan/code-to-lesson

A Claude Code skill that analyzes a code project end-to-end and writes a deep-dive engineering tutorial to code_tutorial.md — architecture, folder structure, design patterns, React patterns, production practices, dependency audit, and anti-pattern refactors.

Install

████  █████  ███   ███  █████ ███ █   █ ███ █████ █   █ 
█   █ █     █   █ █       █    █  █   █  █    █    █ █  
████  ████  █████ █       █    █  █   █  █    █     █   
█  █  █     █   █ █       █    █   █ █   █    █     █   
█   █ █████ █   █  ███    █   ███   █   ███   █     █   
npx @ubuligan/code-to-lesson

Then restart Claude Code so it picks up the new skill.

The installer links the skill into ~/.claude/skills/code-to-lesson (junction on Windows, symlink elsewhere; falls back to a copy if linking is denied).

Other commands:

npx @ubuligan/code-to-lesson --list        # show install status
npx @ubuligan/code-to-lesson --force       # overwrite existing install
npx @ubuligan/code-to-lesson --uninstall   # remove the skill

How to use

In Claude Code, run:

/code-to-lesson [path]

path is optional — pass a file or folder, or omit it to analyze the whole current project. Claude reads the code and writes a full tutorial to code_tutorial.md in the project root.

What it produces

A single code_tutorial.md covering, in order:

  1. Target & scope — language, framework, build tool, package manager, size.
  2. Architecture & stack — version table, status, upgrade path.
  3. Folder structure — current layout, problems, feature-based target, phased migration.
  4. Design patterns (Refactoring.guru) — Factory, Singleton, Adapter, Composite, Observer, Strategy, with before/after.
  5. React patterns (Patterns.dev) — hook pitfalls, useCallback/useMemo reality check, custom-hook architecture, state management.
  6. Production practices (Bullet Proof React) — type safety, error handling, performance, monitoring.
  7. Component walkthroughs — labeled code tours with "why each decision".
  8. Dependency health — outdated table, breaking changes, upgrade plan.
  9. Anti-patterns & refactors — God components, re-renders, prop drilling, plus a tailored checklist.
  10. Final summary & next steps.

Non-React/JS projects are handled too — the React-specific phase is skipped and language-appropriate equivalents are applied.

License

MIT © 2026 Javid Salimov