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

skill-weaver

v1.0.1

Published

Version-controlled AI skill dependency manager and agent bridge generator.

Readme

Skill Weaver

Skill Weaver is the consumer-side CLI for managing version-controlled AI skills. A project declares skill repositories in package.json; the weaver clones the requested refs into .skills_cache and writes agent bridge directories such as .windsurf/skills/ and .claude/skills/.

Install

npm install --save-dev skill-weaver

For local development in this package:

npm install
npm run build

Usage

Declare skill dependencies in your application package:

{
  "scripts": {
    "postinstall": "skill-weaver --windsurf"
  },
  "devDependencies": {
    "skill-weaver": "^1.0.0"
  },
  "dependencySkills": {
    "api-researcher": "github:org/api-researcher-skill#v1.0.0",
    "python-analyzer": "org:python-analyzer-skill:main",
    "local-draft": "file:../local-draft-skill"
  }
}

Supported skill source formats:

{
  "dependencySkills": {
    "tagged-skill": "github:owner/repo#v1.0.0",
    "branch-skill": "owner:repo:branch-name",
    "local-skill": "file:../path/to/skill"
  }
}

Local skills can also use local:../path, ../path, ./path, or an absolute path. The handler warns for local skills because they are not reproducible unless maintained in Git with proper version tags.

Supported targets:

skill-weaver
skill-weaver --windsurf
skill-weaver --claude
skill-weaver --windsurf --claude

Running skill-weaver with no target flags generates every supported bridge file.

Package Local Skills

Skill Weaver can also package existing local skill directories and publish them to GitHub with auto-incrementing versions:

skill-weaver --package /path/to/skill-directory

The package command will:

  • Analyze the skill directory structure
  • Auto-increment the version number
  • Create a skill.json manifest file
  • Initialize git repository if needed
  • Create GitHub repository (if not exists)
  • Commit changes with semantic version tag
  • Push to GitHub with tags

Expected Skill Layout:

my-skill/
  skill.md          # Required - skill description
  scripts/          # Optional - executable scripts
  docs/             # Optional - documentation
  package.json       # Optional - existing package info

The packager validates that skill.md exists and detects optional scripts/ and docs/ directories.

Each generated bridge contains:

.windsurf/skills/
  api-researcher/
    skill.md
    scripts/

The same layout is used for .claude/skills/.

Expected Skill Layout

Each skill repository must include both skill.md and README.md files. Optional scripts/ directories are referenced in the generated agent context with an absolute path after the skill is fetched.

api-researcher-skill/
  skill.md
  README.md
  scripts/

Development

Running Tests

The project includes a comprehensive test suite:

# Run all tests
npm test

# Run specific test file
npm test -- tests/basic.test.js

# Run tests with coverage
npm test -- --coverage

Project Structure

src/
├── skill-weaver.ts          # Main CLI entry point
└── utils/
    ├── logger.ts           # Centralized logging system
    ├── cli-parser.ts       # CLI argument parsing
    ├── git-operations.ts   # Git command utilities
    ├── github-operations.ts # GitHub CLI interactions
    ├── skill-packager.ts   # Skill packaging & publishing
    └── skill-sync.ts       # Skill synchronization logic

tests/
├── basic.test.js           # Core functionality tests
└── *.test.ts               # Additional test files

Architecture

The codebase follows a modular architecture with:

  • Separation of Concerns: Each utility module handles a specific responsibility
  • Professional Logging: Configurable logging levels (DEBUG, INFO, WARN, ERROR, SUCCESS, STEP)
  • Enhanced Error Handling: Detailed error messages with proper context
  • Type Safety: Full TypeScript support with proper type definitions
  • Testable Design: Modular structure enables comprehensive unit testing

Build & Development

# Install dependencies
npm install

# Build the project
npm run build

# Run tests
npm test

# Run with coverage
npm test -- --coverage

# Development mode with watch
npm run dev

Logging Configuration

The logging system supports multiple levels and can be configured via environment variables:

# Set log level (default: INFO)
LOG_LEVEL=DEBUG skill-weaver

# Available levels: DEBUG, INFO, WARN, ERROR, SUCCESS, STEP