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

@harnspec/cli

v0.1.6

Published

Specification-driven development made simple

Readme

HarnSpec

[!IMPORTANT] This project is a fork of codervisor/lean-spec. Following the fork, the Commons Clause license condition was added to the original MIT license to ensure the project's sustainability while remaining open for community use.


Ship faster with higher quality. Lean specs that both humans and AI understand.

HarnSpec brings agile principles to SDD (Spec-Driven Development)—small, focused documents (<2,000 tokens) that keep you and your AI aligned.


Quick Start

# suggest :
# install and init any of your project
npm install -g harnspec && harnspec init -y

Manage your project:

harnspec board    # Kanban view
harnspec stats    # Project metrics
harnspec ui       # auto Web UI for multi project

Next: Your First Spec with AI (10 min tutorial)


Why HarnSpec?

High velocity + High quality. Other SDD frameworks add process overhead (multi-step workflows, rigid templates). Vibe coding is fast but chaotic (no shared understanding). HarnSpec hits the sweet spot:

  • Fast iteration - Living documents that grow with your code
  • AI performance - Small specs = better AI output (context rot is real)
  • Always current - Lightweight enough that you actually update them

📖 Compare with Spec Kit, OpenSpec, Kiro →


AI Integration

HarnSpec is designed to be used with any AI coding assistant (Claude Code, Cursor, Windsurf, GitHub Copilot, Aider, etc.) via the CLI + Agent Skills approach.

Teach your AI assistant the methodology using:

harnspec skill install

AI agents can then use harnspec CLI tools directly to manage your project board and specs.

📖 Full AI integration guide →


Agent Skills

Teach your AI assistant the Spec-Driven Development methodology:

# Recommended (init auto inject)
harnspec init -y

#Or
harnspec skill install

This installs the harnspec skill which teaches AI agents:

  • When to create specs vs. implement directly
  • How to discover existing specs before creating new ones
  • Best practices for context economy and progressive disclosure
  • Complete SDD workflow (Discover → Design → Implement → Validate)

Compatible with: Claude Code, Cursor, Windsurf, GitHub Copilot, and other Agent Skills compatible tools.

📖 View skill documentation →


Features

| Feature | Description | | ------------------- | ------------------------------------------------------------------------------------------------- | | 📊 Kanban Board | harnspec board - visual project tracking | | 🔍 Smart Search | harnspec search - find specs by content or metadata | | 🔗 Dependencies | Track spec relationships with depends_on and related | | 🎨 Web UI | harnspec ui - browser-based dashboard | | 📈 Project Stats | harnspec stats - health metrics and bottleneck detection | | 🤖 AI-Native | CLI-first with Agent Skills | | 🖥️ Desktop App | Desktop app repo: harnspec/harnspec-desktop |


Requirements

Runtime

  • Node.js: >= 24.0.0
  • pnpm: >= 10.0.0 (preferred package manager)

Development

  • Node.js: >= 24.0.0
  • Rust: >= 1.70 (for building CLI/HTTP binaries)
  • pnpm: >= 10.0.0

Quick Check:

node --version   # Should be v24.0.0 or higher
pnpm --version   # Should be 10.0.0 or higher
rustc --version  # Should be 1.70 or higher (dev only)

Desktop App

The desktop application has moved to a dedicated repository:

Use that repository for desktop development, CI, and release workflows.


Developer Workflow

Common development tasks using pnpm:

# Development
pnpm install             # Install dependencies
pnpm build               # Build all packages
pnpm dev                 # Start dev mode (UI + Core)
pnpm dev:web             # UI only
pnpm dev:cli             # CLI only

# Testing
pnpm test                # Run all tests
pnpm test:ui             # Tests with UI
pnpm test:coverage       # Coverage report
pnpm typecheck           # Type check all packages

# Rust
pnpm rust:build          # Build Rust packages (release)
pnpm rust:build:dev      # Build Rust (dev, faster)
pnpm rust:test           # Run Rust tests
pnpm rust:check          # Quick Rust check
pnpm rust:clippy         # Rust linting
pnpm rust:fmt            # Format Rust code

# CLI (run locally)
pnpm cli board           # Show spec board
pnpm cli list            # List specs
pnpm cli create my-feat  # Create new spec
pnpm cli validate        # Validate specs

# Documentation
pnpm docs:dev            # Start docs site
pnpm docs:build          # Build docs

# Release
pnpm pre-release         # Run all pre-release checks
pnpm prepare-publish     # Prepare for npm publish
pnpm restore-packages    # Restore after publish

See package.json for all available scripts.


Documentation

📖 Full Documentation · CLI Reference · First Principles · FAQ · 中文文档

Community

💬 Discussions · 🐛 Issues · 🤝 Contributing · 📋 Changelog · 📄 LICENSE