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

openspec-migration

v1.0.4

Published

Migrate any project to OpenSpec - auto-generates specs from existing codebases

Downloads

88

Readme

openspec-migration

Migrate any project to OpenSpec - auto-generates specs from existing codebases

Usage

# Current directory
npx openspec-migration

# Specific project path
npx openspec-migration ./my-project
npx openspec-migration /absolute/path/to/project

# Preview without making changes
npx openspec-migration --dry-run
npx openspec-migration ./my-project --dry-run

What it installs

| Tool | What it does | How | |---|---|---| | OpenSpec | Spec-driven development | openspec init --tools claude --profile core --force | | /migrate-to-openspec | Brownfield migration skill | Copied to .claude/skills/migrate-to-openspec/ |

Prerequisites

⚠️ This package does NOT install the tools below for you. It only wires them together in your project. Make sure all of the following are installed before running npx openspec-migration.

| Tool | Install instructions | |---|---| | OpenSpec | github.com/Fission-AI/OpenSpec | | Claude Code | npm install -g @anthropic-ai/claude-code | | Node.js | nodejs.org (v18+) |

Each tool has multiple installation options — pick whichever works best for your environment.

Platform support

Works on macOS, Windows, and Linux — it's a Node.js script, no bash required.

Requires Node.js 18+.

After running

This tool is designed to be run from within Claude Code. After running npx openspec-migration, follow these steps:

Step 1 — Initialize Claude Code (if not already done)

If you haven't already initialized Claude Code in this project, run:

/init

This creates CLAUDE.md — Claude Code's project-level memory file. If you're already working in Claude Code and have a CLAUDE.md file, skip this step.

Note: openspec-migration already creates .claude/skills/ so the installed skills will be found automatically. But without CLAUDE.md (generated by /init), Claude Code has no project context to work with.

Step 2 — Migrate your project

Run inside Claude Code:

/migrate-to-openspec

This scans the codebase using a multi-agent system with 4 parallel scout agents:

  1. Scout 1 — Project structure & tech stack analysis
  2. Scout 2 — Existing docs & CLAUDE.md audit (identifies redundant doc references)
  3. Scout 3 — Technical debt & active work (TODOs, FIXMEs, git signals)
  4. Scout 4 — Module boundaries & feature map

After all scouts return, the skill synthesizes results and auto-generates all OpenSpec files: config.yaml, architecture specs, feature specs, and active changes from TODOs/FIXMEs. It also optimizes CLAUDE.md by removing redundant doc references now covered by OpenSpec.

See openspec/MIGRATION_REPORT.md for a summary of what was created and what needs human review.

Local development / run without publishing

git clone <this-repo>
cd openspec-migration
npm install
node index.js ./target-project

Publish to npm (optional)

npm publish --access public
# Then anyone can run: npx openspec-migration