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

claude-autopilot

v1.0.0

Published

TDD-driven autonomous build system for Claude Code (/plan, /build, /verify, /fix)

Readme

claude-autopilot

TDD-driven autonomous build system for Claude Code. Adds /plan, /build, /verify, and /fix slash commands that turn Claude into a methodical, test-first developer.

What It Does

| Command | Mode | Description | |---------|------|-------------| | /plan | Interactive | Turn a vague idea into a precise, buildable spec | | /build | Autonomous | Execute the spec using strict RED-GREEN-REFACTOR TDD | | /verify | Read-only | Independent review of build output against spec | | /fix | Targeted | TDD fixes for /verify findings, auto-re-verifies |

Install

npx claude-autopilot init

This installs:

  • 4 slash commands to ~/.claude/commands/
  • 4 rule files to ~/.claude/rules/
  • 3 core hooks + 3 optional hooks to ~/.claude/hooks/autopilot/
  • Hook registrations in ~/.claude/settings.json

Options

npx claude-autopilot init          # Interactive (choose optional hooks)
npx claude-autopilot init --yes    # Install everything, no prompts
npx claude-autopilot init --core   # Core hooks only, skip optional

Hooks

Core (always installed)

| Hook | Event | Purpose | |------|-------|---------| | autopilot-approver.js | PreToolUse | Auto-approve Write/Edit/Bash in build/fix mode | | tdd-enforcer.js | PostToolUse | Warn (or block in /build) when editing without tests | | build-guard.js | Stop | Prevent stopping mid-build with pending tasks |

Optional

| Hook | Event | Purpose | |------|-------|---------| | lint-check.js | PostToolUse | Auto-lint on file write (ruff for Python, eslint/prettier for JS/TS) | | stop-guard.js | Stop | Block stopping with uncommitted git changes | | context-monitor.js | PostToolUse | Warn when context window is getting large |

Usage

# 1. Plan your feature
/plan

# 2. Build it (autonomous TDD)
/build

# 3. Verify the output
/verify

# 4. Fix any issues
/fix

The Build Loop

Each task follows strict TDD:

  1. RED — Write a failing test first
  2. GREEN — Write minimal implementation to pass
  3. REFACTOR — Clean up while green
  4. Commit, move to next task

Progress is tracked in .autopilot/progress.json so builds can be resumed across sessions.

Recall Integration (Optional)

If you have System-Recall configured as an MCP server, autopilot will automatically store specs, handoff states, and completion reports for cross-session continuity. Without Recall, everything still works — progress is tracked via .autopilot/ files.

Management

npx claude-autopilot status      # Check what's installed
npx claude-autopilot update      # Re-install latest (overwrites)
npx claude-autopilot uninstall   # Clean removal

How It Works

  • Commands are Claude Code slash commands (markdown prompts in ~/.claude/commands/)
  • Rules are always-loaded context files (markdown in ~/.claude/rules/)
  • Hooks are Node.js scripts triggered by Claude Code events (via ~/.claude/settings.json)

All hook entries in settings.json are tagged with _tag: "__claude-autopilot__" for safe install/uninstall without affecting your other hooks.

Requirements

  • Node.js >= 18
  • Claude Code CLI
  • Git (for /build branching and commits)
  • Optional: ruff (Python linting), eslint/prettier (JS/TS linting)

License

MIT