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

tdd-claude-code

v0.5.0

Published

TDD workflow for Claude Code - wraps GSD

Readme

TDD

Tests before code. Automatically.

npx tdd-claude-code

The Problem

You tell Claude to build something. It builds it. You test it manually. It's broken. You debug. Repeat.

That's backwards.

The Solution

TDD writes tests before code exists. Every feature has a spec. Every spec is executable. When the code works, you know — because the tests pass.

You describe → Tests are written → Code is implemented → Tests pass → Done

No manual testing. No "does this work?" No vibes.


Quick Start

npx tdd-claude-code        # Install

Then in Claude Code:

/tdd

That's it. One command. It knows what to do next.

Starting fresh? It asks what you're building. Have existing code? It finds untested files. Mid-project? It picks up where you left off.


Commands

| Command | What | |---------|------| | /tdd | Smart entry point. Knows what's next. | | /tdd:new-project | Start fresh. Discuss stack, scaffold. | | /tdd:init | Add TDD to existing code. | | /tdd:coverage | Find untested → write tests | | /tdd:quick | One-off task with tests | | /tdd:status | Pass/fail counts |


What Makes This Different

1. Tests First, Always

Other workflows: plan → build → "hope it works"

TDD: plan → write failing tests → build until tests pass

The tests are the spec. No ambiguity.

2. Smart Stack Selection

Don't pick tech in a vacuum. TDD asks what you're building, who uses it, what scale — then suggests the right stack.

Building: Internal dashboard
Scale: Small team
Data: Simple CRUD

→ Suggested: Next.js + SQLite + Vercel
→ Why: Fast to build, cheap to host, fits your needs

3. Parallel Agents

Up to 3 Claude instances working simultaneously. GitHub issues as task queue. Watch them go.

┌──────────────────────────────────────────────────────┐
│ Agents                                               │
│ [1] ● Working on #42: Auth flow                      │
│ [2] ● Working on #43: User CRUD                      │
│ [3] ○ Idle                                           │
└──────────────────────────────────────────────────────┘

4. GitHub Integration

Plans approved → issues created automatically. Tasks complete → issues closed. Full audit trail.

5. Live Preview

Docker container spins up. See your app as it's built. Not after.


Dashboard (Coming Soon)

┌─────────────────────────────────┬──────────────────────┐
│ Chat                            │ GitHub Issues        │
│                                 │ #42 Auth flow    WIP │
│ Building login endpoint...      │ #43 User CRUD        │
│ ✓ Created tests/auth.test.ts    │ #44 Dashboard        │
│ ✓ Tests failing (expected)      ├──────────────────────┤
│ Implementing...                 │ Agents (2/3)         │
│                                 │ [1] ● #42            │
│                                 │ [2] ● #43            │
│                                 │ [3] ○ Idle           │
├─────────────────────────────────┼──────────────────────┤
│ > add password reset flow       │ Tests: 23/23 ✓       │
└─────────────────────────────────┴──────────────────────┘

TUI dashboard. Multiple panes. Real-time updates.


Philosophy

Tests define behavior. Code makes tests pass.

  • Tests written BEFORE code
  • Tests are the spec, not an afterthought
  • If it's not tested, it doesn't exist
  • Human verification still happens — tests catch logic errors, you catch "not what I meant"

vs Other Approaches

| Approach | Process | Result | |----------|---------|--------| | Vibe coding | Build → hope | Works until it doesn't | | Manual TDD | Write tests yourself | Slow, easy to skip | | TDD Workflow | Tests auto-generated first | Fast, guaranteed coverage |


Install

npx tdd-claude-code

Options:

  • --global — Available everywhere
  • --local — This project only

License

MIT