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

spec-cat

v0.1.16

Published

Spec-driven development workbench

Readme

Spec Cat

Spec Cat is a local development workbench designed to make spec-driven development safer, faster, and a bit more delightful.

It brings spec writing/editing, Git graph inspection, interactive AI coding, worktree isolation, and cascade automation into a single screen.

Project Overview

In large codebases, a "one-line prompt" might be fast, but it does not guarantee maintainable results.

Spec Cat is built to make this workflow a daily default:

spec -> plan -> tasks -> implement -> review

This workflow follows GitHub Spec-Kit conventions and tracks planning/implementation around documents in specs/. Spec Cat is not only convention-compatible: it is a wrapper/orchestration project around Spec-Kit workflows (/speckit.*), adding UI, conversation state, worktree safety, and review/finalize controls on top.

The core idea is simple.

  • Specs are the source of truth.
  • Changes are isolated by worktree.
  • AI helps quickly, but outcomes remain reviewable by humans.

Motivation

  • Direct code changes from prompts alone can quickly make projects chaotic.
  • The more repetitive spec pipeline work is automated, the smaller team quality variance becomes.
  • Even when AI makes mistakes, teams should be able to recover safely through a worktree/preview/finalize flow.

Features

Below are the major features in the current repository (implemented + some in progress).

1) Four-column development workbench UI

  • Use Git / Features / Conversations / Chat panels on a single screen
  • Prioritizes context continuity over route switching

2) Git graph + Git tooling

  • Git operation APIs and UI for branches, commits, tags, stashes, and more
  • Commit graph visualization with detailed diff inspection

3) Features panel + spec viewer

  • Automatic discovery of the specs/ directory
  • Status checks for spec.md, plan.md, and tasks.md from feature cards
  • Markdown viewing/editing for spec files in a modal

4) AI chat (provider abstraction)

  • Streaming responses, session resume, and permission modes (plan, ask, auto, bypass)
  • Provider Registry supports Claude and Codex selection
  • Incompatible provider/model combinations are safely normalized on the server

5) Worktree-isolated workflow

  • Worktree isolation per conversation
  • Preview (apply to main workspace) -> Finalize (clean up after review) flow
  • Stop/recovery paths when conflicts occur

6) Cascade / auto mode

  • Chained pipeline command execution by feature unit
  • Sequential/parallel processing of multiple spec units in auto mode
  • Results are reviewed in the same conversation/worktree flow

7) Spec search

  • Keeps specs/* as the source of truth
  • Keyword search + embedding-based semantic search (SQLite cache)

8) Conversation archive

  • Archive-first management instead of hard deletion
  • Preserve historical context for re-open/restart workflows

Tech Stack

  • Nuxt 3, Vue 3, TypeScript
  • Pinia, Tailwind CSS
  • Nitro server routes + Node.js child process/fs utilities
  • SQLite (better-sqlite3, sqlite-vec) for spec search caching

Provider Capability Policy

  • Codex can appear in provider metadata even when runtime support is unavailable.
  • If Codex is missing required capabilities (streaming, permissions, resume), selection is disabled in Settings with a clear reason.
  • Backend AI endpoints return actionable guard errors that include providerId and missingCapability.
  • If persisted provider/model settings are invalid, Claude is used as a safe default fallback.

Model API Tool Registration Policy

  • Tool schemas are request-scoped: each model API call includes the tool schema payload.
  • App startup loads only the internal tool registry (definitions + executors).
  • Provider adapters map that registry per provider format at request time.

Getting Started

1) Requirements

  • Node.js (LTS recommended)
  • pnpm
  • (Optional) AI CLI
    • For Claude: authenticated claude CLI
    • For Codex: codex CLI or CODEX_CLI_PATH configuration

2) Install

pnpm install

3) Run in development

pnpm dev

4) Run via npx (after npm publish)

npx spec-cat
npx spec-cat --port 4310 --host 0.0.0.0
npx spec-cat --project /path/to/your/project
SPEC_CAT_PROJECT_DIR=/path/to/your/project npx spec-cat

5) Key scripts

pnpm typecheck
pnpm test
pnpm test:coverage
pnpm build
pnpm preview

Settings Storage Path

Per-project settings are stored at:

~/.spec-cat/projects/{project-hash}/settings.json

Even when opening the same repository multiple times, settings remain isolated per project hash.

Directory Sketch

components/     UI components
stores/         Pinia state management
server/api/     Nitro API endpoints
server/utils/   provider/worktree/spec/git utilities
specs/          Feature spec docs (source of truth)
tests/          Vitest tests

Direction

Spec Cat aims to be more than an "AI codes for you" app. It is a workbench where structure does not collapse, even when AI and humans build together.